/// <summary>
 /// Initializes a new instance of the ServiceResponseBase 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>
 public ServiceResponseBase(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?))
 {
     Id             = id;
     Name           = name;
     Description    = description;
     KvTags         = kvTags;
     Properties     = properties;
     OperationId    = operationId;
     State          = state;
     CreatedTime    = createdTime;
     UpdatedTime    = updatedTime;
     Error          = error;
     DeploymentType = deploymentType;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the AKSEndpointResponse 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="computeName">The name of the compute resource.</param>
 /// <param name="namespaceProperty">The Kubernetes namespace of the
 /// deployment.</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="swaggerUri">The Uri for sending swagger
 /// requests.</param>
 /// <param name="scoringUri">The Uri for sending scoring
 /// requests.</param>
 /// <param name="variants">All the variants that belongs to this
 /// endpoint.</param>
 public AKSEndpointResponse(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?), string computeName = default(string), string namespaceProperty = default(string), bool?appInsightsEnabled = default(bool?), bool?authEnabled = default(bool?), bool?aadAuthEnabled = default(bool?), string swaggerUri = default(string), string scoringUri = default(string), IList <AKSServiceResponse> variants = default(IList <AKSServiceResponse>))
     : base(id, name, description, kvTags, properties, operationId, state, createdTime, updatedTime, error, deploymentType)
 {
     ComputeName        = computeName;
     NamespaceProperty  = namespaceProperty;
     AppInsightsEnabled = appInsightsEnabled;
     AuthEnabled        = authEnabled;
     AadAuthEnabled     = aadAuthEnabled;
     SwaggerUri         = swaggerUri;
     ScoringUri         = scoringUri;
     Variants           = variants;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the AKSVariantResponse 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>
 public AKSVariantResponse(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?))
     : base(id, name, description, kvTags, properties, operationId, state, createdTime, updatedTime, error, deploymentType)
 {
     IsDefault         = isDefault;
     TrafficPercentile = trafficPercentile;
     Type = type;
     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();
 }
 /// <summary>
 /// Initializes a new instance of the AsyncOperationStatus class.
 /// </summary>
 /// <param name="id">The async operation id.</param>
 /// <param name="operationType">The async operation type.</param>
 /// <param name="state">The async operation state. Possible values
 /// include: 'NotStarted', 'Running', 'Cancelled', 'Succeeded',
 /// 'Failed', 'TimedOut'</param>
 /// <param name="createdTime">The async operation creation time
 /// (UTC).</param>
 /// <param name="endTime">The async operation end time (UTC)l</param>
 /// <param name="error">The error details.</param>
 /// <param name="resourceLocation">The resource created/updated by the
 /// async operation.</param>
 /// <param name="operationLog">The async operation log.</param>
 /// <param name="operationDetails">The async operation details.</param>
 /// <param name="parentRequestId">The request id that created this
 /// operation</param>
 public AsyncOperationStatus(string id = default(string), string operationType = default(string), AsyncOperationState?state = default(AsyncOperationState?), System.DateTime?createdTime = default(System.DateTime?), System.DateTime?endTime = default(System.DateTime?), ModelErrorResponse error = default(ModelErrorResponse), string resourceLocation = default(string), string operationLog = default(string), AsyncOperationDetails operationDetails = default(AsyncOperationDetails), string parentRequestId = default(string))
 {
     Id               = id;
     OperationType    = operationType;
     State            = state;
     CreatedTime      = createdTime;
     EndTime          = endTime;
     Error            = error;
     ResourceLocation = resourceLocation;
     OperationLog     = operationLog;
     OperationDetails = operationDetails;
     ParentRequestId  = parentRequestId;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BatchServiceResponse 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>
 public BatchServiceResponse(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?), IList <string> modelIds = default(IList <string>), string computeName = default(string), string environmentName = default(string), string environmentVersion = default(string), string scoringUri = default(string), bool?appInsightsEnabled = default(bool?), ModelDataCollection modelDataCollection = default(ModelDataCollection), string entryScript = default(string), string inputFormat = default(string), string outputAction = default(string), int?miniBatchSize = default(int?), double?errorThreshold = default(double?), int?nodeCount = default(int?), int?processCountPerNode = default(int?))
     : base(id, name, description, kvTags, properties, operationId, state, createdTime, updatedTime, error, deploymentType)
 {
     ModelIds            = modelIds;
     ComputeName         = computeName;
     EnvironmentName     = environmentName;
     EnvironmentVersion  = environmentVersion;
     ScoringUri          = scoringUri;
     AppInsightsEnabled  = appInsightsEnabled;
     ModelDataCollection = modelDataCollection;
     EntryScript         = entryScript;
     InputFormat         = inputFormat;
     OutputAction        = outputAction;
     MiniBatchSize       = miniBatchSize;
     ErrorThreshold      = errorThreshold;
     NodeCount           = nodeCount;
     ProcessCountPerNode = processCountPerNode;
     CustomInit();
 }
Exemplo n.º 7
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();
 }