예제 #1
0
 /// <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 EnvironmentImageRequest class.
 /// </summary>
 /// <param name="driverProgram">The name of the driver file.</param>
 /// <param name="assets">The list of assets.</param>
 /// <param name="modelIds">The list of model Ids.</param>
 /// <param name="environment">The details of the AZURE ML
 /// environment.</param>
 public EnvironmentImageRequest(string driverProgram = default(string), IList <EnvironmentImageAsset> assets = default(IList <EnvironmentImageAsset>), IList <string> modelIds = default(IList <string>), ModelEnvironmentDefinition environment = default(ModelEnvironmentDefinition))
 {
     DriverProgram = driverProgram;
     Assets        = assets;
     ModelIds      = modelIds;
     Environment   = environment;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ACIServiceResponse 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="containerResourceRequirements">The container resource
 /// requirements.</param>
 /// <param name="imageId">The Id of the Image.</param>
 /// <param name="imageDetails">The Image details.</param>
 /// <param name="scoringUri">The Uri for sending scoring
 /// requests.</param>
 /// <param name="location">The location of the service.</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="publicIp">The public IP address for the
 /// service.</param>
 /// <param name="publicFqdn">The public Fqdn for the service.</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>
 /// <param name="modelsProperty">The list of models.</param>
 public ACIServiceResponse(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?), ContainerResourceRequirements containerResourceRequirements = default(ContainerResourceRequirements), string imageId = default(string), DockerImageResponse imageDetails = default(DockerImageResponse), string scoringUri = default(string), string location = default(string), 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 publicIp = default(string), string publicFqdn = default(string), string swaggerUri = default(string), IDictionary <string, object> modelConfigMap = default(IDictionary <string, object>), ModelEnvironmentDefinition environment = default(ModelEnvironmentDefinition), IList <Model> modelsProperty = default(IList <Model>))
     : base(id, name, description, kvTags, properties, operationId, state, createdTime, updatedTime, error, deploymentType)
 {
     ContainerResourceRequirements = containerResourceRequirements;
     ImageId            = imageId;
     ImageDetails       = imageDetails;
     ScoringUri         = scoringUri;
     Location           = location;
     AuthEnabled        = authEnabled;
     SslEnabled         = sslEnabled;
     AppInsightsEnabled = appInsightsEnabled;
     DataCollection     = dataCollection;
     SslCertificate     = sslCertificate;
     SslKey             = sslKey;
     Cname          = cname;
     PublicIp       = publicIp;
     PublicFqdn     = publicFqdn;
     SwaggerUri     = swaggerUri;
     ModelConfigMap = modelConfigMap;
     Environment    = environment;
     ModelsProperty = modelsProperty;
     CustomInit();
 }