Microsoft.MachineLearningServices (stable:2024-10-01)

2025/03/11 • 10 updated methods

RegistryEnvironmentVersions_List (updated)
Description List versions.
Reference Link ¶

⚶ Changes

{
  "#id": "RegistryEnvironmentVersions_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "inferenceConfig": [
                  {
                    "@added_a7bcc1b1bc244e15998ebb65085520a2": {
                      "#name": "startupRoute",
                      "Description": "The route to check the startup of the application in the container.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "path",
                          "Description": "[Required] The path for the route.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "port",
                          "Description": "[Required] The port for the route.",
                          "Format": "int32",
                          "Required": true,
                          "Type": "integer"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
environmentName: string ,
api-version: string ,
$orderBy: string ,
$top: integer ,
$skip: string ,
listViewType: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RegistryEnvironmentVersions_Get (updated)
Description Get version.
Reference Link ¶

⚶ Changes

{
  "#id": "RegistryEnvironmentVersions_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_546e5bcec0cf4f48a104fc6708bd49f8": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
environmentName: string ,
version: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
RegistryEnvironmentVersions_CreateOrUpdate (updated)
Description Create or update version.
Reference Link ¶

⚶ Changes

{
  "#id": "RegistryEnvironmentVersions_CreateOrUpdate",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_e96319fdbd614f41bce71a4cecd7916d": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_99f5a4c4f4c64363aca44e031f683c1e": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_bd39df5d7690435698af8eedc8942423": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/environments/{environmentName}/versions/{version}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
environmentName: string ,
version: string ,
api-version: string ,
body:
{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-async-operation-timeout: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnvironmentVersions_List (updated)
Description List versions.
Reference Link ¶

⚶ Changes

{
  "#id": "EnvironmentVersions_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "inferenceConfig": [
                  {
                    "@added_afec768dfb284d1c8a2e9032b3773352": {
                      "#name": "startupRoute",
                      "Description": "The route to check the startup of the application in the container.",
                      "Required": false,
                      "Type": "object",
                      "$properties": [
                        {
                          "#name": "path",
                          "Description": "[Required] The path for the route.",
                          "Required": true,
                          "Type": "string"
                        },
                        {
                          "#name": "port",
                          "Description": "[Required] The port for the route.",
                          "Format": "int32",
                          "Required": true,
                          "Type": "integer"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
name: string ,
api-version: string ,
$orderBy: string ,
$top: integer ,
$skip: string ,
listViewType: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnvironmentVersions_Get (updated)
Description Get version.
Reference Link ¶

⚶ Changes

{
  "#id": "EnvironmentVersions_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_a65ead2f0ef34ac89da590d66e8404cc": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
name: string ,
version: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
EnvironmentVersions_CreateOrUpdate (updated)
Description Creates or updates an EnvironmentVersion.
Reference Link ¶

⚶ Changes

{
  "#id": "EnvironmentVersions_CreateOrUpdate",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_9057966760ce44e198c34ad47af726c5": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_57d6280620f2443d8313deeaf9fa2059": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "inferenceConfig": [
              {
                "@added_e4a3e951d5de4f7990caff52e5f9a153": {
                  "#name": "startupRoute",
                  "Description": "The route to check the startup of the application in the container.",
                  "Required": false,
                  "Type": "object",
                  "$properties": [
                    {
                      "#name": "path",
                      "Description": "[Required] The path for the route.",
                      "Required": true,
                      "Type": "string"
                    },
                    {
                      "#name": "port",
                      "Description": "[Required] The port for the route.",
                      "Format": "int32",
                      "Required": true,
                      "Type": "integer"
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
name: string ,
version: string ,
api-version: string ,
body:
{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}

⚐ Response (201)

{
properties:
{
autoRebuild: enum ,
build:
{
contextUri: string ,
dockerfilePath: string ,
}
,
condaFile: string ,
environmentType: enum ,
image: string ,
inferenceConfig:
{
livenessRoute:
{
path: string ,
port: integer ,
}
,
readinessRoute:
{
path: string ,
port: integer ,
}
,
startupRoute:
{
path: string ,
port: integer ,
}
,
scoringRoute:
{
path: string ,
port: integer ,
}
,
}
,
osType: enum ,
provisioningState: enum ,
stage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OnlineDeployments_List (updated)
Description List Inference Endpoint Deployments.
Reference Link ¶

⚶ Changes

{
  "#id": "OnlineDeployments_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "#name": "startupProbe",
                "Description": {
                  "new": "Startup probe verify whether an application within a container has started successfully.",
                  "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
                }
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
endpointName: string ,
api-version: string ,
$orderBy: string ,
$top: integer ,
$skip: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OnlineDeployments_Get (updated)
Description Get Inference Deployment Deployment.
Reference Link ¶

⚶ Changes

{
  "#id": "OnlineDeployments_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "startupProbe",
            "Description": {
              "new": "Startup probe verify whether an application within a container has started successfully.",
              "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
endpointName: string ,
deploymentName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OnlineDeployments_Update (updated)
Description Update Online Deployment (asynchronous).
Reference Link ¶

⚶ Changes

{
  "#id": "OnlineDeployments_Update",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "startupProbe",
            "Description": {
              "new": "Startup probe verify whether an application within a container has started successfully.",
              "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
endpointName: string ,
deploymentName: string ,
api-version: string ,
body:
{
sku:
{
capacity: integer ,
family: string ,
name: string ,
size: string ,
tier: enum ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (202)

{
x-ms-async-operation-timeout: string ,
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OnlineDeployments_CreateOrUpdate (updated)
Description Create or update Inference Endpoint Deployment (asynchronous).
Reference Link ¶

⚶ Changes

{
  "#id": "OnlineDeployments_CreateOrUpdate",
  "$parameters": {
    "body": {
      "$properties": {
        "properties": [
          {
            "#name": "startupProbe",
            "Description": {
              "new": "Startup probe verify whether an application within a container has started successfully.",
              "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "#name": "startupProbe",
            "Description": {
              "new": "Startup probe verify whether an application within a container has started successfully.",
              "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
            }
          }
        ]
      }
    },
    "201": {
      "$properties": {
        "properties": [
          {
            "#name": "startupProbe",
            "Description": {
              "new": "Startup probe verify whether an application within a container has started successfully.",
              "old": "This verifies whether the application within a container is started. Startup probes run before any other probe, and, unless it finishes successfully, disables other probes."
            }
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}
{
subscriptionId: string ,
resourceGroupName: string ,
workspaceName: string ,
endpointName: string ,
deploymentName: string ,
api-version: string ,
body:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}

⚐ Response (201)

{
$headers:
{
x-ms-async-operation-timeout: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
kind: string ,
properties:
{
appInsightsEnabled: boolean ,
dataCollector:
{
collections: object ,
requestLogging:
{
captureHeaders:
[
string ,
]
,
}
,
rollingRate: enum ,
}
,
egressPublicNetworkAccess: enum ,
endpointComputeType: enum ,
instanceType: string ,
livenessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
model: string ,
modelMountPath: string ,
provisioningState: enum ,
readinessProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
startupProbe:
{
failureThreshold: integer ,
initialDelay: string ,
period: string ,
successThreshold: integer ,
timeout: string ,
}
,
requestSettings:
{
maxConcurrentRequestsPerInstance: integer ,
maxQueueWait: string ,
requestTimeout: string ,
}
,
scaleSettings:
{
scaleType: enum ,
}
,
}
,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}