/// <summary> /// Initializes a new instance of the AKSServiceResponse class. /// </summary> /// <param name="id">The service Id.</param> /// <param name="name">The service name.</param> /// <param name="description">The service description.</param> /// <param name="kvTags">The service tag dictionary. Tags are /// mutable.</param> /// <param name="properties">The service property dictionary. /// Properties are immutable.</param> /// <param name="operationId">The ID of the latest asynchronous /// operation for this service.</param> /// <param name="state">The current state of the service. Possible /// values include: 'Transitioning', 'Healthy', 'Unhealthy', /// 'Failed'</param> /// <param name="createdTime">The time the service was created.</param> /// <param name="updatedTime">The time the service was updated.</param> /// <param name="error">The error details.</param> /// <param name="deploymentType">The deployment type for the service. /// Possible values include: 'GRPCRealtimeEndpoint', /// 'HttpRealtimeEndpoint', 'Batch'</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="imageDetails">The Docker Image details.</param> /// <param name="imageId">The Id of the Image.</param> /// <param name="modelsProperty">The list of models.</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="computeName">The name of the compute resource.</param> /// <param name="namespaceProperty">The Kubernetes namespace of the /// deployment.</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="appInsightsEnabled">Whether or not Application /// Insights is enabled.</param> /// <param name="autoScaler">The auto scaler properties.</param> /// <param name="scoringUri">The Uri for sending scoring /// requests.</param> /// <param name="deploymentStatus">The deployment status.</param> /// <param name="scoringTimeoutMs">The scoring timeout in /// milliseconds.</param> /// <param name="livenessProbeRequirements">The liveness probe /// requirements.</param> /// <param name="authEnabled">Whether or not authentication is /// enabled.</param> /// <param name="aadAuthEnabled">Whether or not AAD authentication is /// enabled.</param> /// <param name="swaggerUri">The Uri for sending swagger /// requests.</param> /// <param name="modelConfigMap">Details on the models and /// configurations.</param> /// <param name="environment">Details on the Environment.</param> public AKSServiceResponse(string id = default(string), string name = default(string), string description = default(string), IDictionary <string, string> kvTags = default(IDictionary <string, string>), IDictionary <string, string> properties = default(IDictionary <string, string>), string operationId = default(string), WebServiceState?state = default(WebServiceState?), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?updatedTime = default(System.DateTime?), ModelErrorResponse error = default(ModelErrorResponse), DeploymentType?deploymentType = default(DeploymentType?), bool?isDefault = default(bool?), double?trafficPercentile = default(double?), VariantType?type = default(VariantType?), ImageResponseBase imageDetails = default(ImageResponseBase), string imageId = default(string), IList <Model> modelsProperty = default(IList <Model>), ContainerResourceRequirements containerResourceRequirements = default(ContainerResourceRequirements), int?maxConcurrentRequestsPerContainer = default(int?), int?maxQueueWaitMs = default(int?), string computeName = default(string), string namespaceProperty = default(string), int?numReplicas = default(int?), ModelDataCollection dataCollection = default(ModelDataCollection), bool?appInsightsEnabled = default(bool?), AutoScaler autoScaler = default(AutoScaler), string scoringUri = default(string), AKSReplicaStatus deploymentStatus = default(AKSReplicaStatus), int?scoringTimeoutMs = default(int?), LivenessProbeRequirements livenessProbeRequirements = default(LivenessProbeRequirements), bool?authEnabled = default(bool?), bool?aadAuthEnabled = default(bool?), string swaggerUri = default(string), IDictionary <string, object> modelConfigMap = default(IDictionary <string, object>), ModelEnvironmentDefinition environment = default(ModelEnvironmentDefinition)) : base(id, name, description, kvTags, properties, operationId, state, createdTime, updatedTime, error, deploymentType, isDefault, trafficPercentile, type) { ImageDetails = imageDetails; ImageId = imageId; ModelsProperty = modelsProperty; ContainerResourceRequirements = containerResourceRequirements; MaxConcurrentRequestsPerContainer = maxConcurrentRequestsPerContainer; MaxQueueWaitMs = maxQueueWaitMs; ComputeName = computeName; NamespaceProperty = namespaceProperty; NumReplicas = numReplicas; DataCollection = dataCollection; AppInsightsEnabled = appInsightsEnabled; AutoScaler = autoScaler; ScoringUri = scoringUri; DeploymentStatus = deploymentStatus; ScoringTimeoutMs = scoringTimeoutMs; LivenessProbeRequirements = livenessProbeRequirements; AuthEnabled = authEnabled; AadAuthEnabled = aadAuthEnabled; SwaggerUri = swaggerUri; ModelConfigMap = modelConfigMap; Environment = environment; CustomInit(); }
/// <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(); }