コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the CreateServiceRequest class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 public CreateServiceRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string))
 {
     Name                    = name;
     Description             = description;
     KvTags                  = kvTags;
     Properties              = properties;
     Keys                    = keys;
     DeploymentType          = deploymentType;
     ImageId                 = imageId;
     EnvironmentImageRequest = environmentImageRequest;
     Location                = location;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the CreateEndpointRequest class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 /// <param name="computeName">The name of the compute resource.</param>
 /// <param name="appInsightsEnabled">Whether or not Application
 /// Insights is enabled.</param>
 /// <param name="authEnabled">Whether or not authentication is
 /// enabled.</param>
 /// <param name="aadAuthEnabled">Whether or not AAD authentication is
 /// enabled.</param>
 /// <param name="namespaceProperty">Kubernetes namespace for the
 /// service.</param>
 /// <param name="variants">The service tag list.</param>
 public CreateEndpointRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string), string computeName = default(string), bool?appInsightsEnabled = default(bool?), bool?authEnabled = default(bool?), bool?aadAuthEnabled = default(bool?), string namespaceProperty = default(string), IList <AKSServiceCreateRequest> variants = default(IList <AKSServiceCreateRequest>))
     : base(name, description, kvTags, properties, keys, deploymentType, imageId, environmentImageRequest, location)
 {
     ComputeName        = computeName;
     AppInsightsEnabled = appInsightsEnabled;
     AuthEnabled        = authEnabled;
     AadAuthEnabled     = aadAuthEnabled;
     NamespaceProperty  = namespaceProperty;
     Variants           = variants;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the CreateIotServiceRequest class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 public CreateIotServiceRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string), string iotDeviceId = default(string), IDictionary <string, string> routes = default(IDictionary <string, string>), IList <IotModuleSettings> iotEdgeUserModule = default(IList <IotModuleSettings>), IotBaseModuleSettings iotEdgeModule = default(IotBaseModuleSettings), string computeName = default(string), IList <RegistryInfo> acrCredentials = default(IList <RegistryInfo>), bool?authEnabled = default(bool?))
     : base(name, description, kvTags, properties, keys, deploymentType, imageId, environmentImageRequest, location)
 {
     IotDeviceId       = iotDeviceId;
     Routes            = routes;
     IotEdgeUserModule = iotEdgeUserModule;
     IotEdgeModule     = iotEdgeModule;
     ComputeName       = computeName;
     AcrCredentials    = acrCredentials;
     AuthEnabled       = authEnabled;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the CreateEndpointVariantRequest
 /// class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 /// <param name="isDefault">Is this the default variant.</param>
 /// <param name="trafficPercentile">The amount of traffic variant
 /// receives.</param>
 /// <param name="type">The type of the variant. Possible values
 /// include: 'Control', 'Treatment'</param>
 public CreateEndpointVariantRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string), bool?isDefault = default(bool?), double?trafficPercentile = default(double?), VariantType?type = default(VariantType?))
     : base(name, description, kvTags, properties, keys, deploymentType, imageId, environmentImageRequest, location)
 {
     IsDefault         = isDefault;
     TrafficPercentile = trafficPercentile;
     Type = type;
     CustomInit();
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the AKSServiceCreateRequest class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 /// <param name="isDefault">Is this the default variant.</param>
 /// <param name="trafficPercentile">The amount of traffic variant
 /// receives.</param>
 /// <param name="type">The type of the variant. Possible values
 /// include: 'Control', 'Treatment'</param>
 /// <param name="numReplicas">The number of replicas on the
 /// cluster.</param>
 /// <param name="dataCollection">Details of the data collection options
 /// specified.</param>
 /// <param name="computeName">The name of the compute resource.</param>
 /// <param name="appInsightsEnabled">Whether or not Application
 /// Insights is enabled.</param>
 /// <param name="autoScaler">The auto scaler properties.</param>
 /// <param name="containerResourceRequirements">The container resource
 /// requirements.</param>
 /// <param name="maxConcurrentRequestsPerContainer">The maximum number
 /// of concurrent requests per container.</param>
 /// <param name="maxQueueWaitMs">Maximum time a request will wait in
 /// the queue (in milliseconds). After this time, the service will
 /// return 503 (Service Unavailable)</param>
 /// <param name="namespaceProperty">Kubernetes namespace for the
 /// service.</param>
 /// <param name="scoringTimeoutMs">The scoring timeout in
 /// milliseconds.</param>
 /// <param name="authEnabled">Whether or not authentication is
 /// enabled.</param>
 /// <param name="livenessProbeRequirements">The liveness probe
 /// requirements.</param>
 /// <param name="aadAuthEnabled">Whether or not AAD authentication is
 /// enabled.</param>
 public AKSServiceCreateRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string), bool?isDefault = default(bool?), double?trafficPercentile = default(double?), VariantType?type = default(VariantType?), int?numReplicas = default(int?), ModelDataCollection dataCollection = default(ModelDataCollection), string computeName = default(string), bool?appInsightsEnabled = default(bool?), AutoScaler autoScaler = default(AutoScaler), ContainerResourceRequirements containerResourceRequirements = default(ContainerResourceRequirements), int?maxConcurrentRequestsPerContainer = default(int?), int?maxQueueWaitMs = default(int?), string namespaceProperty = default(string), int?scoringTimeoutMs = default(int?), bool?authEnabled = default(bool?), LivenessProbeRequirements livenessProbeRequirements = default(LivenessProbeRequirements), bool?aadAuthEnabled = default(bool?))
     : base(name, description, kvTags, properties, keys, deploymentType, imageId, environmentImageRequest, location, isDefault, trafficPercentile, type)
 {
     NumReplicas                       = numReplicas;
     DataCollection                    = dataCollection;
     ComputeName                       = computeName;
     AppInsightsEnabled                = appInsightsEnabled;
     AutoScaler                        = autoScaler;
     ContainerResourceRequirements     = containerResourceRequirements;
     MaxConcurrentRequestsPerContainer = maxConcurrentRequestsPerContainer;
     MaxQueueWaitMs                    = maxQueueWaitMs;
     NamespaceProperty                 = namespaceProperty;
     ScoringTimeoutMs                  = scoringTimeoutMs;
     AuthEnabled                       = authEnabled;
     LivenessProbeRequirements         = livenessProbeRequirements;
     AadAuthEnabled                    = aadAuthEnabled;
     CustomInit();
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the ACIServiceCreateRequest class.
 /// </summary>
 /// <param name="name">The service name.</param>
 /// <param name="description">The description of the service.</param>
 /// <param name="kvTags">The service tag dictionary. Tags are
 /// mutable.</param>
 /// <param name="properties">The service properties dictionary.
 /// Properties are immutable.</param>
 /// <param name="keys">The authentication keys.</param>
 /// <param name="deploymentType">The deployment type for the service.
 /// Possible values include: 'GRPCRealtimeEndpoint',
 /// 'HttpRealtimeEndpoint', 'Batch'</param>
 /// <param name="imageId">The Image Id.</param>
 /// <param name="environmentImageRequest">The Environment, models and
 /// assets needed for inferencing.</param>
 /// <param name="location">The location of the service.</param>
 /// <param name="containerResourceRequirements">The container resource
 /// requirements.</param>
 /// <param name="authEnabled">Whether or not authentication is enabled
 /// on the service.</param>
 /// <param name="sslEnabled">Whether or not SSL is enabled.</param>
 /// <param name="appInsightsEnabled">Whether or not Application
 /// Insights is enabled.</param>
 /// <param name="dataCollection">Details of the data collection options
 /// specified.</param>
 /// <param name="sslCertificate">The SSL certificate to use if SSL is
 /// enabled.</param>
 /// <param name="sslKey">The SSL key for the certificate.</param>
 /// <param name="cname">The CName for the service.</param>
 /// <param name="dnsNameLabel">The Dns label for the service.</param>
 public ACIServiceCreateRequest(string name, string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), AuthKeys keys = default(AuthKeys), DeploymentType?deploymentType = default(DeploymentType?), string imageId = default(string), EnvironmentImageRequest environmentImageRequest = default(EnvironmentImageRequest), string location = default(string), ContainerResourceRequirements containerResourceRequirements = default(ContainerResourceRequirements), bool?authEnabled = default(bool?), bool?sslEnabled = default(bool?), bool?appInsightsEnabled = default(bool?), ModelDataCollection dataCollection = default(ModelDataCollection), string sslCertificate = default(string), string sslKey = default(string), string cname = default(string), string dnsNameLabel = default(string))
     : base(name, description, kvTags, properties, keys, deploymentType, imageId, environmentImageRequest, location)
 {
     ContainerResourceRequirements = containerResourceRequirements;
     AuthEnabled        = authEnabled;
     SslEnabled         = sslEnabled;
     AppInsightsEnabled = appInsightsEnabled;
     DataCollection     = dataCollection;
     SslCertificate     = sslCertificate;
     SslKey             = sslKey;
     Cname        = cname;
     DnsNameLabel = dnsNameLabel;
     CustomInit();
 }