Azure Machine Learning Workspaces
These APIs allow end users to operate on Azure Machine Learning Workspace resources
COMMUNITYBEARER0 INSTALLS
OpenAPI Specificationv3.0
{
"swagger": "2.0",
"schemes": [
"https"
],
"host": "management.azure.com",
"info": {
"description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.",
"title": "Azure Machine Learning Workspaces",
"version": "2019-06-01",
"x-apisguru-categories": [
"cloud"
],
"x-logo": {
"url": "https://api.apis.guru/v2/cache/logo/https_assets.onestore.ms_cdnfiles_onestorerolling-1606-01000_shell_v3_images_logo_microsoft.png"
},
"x-origin": [
{
"format": "swagger",
"url": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/machineLearningServices.json",
"version": "2.0"
}
],
"x-preferred": true,
"x-providerName": "azure.com",
"x-serviceName": "machinelearningservices-machineLearningServices",
"x-tags": [
"Azure",
"Microsoft"
]
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"securityDefinitions": {
"azure_auth": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"description": "Azure Active Directory OAuth2 Flow.",
"flow": "implicit",
"scopes": {
"user_impersonation": "impersonate your user account"
},
"type": "oauth2"
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"parameters": {
"APIVersionParameter": {
"description": "Version of Azure Machine Learning resource provider API.",
"in": "query",
"name": "api-version",
"required": true,
"type": "string"
},
"AsyncOperationIdParameter": {
"description": "Identifier of an asynchronous Azure Machine Learning compute operation.",
"in": "path",
"name": "asyncOperationId",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"ComputeDefinitionParameter": {
"description": "Payload with Machine Learning compute definition.",
"in": "body",
"name": "parameters",
"required": true,
"schema": {
"$ref": "#/definitions/ComputeResource"
},
"x-ms-parameter-location": "method"
},
"ComputeNameParameter": {
"description": "Name of the Azure Machine Learning compute.",
"in": "path",
"name": "computeName",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"ComputeTypeParameter": {
"description": "Type of compute to filter by.",
"in": "query",
"name": "compute-type",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"ExpandChildrenParameter": {
"description": "Specifies if detailed usages of child resources are required.",
"in": "query",
"name": "expandChildren",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"LocationParameter": {
"description": "The name of the Azure location/region.",
"in": "path",
"name": "location",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"PaginationParameter": {
"description": "Continuation token for pagination.",
"in": "query",
"name": "$skiptoken",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
"ResourceGroupNameParameter": {
"description": "Name of the resource group in which workspace is located.",
"in": "path",
"name": "resourceGroupName",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"SubscriptionIdParameter": {
"description": "Azure subscription identifier.",
"in": "path",
"name": "subscriptionId",
"required": true,
"type": "string"
},
"UnderlyingResourceActionParameter": {
"description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.",
"enum": [
"Delete",
"Detach"
],
"in": "query",
"name": "underlyingResourceAction",
"required": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "UnderlyingResourceAction"
},
"x-ms-parameter-location": "method"
},
"WorkspaceNameParameter": {
"description": "Name of Azure Machine Learning workspace.",
"in": "path",
"name": "workspaceName",
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
}
},
"paths": {
"/providers/Microsoft.MachineLearningServices/operations": {
"get": {
"description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.",
"operationId": "Operations_List",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/OperationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Operation"
],
"x-ms-pageable": {
"nextLinkName": null
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas": {
"get": {
"description": "Gets the currently assigned Workspace Quotas based on VMFamily.",
"operationId": "Quotas_List",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"description": "The location for which resource usage is queried.",
"in": "path",
"name": "location",
"pattern": "^[-\\w\\._]+$",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ListWorkspaceQuotas"
}
}
},
"tags": [
"Quota"
],
"x-ms-examples": {
"List workspace quotas by VMFamily": {
"parameters": {
"api-version": "2019-06-01",
"location": "eastus",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
"limit": 48,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
"limit": 12,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
"limit": 12,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quota",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 12,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 12,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
"value": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
"value": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
"value": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
"value": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs",
"value": "Standard FSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs",
"value": "Standard FSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs",
"value": "Standard FSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 12,
"name": {
"localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs",
"value": "Standard FSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
"value": "Standard NCv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
"value": "Standard NCv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
"value": "Standard NCv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
"value": "Standard NCv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
"value": "Standard NCv3 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
"value": "Standard NCv3 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
"value": "Standard NCv3 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
"value": "Standard NCv3 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
"value": "Standard ND Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
"value": "Standard ND Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
"value": "Standard ND Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
"value": "Standard ND Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs",
"value": "Standard NDv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs",
"value": "Standard NDv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs",
"value": "Standard NDv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs",
"value": "Standard NDv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
"value": "Standard NV Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
"value": "Standard NV Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
"value": "Standard NV Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
"value": "Standard NV Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": {
"post": {
"description": "Update quota for each VM family in workspace.",
"operationId": "Quotas_Update",
"parameters": [
{
"description": "The location for update quota is queried.",
"in": "path",
"name": "location",
"pattern": "^[-\\w\\._]+$",
"required": true,
"type": "string"
},
{
"description": "Quota update parameters.",
"in": "body",
"name": "parameters",
"required": true,
"schema": {
"$ref": "#/definitions/QuotaUpdateParameters"
}
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "The operation was successful.",
"schema": {
"$ref": "#/definitions/UpdateWorkspaceQuotasResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Quota"
],
"x-ms-examples": {
"update quotas": {
"parameters": {
"api-version": "2019-06-01",
"location": "eastus",
"parameters": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 100,
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 200,
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
}
]
},
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 100,
"status": "Success",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
},
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 200,
"status": "Success",
"type": "Microsoft.MachineLearningServices/workspaces/quotas",
"unit": "Count"
}
]
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": {
"get": {
"description": "Gets the current usage information as well as limits for AML resources for given subscription and location.",
"operationId": "Usages_List",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/ExpandChildrenParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"description": "The location for which resource usage is queried.",
"in": "path",
"name": "location",
"pattern": "^[-\\w\\._]+$",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/ListUsagesResult"
}
}
},
"tags": [
"Usage"
],
"x-ms-examples": {
"List Usages": {
"parameters": {
"api-version": "2019-06-01",
"location": "eastus",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"value": [
{
"currentValue": 7,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
"limit": 100,
"name": {
"localizedValue": "Clusters",
"value": "Clusters"
},
"type": "Microsoft.MachineLearningServices/totalCores/usages",
"unit": "Count"
},
{
"currentValue": 14,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
"limit": 24,
"name": {
"localizedValue": "Total Cluster Dedicated Regional vCPUs",
"value": "Total Cluster Dedicated Regional vCPUs"
},
"type": "Microsoft.MachineLearningServices/dedicatedCores/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs",
"limit": 48,
"name": {
"localizedValue": "Standard D Family Cluster Dedicated vCPUs",
"value": "Standard D Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 2,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 2,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/usages",
"unit": "Count"
},
{
"currentValue": 2,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster2_dsv2/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs",
"value": "Standard DSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs",
"value": "Standard Dv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs",
"value": "Standard FSv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 12,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/computes/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluser1_nc/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NC Family Cluster Dedicated vCPUs",
"value": "Standard NC Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs",
"value": "Standard NCv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs",
"value": "Standard NCv3 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard ND Family Cluster Dedicated vCPUs",
"value": "Standard ND Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs",
"limit": 0,
"name": {
"localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs",
"value": "Standard NDv2 Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs",
"limit": 24,
"name": {
"localizedValue": "Standard NV Family Cluster Dedicated vCPUs",
"value": "Standard NV Family Cluster Dedicated vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 18,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages",
"limit": 50,
"name": {
"localizedValue": "Total Cluster LowPriority Regional vCPUs",
"value": "Total Cluster LowPriority Regional vCPUs"
},
"type": "Microsoft.MachineLearningServices/lowPriorityCores/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard D Family Cluster LowPriority vCPUs",
"value": "Standard D Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs",
"value": "Standard DSv2 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs",
"value": "Standard Dv2 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs",
"value": "Standard FSv2 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 18,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/computes/demo_cluster1_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/computes/usages",
"unit": "Count"
},
{
"currentValue": 12,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster2_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/computes/usages",
"unit": "Count"
},
{
"currentValue": 6,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/computes/demo_cluster3_lowPriority_nc/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NC Family Cluster LowPriority vCPUs",
"value": "Standard NC Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/workspace/computes/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs",
"value": "Standard NCv2 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs",
"value": "Standard NCv3 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard ND Family Cluster LowPriority vCPUs",
"value": "Standard ND Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs",
"value": "Standard NDv2 Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
},
{
"currentValue": 0,
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs",
"limit": -1,
"name": {
"localizedValue": "Standard NV Family Cluster LowPriority vCPUs",
"value": "Standard NV Family Cluster LowPriority vCPUs"
},
"type": "Microsoft.MachineLearningServices/vmFamily/usages",
"unit": "Count"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": {
"get": {
"description": "Returns supported VM Sizes in a location",
"operationId": "VirtualMachineSizes_List",
"parameters": [
{
"description": "The location upon which virtual-machine-sizes is queried.",
"in": "path",
"name": "location",
"pattern": "^[-\\w\\._]+$",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VirtualMachineSizeListResult"
}
}
},
"tags": [
"VirtualMachineSizes"
],
"x-ms-examples": {
"List VM Sizes": {
"parameters": {
"api-version": "2019-06-01",
"location": "eastus",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
"responses": {
"200": {
"body": {
"amlCompute": [
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 16384,
"memoryGB": 4,
"name": "Standard_F2s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 2
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 32768,
"memoryGB": 8,
"name": "Standard_F4s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 4
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 65536,
"memoryGB": 16,
"name": "Standard_F8s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 8
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 131072,
"memoryGB": 32,
"name": "Standard_F16s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 16
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 262144,
"memoryGB": 64,
"name": "Standard_F32s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 32
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 524288,
"memoryGB": 128,
"name": "Standard_F64s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 64
},
{
"family": "standardFSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 589824,
"memoryGB": 144,
"name": "Standard_F72s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 72
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 51200,
"memoryGB": 3.5,
"name": "Standard_D1_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 1
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 102400,
"memoryGB": 7,
"name": "Standard_D2_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 2
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 204800,
"memoryGB": 14,
"name": "Standard_D3_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 4
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 409600,
"memoryGB": 28,
"name": "Standard_D4_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 8
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 102400,
"memoryGB": 14,
"name": "Standard_D11_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 2
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 204800,
"memoryGB": 28,
"name": "Standard_D12_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 4
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 409600,
"memoryGB": 56,
"name": "Standard_D13_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 8
},
{
"family": "standardDv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 819200,
"memoryGB": 112,
"name": "Standard_D14_v2",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 16
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 7168,
"memoryGB": 3.5,
"name": "Standard_DS1_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 1
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 14336,
"memoryGB": 7,
"name": "Standard_DS2_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 2
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 28672,
"memoryGB": 14,
"name": "Standard_DS3_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 4
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 57344,
"memoryGB": 28,
"name": "Standard_DS4_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 8
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 114688,
"memoryGB": 56,
"name": "Standard_DS5_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 16
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 28672,
"memoryGB": 14,
"name": "Standard_DS11_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 2
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 57344,
"memoryGB": 28,
"name": "Standard_DS12_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 4
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 114688,
"memoryGB": 56,
"name": "Standard_DS13_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 8
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 229376,
"memoryGB": 112,
"name": "Standard_DS14_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 16
},
{
"family": "standardDSv2Family",
"gpus": 0,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 286720,
"memoryGB": 140,
"name": "Standard_DS15_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 20
},
{
"family": "standardNCSv2Family",
"gpus": 1,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 344064,
"memoryGB": 112,
"name": "Standard_NC6s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 6
},
{
"family": "standardNCSv2Family",
"gpus": 2,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 688128,
"memoryGB": 224,
"name": "Standard_NC12s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 12
},
{
"family": "standardNCSv2Family",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_NC24rs_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
},
{
"family": "standardNCSv2Family",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_NC24s_v2",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
},
{
"family": "standardNCSv3Family",
"gpus": 1,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 344064,
"memoryGB": 112,
"name": "Standard_NC6s_v3",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 6
},
{
"family": "standardNCSv3Family",
"gpus": 2,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 688128,
"memoryGB": 224,
"name": "Standard_NC12s_v3",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 12
},
{
"family": "standardNCSv3Family",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_NC24rs_v3",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
},
{
"family": "standardNCSv3Family",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_NC24s_v3",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
},
{
"family": "standardNCFamily",
"gpus": 1,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 389120,
"memoryGB": 56,
"name": "Standard_NC6",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 6
},
{
"family": "standardNCFamily",
"gpus": 2,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 696320,
"memoryGB": 112,
"name": "Standard_NC12",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 12
},
{
"family": "standardNCFamily",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1474560,
"memoryGB": 224,
"name": "Standard_NC24",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 24
},
{
"family": "standardNCFamily",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1474560,
"memoryGB": 224,
"name": "Standard_NC24r",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 24
},
{
"family": "standardNVFamily",
"gpus": 1,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 389120,
"memoryGB": 56,
"name": "Standard_NV6",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 6
},
{
"family": "standardNVFamily",
"gpus": 2,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 696320,
"memoryGB": 112,
"name": "Standard_NV12",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 12
},
{
"family": "standardNVFamily",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1474560,
"memoryGB": 224,
"name": "Standard_NV24",
"osVhdSizeMB": 1047552,
"premiumIO": false,
"vCPUs": 24
},
{
"family": "standardNDSFamily",
"gpus": 1,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 344064,
"memoryGB": 112,
"name": "Standard_ND6s",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 6
},
{
"family": "standardNDSFamily",
"gpus": 2,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 688128,
"memoryGB": 224,
"name": "Standard_ND12s",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 12
},
{
"family": "standardNDSFamily",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_ND24rs",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
},
{
"family": "standardNDSFamily",
"gpus": 4,
"lowPriorityCapable": true,
"maxResourceVolumeMB": 1376256,
"memoryGB": 448,
"name": "Standard_ND24s",
"osVhdSizeMB": 1047552,
"premiumIO": true,
"vCPUs": 24
}
]
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": {
"get": {
"description": "Lists all the available machine learning workspaces under the specified subscription.",
"operationId": "Workspaces_ListBySubscription",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/PaginationParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/WorkspaceListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Get Workspaces by subscription": {
"parameters": {
"api-version": "2019-06-01",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"nextLink": "nextLink",
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": {
"get": {
"description": "Lists all the available machine learning workspaces under the specified resource group.",
"operationId": "Workspaces_ListByResourceGroup",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/PaginationParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/WorkspaceListResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Get Workspaces by Resource Group": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "workspace-1234",
"subscriptionId": "00000000-1111-2222-3333-444444444444"
},
"responses": {
"200": {
"body": {
"nextLink": "nextLink",
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
"location": "eastus2euap",
"name": "testworkspace1",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName 1",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": {
"delete": {
"description": "Deletes a machine learning workspace.",
"operationId": "Workspaces_Delete",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly."
},
"204": {
"description": "The machine learning workspace does not exist in the subscription."
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Delete Workspace": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "workspace-1234",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"workspaceName": "testworkspace"
},
"responses": {
"200": {},
"204": {}
}
}
}
},
"get": {
"description": "Gets the properties of the specified machine learning workspace.",
"operationId": "Workspaces_Get",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/Workspace"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Get Workspace": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "workspace-1234",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"workspaceName": "testworkspace"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
}
}
}
}
},
"patch": {
"description": "Updates a machine learning workspace with the specified parameters.",
"operationId": "Workspaces_Update",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"description": "The parameters for updating a machine learning workspace.",
"in": "body",
"name": "parameters",
"required": true,
"schema": {
"$ref": "#/definitions/WorkspaceUpdateParameters"
}
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/Workspace"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Update Workspace": {
"parameters": {
"api-version": "2019-06-01",
"parameters": {
"properties": {
"description": "new description",
"friendlyName": "New friendly name"
}
},
"resourceGroupName": "workspace-1234",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"workspaceName": "testworkspace"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "new description",
"discoveryUrl": "http://example.com",
"friendlyName": "New friendly name",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
}
}
}
}
},
"put": {
"description": "Creates or updates a workspace with the specified parameters.",
"operationId": "Workspaces_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"description": "The parameters for creating or updating a machine learning workspace.",
"in": "body",
"name": "parameters",
"required": true,
"schema": {
"$ref": "#/definitions/Workspace"
}
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/Workspace"
}
},
"201": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/Workspace"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Create Workspace": {
"parameters": {
"api-version": "2019-06-01",
"parameters": {
"location": "eastus2euap",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"description": "test description",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
}
},
"resourceGroupName": "workspace-1234",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"workspaceName": "testworkspace"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
"location": "eastus2euap",
"name": "testworkspace",
"properties": {
"applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
"containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
"creationTime": "2017-03-01T23:14:37.0707808Z",
"description": "test description",
"discoveryUrl": "http://example.com",
"friendlyName": "HelloName",
"keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
"storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
},
"type": "Microsoft.MachineLearningServices/workspaces"
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": {
"get": {
"description": "Gets computes in specified workspace.",
"operationId": "MachineLearningCompute_ListByWorkspace",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/PaginationParameter"
}
],
"responses": {
"200": {
"description": "The response includes a paginated array of Machine Learning computes and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/.",
"schema": {
"$ref": "#/definitions/PaginatedComputeResourcesList"
}
},
"default": {
"description": "Error response describing why the request failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"Get Computes": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"nextLink": "nextLink",
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"description": "some compute",
"provisioningState": "Succeeded",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
"location": "eastus",
"name": "compute1234",
"properties": {
"computeType": "AKS",
"description": "some compute",
"provisioningState": "Succeeded",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
]
}
}
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": {
"delete": {
"description": "Deletes specified Machine Learning compute.",
"operationId": "MachineLearningCompute_Delete",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/UnderlyingResourceActionParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly."
},
"202": {
"description": "Compute deletion initiated.",
"headers": {
"Azure-AsyncOperation": {
"description": "URI to poll for asynchronous operation status.",
"type": "string"
},
"Location": {
"description": "URI to poll for asynchronous operation result.",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the request failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"Delete Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"underlyingResourceAction": "Delete",
"workspaceName": "workspaces123"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
}
}
}
}
},
"x-ms-long-running-operation": true
},
"get": {
"description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
"operationId": "MachineLearningCompute_Get",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"responses": {
"200": {
"description": "Success.",
"schema": {
"$ref": "#/definitions/ComputeResource"
}
},
"default": {
"description": "Error response describing why the request failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"Get a AKS Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"description": "some compute",
"provisioningState": "Succeeded",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
}
}
},
"Get a AML Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus2",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"createdOn": "2017-09-26T22:28:08.327Z",
"description": "some compute",
"properties": {
"allocationState": "Resizing",
"allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
"currentNodeCount": 0,
"errors": null,
"nodeStateCounts": {
"idleNodeCount": 0,
"leavingNodeCount": 0,
"preemptedNodeCount": 0,
"preparingNodeCount": 0,
"runningNodeCount": 0,
"unusableNodeCount": 0
},
"remoteLoginPortPublicAccess": "Enabled",
"scaleSettings": {
"maxNodeCount": 1,
"minNodeCount": 0,
"nodeIdleTimeBeforeScaleDown": "PT5M"
},
"subnet": "test-subnet-resource-id",
"targetNodeCount": 1,
"vmPriority": "Dedicated",
"vmSize": "STANDARD_NC6"
},
"provisioningState": "Succeeded"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
}
}
}
}
},
"patch": {
"description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
"operationId": "MachineLearningCompute_Update",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"description": "Additional parameters for cluster update.",
"in": "body",
"name": "parameters",
"required": true,
"schema": {
"$ref": "#/definitions/ClusterUpdateParameters"
}
}
],
"responses": {
"200": {
"description": "Compute update initiated.",
"schema": {
"$ref": "#/definitions/ComputeResource"
}
},
"default": {
"description": "Error response describing why the request failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"Update a AmlCompute Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"properties": {
"scaleSettings": {
"maxNodeCount": 4,
"minNodeCount": 4,
"nodeIdleTimeBeforeScaleDown": "PT5M"
}
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus2",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"description": "some compute",
"provisioningState": "Updating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
},
"x-ms-long-running-operation": true
},
"put": {
"description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
"operationId": "MachineLearningCompute_CreateOrUpdate",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/ComputeDefinitionParameter"
}
],
"responses": {
"200": {
"description": "Compute creation or update initiated.",
"schema": {
"$ref": "#/definitions/ComputeResource"
}
},
"201": {
"description": "Compute creation or update initiated.",
"headers": {
"Azure-AsyncOperation": {
"description": "URI to poll for asynchronous operation status.",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/ComputeResource"
}
},
"default": {
"description": "Error response describing why the request failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"Create AKS Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AKS"
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
},
"201": {
"body": {
"id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
},
"Create a AML Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"properties": {
"remoteLoginPortPublicAccess": "NotSpecified",
"scaleSettings": {
"maxNodeCount": 1,
"minNodeCount": 0,
"nodeIdleTimeBeforeScaleDown": "PT5M"
},
"vmPriority": "Dedicated",
"vmSize": "STANDARD_NC6"
}
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
},
"Create a DataFactory Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "DataFactory"
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "DataFactory",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "DataFactory",
"provisioningState": "Creating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
},
"Update a AKS Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"id": "compute123",
"location": "eastus",
"properties": {
"computeType": "AKS",
"description": "some compute",
"properties": {
"agentCount": 4
},
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2"
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"description": "some compute",
"provisioningState": "Updating",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus",
"name": "compute123",
"properties": {
"computeType": "AKS",
"description": "some compute",
"provisioningState": "Updating",
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
},
"Update a AML Compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"parameters": {
"location": "eastus",
"properties": {
"computeType": "AmlCompute",
"properties": {
"computeType": "AmlCompute",
"description": "some compute",
"properties": {
"scaleSettings": {
"maxNodeCount": 4,
"minNodeCount": 4,
"nodeIdleTimeBeforeScaleDown": "PT5M"
}
}
}
}
},
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus2",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"description": "some compute",
"provisioningState": "Updating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
}
},
"201": {
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
"location": "eastus2",
"name": "compute123",
"properties": {
"computeType": "AmlCompute",
"description": "some compute",
"provisioningState": "Updating"
},
"type": "Microsoft.MachineLearningServices/workspaces/computes"
},
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
}
}
}
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": {
"post": {
"description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
"operationId": "MachineLearningCompute_ListKeys",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"responses": {
"200": {
"description": "Success.",
"schema": {
"$ref": "#/definitions/ComputeSecrets"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"OperationalizationClusters",
"MachineLearningComputes"
],
"x-ms-examples": {
"List AKS Compute Keys": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"adminKubeConfig": "admin kube config...",
"computeType": "AKS",
"imagePullSecretName": "the image pull secret name",
"userKubeConfig": "user kube config..."
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": {
"post": {
"description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.",
"operationId": "MachineLearningCompute_ListNodes",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"responses": {
"200": {
"description": "The operation was successful. The response contains the list of IP addresses.",
"schema": {
"$ref": "#/definitions/AmlComputeNodesInformation"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"MachineLearningComputes"
],
"x-ms-examples": {
"Get compute nodes information for a compute": {
"parameters": {
"api-version": "2019-06-01",
"computeName": "compute123",
"resourceGroupName": "testrg123",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"computeType": "AmlCompute",
"nextLink": "nextLink",
"nodes": [
{
"nodeId": "tvm-3601533753_1-20170719t162906z",
"nodeState": "running",
"port": 50000,
"privateIpAddress": "13.84.190.124",
"publicIpAddress": "13.84.190.134",
"runId": "2f378a44-38f2-443a-9f0d-9909d0b47890"
},
{
"nodeId": "tvm-3601533753_2-20170719t162906z",
"nodeState": "idle",
"port": 50001,
"privateIpAddress": "13.84.190.124",
"publicIpAddress": "13.84.190.134"
}
]
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": {
"post": {
"description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ListKeys",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly.",
"schema": {
"$ref": "#/definitions/ListWorkspaceKeysResult"
}
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"List Workspace Keys": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "testrg123",
"subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"workspaceName": "workspaces123"
},
"responses": {
"200": {
"body": {
"appInsightsInstrumentationKey": null,
"containerRegistryCredentials": {
"location": null,
"passwords": [
{
"name": "password",
"value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
},
{
"name": "password2",
"value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
}
],
"username": "testdemoworkjmjmeykp"
},
"userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
"userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr"
}
}
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": {
"post": {
"description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ResyncKeys",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
}
],
"responses": {
"200": {
"description": "The request was successful; the request was well-formed and received properly."
},
"default": {
"description": "Error response describing why the operation failed",
"schema": {
"$ref": "#/definitions/MachineLearningServiceError"
}
}
},
"tags": [
"Workspaces"
],
"x-ms-examples": {
"Resync Workspace Keys": {
"parameters": {
"api-version": "2019-06-01",
"resourceGroupName": "testrg123",
"subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"workspaceName": "workspaces123"
},
"responses": {
"200": {}
}
}
}
}
}
},
"definitions": {
"AKS": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"description": "AKS properties",
"properties": {
"agentCount": {
"description": "Number of agents",
"minimum": 1,
"type": "integer"
},
"agentVMSize": {
"description": "Agent virtual machine size",
"type": "string"
},
"aksNetworkingConfiguration": {
"$ref": "#/definitions/AksNetworkingConfiguration",
"description": "AKS networking configuration for vnet"
},
"clusterFqdn": {
"description": "Cluster full qualified domain name",
"type": "string"
},
"sslConfiguration": {
"$ref": "#/definitions/SslConfiguration",
"description": "SSL configuration"
},
"systemServices": {
"description": "System services",
"items": {
"$ref": "#/definitions/SystemService"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "A Machine Learning compute based on AKS.",
"x-ms-discriminator-value": "AKS"
},
"AksComputeSecrets": {
"allOf": [
{
"$ref": "#/definitions/ComputeSecrets"
},
{
"properties": {
"adminKubeConfig": {
"description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster.",
"type": "string"
},
"imagePullSecretName": {
"description": "Image registry pull secret.",
"type": "string"
},
"userKubeConfig": {
"description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster.",
"type": "string"
}
},
"type": "object"
}
],
"description": "Secrets related to a Machine Learning compute based on AKS.",
"x-ms-discriminator-value": "AKS"
},
"AksNetworkingConfiguration": {
"description": "Advance configuration for AKS networking",
"properties": {
"dnsServiceIP": {
"description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.",
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
"type": "string"
},
"dockerBridgeCidr": {
"description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.",
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
"type": "string"
},
"serviceCidr": {
"description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.",
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
"type": "string"
},
"subnetId": {
"description": "Virtual network subnet resource ID the compute nodes belong to",
"type": "string"
}
},
"type": "object"
},
"AmlCompute": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"description": "AML Compute properties",
"properties": {
"allocationState": {
"description": "Allocation state of the compute. Possible values are: steady - Indicates that the compute is not resizing. There are no changes to the number of compute nodes in the compute in progress. A compute enters this state when it is created and when no operations are being performed on the compute to change the number of compute nodes. resizing - Indicates that the compute is resizing; that is, compute nodes are being added to or removed from the compute.",
"enum": [
"Steady",
"Resizing"
],
"readOnly": true,
"title": "Allocation state.",
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "AllocationState"
}
},
"allocationStateTransitionTime": {
"description": "The time at which the compute entered its current allocation state.",
"format": "date-time",
"readOnly": true,
"title": "Allocation state transition time.",
"type": "string"
},
"currentNodeCount": {
"description": "The number of compute nodes currently assigned to the compute.",
"format": "int32",
"readOnly": true,
"title": "Current node count.",
"type": "integer"
},
"errors": {
"description": "Collection of errors encountered by various compute nodes during node setup.",
"items": {
"$ref": "#/definitions/MachineLearningServiceError"
},
"readOnly": true,
"title": "Errors.",
"type": "array"
},
"nodeStateCounts": {
"$ref": "#/definitions/NodeStateCounts",
"description": "Counts of various node states on the compute.",
"readOnly": true,
"title": "Node state counts."
},
"remoteLoginPortPublicAccess": {
"default": "NotSpecified",
"description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled.",
"enum": [
"Enabled",
"Disabled",
"NotSpecified"
],
"title": "Close remote Login Access Port",
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "remoteLoginPortPublicAccess"
}
},
"scaleSettings": {
"$ref": "#/definitions/ScaleSettings",
"description": "Scale settings for AML Compute"
},
"subnet": {
"$ref": "#/definitions/ResourceId",
"description": "Virtual network subnet resource ID the compute nodes belong to.",
"title": "Subnet."
},
"targetNodeCount": {
"description": "The target number of compute nodes for the compute. If the allocationState is resizing, this property denotes the target node count for the ongoing resize operation. If the allocationState is steady, this property denotes the target node count for the previous resize operation.",
"format": "int32",
"readOnly": true,
"title": "Target node count.",
"type": "integer"
},
"userAccountCredentials": {
"$ref": "#/definitions/UserAccountCredentials",
"description": "Credentials for an administrator user account that will be created on each compute node.",
"title": "User account credentials."
},
"vmPriority": {
"description": "Virtual Machine priority",
"enum": [
"Dedicated",
"LowPriority"
],
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "VmPriority"
}
},
"vmSize": {
"description": "Virtual Machine Size",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "An Azure Machine Learning compute.",
"x-ms-discriminator-value": "AmlCompute"
},
"AmlComputeNodeInformation": {
"description": "Compute node information related to a AmlCompute.",
"properties": {
"nodeId": {
"description": "ID of the compute node.",
"readOnly": true,
"title": "Node ID.",
"type": "string"
},
"nodeState": {
"description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.",
"enum": [
"idle",
"running",
"preparing",
"unusable",
"leaving",
"preempted"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "nodeState"
}
},
"port": {
"description": "SSH port number of the node.",
"format": "int32",
"readOnly": true,
"title": "Port.",
"type": "number"
},
"privateIpAddress": {
"description": "Private IP address of the compute node.",
"readOnly": true,
"title": "Private IP address.",
"type": "string"
},
"publicIpAddress": {
"description": "Public IP address of the compute node.",
"readOnly": true,
"title": "Public IP address.",
"type": "string"
},
"runId": {
"description": "ID of the Experiment running on the node, if any else null.",
"readOnly": true,
"title": "Run ID.",
"type": "string"
}
},
"x-ms-discriminator-value": "AmlCompute"
},
"AmlComputeNodesInformation": {
"allOf": [
{
"$ref": "#/definitions/ComputeNodesInformation"
},
{
"properties": {
"nodes": {
"description": "The collection of returned AmlCompute nodes details.",
"items": {
"$ref": "#/definitions/AmlComputeNodeInformation"
},
"readOnly": true,
"type": "array"
}
},
"type": "object"
}
],
"description": "Compute node information related to a AmlCompute.",
"x-ms-discriminator-value": "AmlCompute"
},
"ClusterUpdateParameters": {
"description": "AmlCompute update parameters.",
"properties": {
"properties": {
"$ref": "#/definitions/ClusterUpdateProperties",
"description": "The properties of the amlCompute.",
"x-ms-client-flatten": true
}
}
},
"ClusterUpdateProperties": {
"description": "The properties of a amlCompute that need to be updated.",
"properties": {
"scaleSettings": {
"$ref": "#/definitions/ScaleSettings",
"description": "Desired scale settings for the amlCompute.",
"title": "Scale settings."
}
}
},
"Compute": {
"description": "Machine Learning compute object.",
"discriminator": "computeType",
"properties": {
"computeLocation": {
"description": "Location for the underlying compute",
"type": "string"
},
"computeType": {
"$ref": "#/definitions/ComputeType",
"description": "The type of compute"
},
"createdOn": {
"description": "The date and time when the compute was created.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"description": {
"description": "The description of the Machine Learning compute.",
"type": "string"
},
"isAttachedCompute": {
"description": "Indicating whether the compute was provisioned by user and brought from outside if true, or machine learning service provisioned it if false.",
"readOnly": true,
"type": "boolean"
},
"modifiedOn": {
"description": "The date and time when the compute was last modified.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"provisioningErrors": {
"description": "Errors during provisioning",
"items": {
"$ref": "#/definitions/MachineLearningServiceError"
},
"readOnly": true,
"type": "array"
},
"provisioningState": {
"description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.",
"enum": [
"Unknown",
"Updating",
"Creating",
"Deleting",
"Succeeded",
"Failed",
"Canceled"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "ProvisioningState"
}
},
"resourceId": {
"description": "ARM resource id of the underlying compute",
"type": "string"
}
},
"required": [
"computeType"
],
"type": "object"
},
"ComputeNodesInformation": {
"description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.",
"discriminator": "computeType",
"properties": {
"computeType": {
"$ref": "#/definitions/ComputeType",
"description": "The type of compute"
},
"nextLink": {
"description": "The continuation token.",
"readOnly": true,
"type": "string"
}
},
"required": [
"computeType"
],
"type": "object"
},
"ComputeResource": {
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"$ref": "#/definitions/Compute",
"description": "Compute properties"
}
},
"type": "object"
}
],
"description": "Machine Learning compute object wrapped into ARM resource envelope.",
"type": "object"
},
"ComputeSecrets": {
"description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.",
"discriminator": "computeType",
"properties": {
"computeType": {
"$ref": "#/definitions/ComputeType",
"description": "The type of compute"
}
},
"required": [
"computeType"
],
"type": "object"
},
"ComputeType": {
"description": "The type of compute",
"enum": [
"AKS",
"AmlCompute",
"DataFactory",
"VirtualMachine",
"HDInsight",
"Databricks",
"DataLakeAnalytics"
],
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "ComputeType"
}
},
"DataFactory": {
"allOf": [
{
"$ref": "#/definitions/Compute"
}
],
"description": "A DataFactory compute.",
"x-ms-discriminator-value": "DataFactory"
},
"DataLakeAnalytics": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"properties": {
"dataLakeStoreAccountName": {
"description": "DataLake Store Account Name",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "A DataLakeAnalytics compute.",
"x-ms-discriminator-value": "DataLakeAnalytics"
},
"Databricks": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"properties": {
"databricksAccessToken": {
"description": "Databricks access token",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "A DataFactory compute.",
"x-ms-discriminator-value": "Databricks"
},
"DatabricksComputeSecrets": {
"allOf": [
{
"$ref": "#/definitions/ComputeSecrets"
},
{
"properties": {
"databricksAccessToken": {
"description": "access token for databricks account.",
"type": "string"
}
},
"type": "object"
}
],
"description": "Secrets related to a Machine Learning compute based on Databricks.",
"x-ms-discriminator-value": "Databricks"
},
"ErrorDetail": {
"description": "Error detail information.",
"properties": {
"code": {
"description": "Error code.",
"type": "string"
},
"message": {
"description": "Error message.",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"ErrorResponse": {
"description": "Error response information.",
"properties": {
"code": {
"description": "Error code.",
"readOnly": true,
"type": "string"
},
"details": {
"description": "An array of error detail objects.",
"items": {
"$ref": "#/definitions/ErrorDetail"
},
"readOnly": true,
"type": "array"
},
"message": {
"description": "Error message.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"HDInsight": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"properties": {
"address": {
"description": "Public IP address of the master node of the cluster.",
"type": "string"
},
"administratorAccount": {
"$ref": "#/definitions/VirtualMachineSshCredentials",
"description": "Admin credentials for master node of the cluster"
},
"sshPort": {
"description": "Port open for ssh connections on the master node of the cluster.",
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "A HDInsight compute.",
"x-ms-discriminator-value": "HDInsight"
},
"Identity": {
"description": "Identity for the resource.",
"properties": {
"principalId": {
"description": "The principal ID of resource identity.",
"readOnly": true,
"type": "string"
},
"tenantId": {
"description": "The tenant ID of resource.",
"readOnly": true,
"type": "string"
},
"type": {
"description": "The identity type.",
"enum": [
"SystemAssigned"
],
"type": "string",
"x-ms-enum": {
"modelAsString": false,
"name": "ResourceIdentityType"
}
}
}
},
"ListUsagesResult": {
"description": "The List Usages operation response.",
"properties": {
"nextLink": {
"description": "The URI to fetch the next page of AML resource usage information. Call ListNext() with this to fetch the next page of AML resource usage information.",
"readOnly": true,
"type": "string"
},
"value": {
"description": "The list of AML resource usages.",
"items": {
"$ref": "#/definitions/Usage"
},
"readOnly": true,
"type": "array"
}
}
},
"ListWorkspaceKeysResult": {
"properties": {
"appInsightsInstrumentationKey": {
"readOnly": true,
"type": "string"
},
"containerRegistryCredentials": {
"$ref": "#/definitions/RegistryListCredentialsResult",
"readOnly": true
},
"userStorageKey": {
"readOnly": true,
"type": "string"
},
"userStorageResourceId": {
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"ListWorkspaceQuotas": {
"description": "The List WorkspaceQuotasByVMFamily operation response.",
"properties": {
"nextLink": {
"description": "The URI to fetch the next page of workspace quota information by VM Family. Call ListNext() with this to fetch the next page of Workspace Quota information.",
"readOnly": true,
"type": "string"
},
"value": {
"description": "The list of Workspace Quotas by VM Family",
"items": {
"$ref": "#/definitions/ResourceQuota"
},
"readOnly": true,
"type": "array"
}
}
},
"MachineLearningServiceError": {
"description": "Wrapper for error response to follow ARM guidelines.",
"properties": {
"error": {
"$ref": "#/definitions/ErrorResponse",
"description": "The error response.",
"readOnly": true
}
},
"type": "object"
},
"NodeStateCounts": {
"description": "Counts of various compute node states on the amlCompute.",
"properties": {
"idleNodeCount": {
"description": "Number of compute nodes in idle state.",
"format": "int32",
"readOnly": true,
"title": "Idle node count.",
"type": "integer"
},
"leavingNodeCount": {
"description": "Number of compute nodes which are leaving the amlCompute.",
"format": "int32",
"readOnly": true,
"title": "Leaving node count.",
"type": "integer"
},
"preemptedNodeCount": {
"description": "Number of compute nodes which are in preempted state.",
"format": "int32",
"readOnly": true,
"title": "Preempted node count.",
"type": "integer"
},
"preparingNodeCount": {
"description": "Number of compute nodes which are being prepared.",
"format": "int32",
"readOnly": true,
"title": "Preparing node count.",
"type": "integer"
},
"runningNodeCount": {
"description": "Number of compute nodes which are running jobs.",
"format": "int32",
"readOnly": true,
"title": "Running node count.",
"type": "integer"
},
"unusableNodeCount": {
"description": "Number of compute nodes which are in unusable state.",
"format": "int32",
"readOnly": true,
"title": "Unusable node count.",
"type": "integer"
}
}
},
"Operation": {
"description": "Azure Machine Learning workspace REST API operation",
"properties": {
"display": {
"description": "Display name of operation",
"properties": {
"description": {
"description": "The description for the operation.",
"type": "string"
},
"operation": {
"description": "The operation that users can perform.",
"type": "string"
},
"provider": {
"description": "The resource provider name: Microsoft.MachineLearningExperimentation",
"type": "string"
},
"resource": {
"description": "The resource on which the operation is performed.",
"type": "string"
}
}
},
"name": {
"description": "Operation name: {provider}/{resource}/{operation}",
"type": "string"
}
},
"type": "object"
},
"OperationListResult": {
"description": "An array of operations supported by the resource provider.",
"properties": {
"value": {
"description": "List of AML workspace operations supported by the AML workspace resource provider.",
"items": {
"$ref": "#/definitions/Operation"
},
"type": "array"
}
}
},
"PaginatedComputeResourcesList": {
"description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.",
"properties": {
"nextLink": {
"description": "A continuation link (absolute URI) to the next page of results in the list.",
"type": "string"
},
"value": {
"description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.",
"items": {
"$ref": "#/definitions/ComputeResource"
},
"type": "array"
}
},
"type": "object"
},
"Password": {
"properties": {
"name": {
"readOnly": true,
"type": "string"
},
"value": {
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"QuotaBaseProperties": {
"description": "The properties for Quota update or retrieval.",
"properties": {
"id": {
"description": "Specifies the resource ID.",
"type": "string"
},
"limit": {
"description": "The maximum permitted quota of the resource.",
"format": "int64",
"title": "Limit.",
"type": "integer"
},
"type": {
"description": "Specifies the resource type.",
"type": "string"
},
"unit": {
"description": "An enum describing the unit of quota measurement.",
"enum": [
"Count"
],
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "QuotaUnit"
}
}
}
},
"QuotaUpdateParameters": {
"description": "Quota update parameters.",
"properties": {
"value": {
"description": "The list for update quota.",
"items": {
"$ref": "#/definitions/QuotaBaseProperties"
},
"type": "array"
}
}
},
"RegistryListCredentialsResult": {
"properties": {
"location": {
"readOnly": true,
"type": "string"
},
"passwords": {
"items": {
"$ref": "#/definitions/Password"
},
"type": "array"
},
"username": {
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Resource": {
"description": "Azure Resource Manager resource envelope.",
"properties": {
"id": {
"description": "Specifies the resource ID.",
"readOnly": true,
"type": "string"
},
"identity": {
"$ref": "#/definitions/Identity",
"description": "The identity of the resource.",
"readOnly": true
},
"location": {
"description": "Specifies the location of the resource.",
"type": "string"
},
"name": {
"description": "Specifies the name of the resource.",
"readOnly": true,
"type": "string"
},
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "Contains resource tags defined as key/value pairs.",
"type": "object"
},
"type": {
"description": "Specifies the type of the resource.",
"readOnly": true,
"type": "string"
}
},
"x-ms-azure-resource": true
},
"ResourceId": {
"description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.",
"properties": {
"id": {
"description": "The ID of the resource",
"type": "string"
}
},
"required": [
"id"
],
"x-ms-azure-resource": true
},
"ResourceName": {
"description": "The Resource Name.",
"properties": {
"localizedValue": {
"description": "The localized name of the resource.",
"readOnly": true,
"type": "string"
},
"value": {
"description": "The name of the resource.",
"readOnly": true,
"type": "string"
}
}
},
"ResourceQuota": {
"description": "The quota assigned to a resource.",
"properties": {
"id": {
"description": "Specifies the resource ID.",
"readOnly": true,
"type": "string"
},
"limit": {
"description": "The maximum permitted quota of the resource.",
"format": "int64",
"readOnly": true,
"title": "Limit.",
"type": "integer"
},
"name": {
"$ref": "#/definitions/ResourceName",
"description": "Name of the resource.",
"readOnly": true
},
"type": {
"description": "Specifies the resource type.",
"readOnly": true,
"type": "string"
},
"unit": {
"description": "An enum describing the unit of quota measurement.",
"enum": [
"Count"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "QuotaUnit"
}
}
}
},
"ScaleSettings": {
"description": "scale settings for AML Compute",
"properties": {
"maxNodeCount": {
"description": "Max number of nodes to use",
"type": "integer"
},
"minNodeCount": {
"default": 0,
"description": "Min number of nodes to use",
"type": "integer"
},
"nodeIdleTimeBeforeScaleDown": {
"description": "Node Idle Time before scaling down amlCompute",
"format": "duration",
"type": "string"
}
},
"required": [
"maxNodeCount"
],
"type": "object"
},
"ServicePrincipalCredentials": {
"description": "Service principal credentials.",
"properties": {
"clientId": {
"description": "Client Id",
"type": "string"
},
"clientSecret": {
"description": "Client secret",
"type": "string"
}
},
"required": [
"clientId",
"clientSecret"
],
"type": "object"
},
"SslConfiguration": {
"description": "The ssl configuration for scoring",
"properties": {
"cert": {
"description": "Cert data",
"type": "string"
},
"cname": {
"description": "CNAME of the cert",
"type": "string"
},
"key": {
"description": "Key data",
"type": "string"
},
"status": {
"description": "Enable or disable ssl for scoring",
"enum": [
"Disabled",
"Enabled"
],
"type": "string"
}
},
"type": "object"
},
"SystemService": {
"description": "A system service running on a compute.",
"properties": {
"publicIpAddress": {
"description": "Public IP address",
"readOnly": true,
"type": "string"
},
"systemServiceType": {
"description": "The type of this system service.",
"readOnly": true,
"type": "string"
},
"version": {
"description": "The version for this type.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"UpdateWorkspaceQuotas": {
"description": "The properties for update Quota response.",
"properties": {
"id": {
"description": "Specifies the resource ID.",
"readOnly": true,
"type": "string"
},
"limit": {
"description": "The maximum permitted quota of the resource.",
"format": "int64",
"title": "Limit.",
"type": "integer"
},
"status": {
"description": "Status of update workspace quota.",
"enum": [
"Undefined",
"Success",
"Failure",
"InvalidQuotaBelowClusterMinimum",
"InvalidQuotaExceedsSubscriptionLimit",
"InvalidVMFamilyName"
],
"readOnly": false,
"title": "Update Workspace Quota Status.",
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "status"
}
},
"type": {
"description": "Specifies the resource type.",
"readOnly": true,
"type": "string"
},
"unit": {
"description": "An enum describing the unit of quota measurement.",
"enum": [
"Count"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "QuotaUnit"
}
}
}
},
"UpdateWorkspaceQuotasResult": {
"description": "The result of update workspace quota.",
"properties": {
"nextLink": {
"description": "The URI to fetch the next page of workspace quota update result. Call ListNext() with this to fetch the next page of Workspace Quota update result.",
"readOnly": true,
"type": "string"
},
"value": {
"description": "The list of workspace quota update result.",
"items": {
"$ref": "#/definitions/UpdateWorkspaceQuotas"
},
"readOnly": true,
"type": "array"
}
}
},
"Usage": {
"description": "Describes AML Resource Usage.",
"properties": {
"currentValue": {
"description": "The current usage of the resource.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"id": {
"description": "Specifies the resource ID.",
"readOnly": true,
"type": "string"
},
"limit": {
"description": "The maximum permitted usage of the resource.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"name": {
"$ref": "#/definitions/UsageName",
"description": "The name of the type of usage.",
"readOnly": true
},
"type": {
"description": "Specifies the resource type.",
"readOnly": true,
"type": "string"
},
"unit": {
"description": "An enum describing the unit of usage measurement.",
"enum": [
"Count"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "UsageUnit"
}
}
},
"type": "object"
},
"UsageName": {
"description": "The Usage Names.",
"properties": {
"localizedValue": {
"description": "The localized name of the resource.",
"readOnly": true,
"type": "string"
},
"value": {
"description": "The name of the resource.",
"readOnly": true,
"type": "string"
}
}
},
"UserAccountCredentials": {
"description": "Settings for user account that gets created on each on the nodes of a compute.",
"properties": {
"adminUserName": {
"description": "Name of the administrator user account which can be used to SSH to nodes.",
"title": "User name.",
"type": "string"
},
"adminUserPassword": {
"description": "Password of the administrator user account.",
"title": "Password.",
"type": "string"
},
"adminUserSshPublicKey": {
"description": "SSH public key of the administrator user account.",
"title": "SSH public key.",
"type": "string"
}
},
"required": [
"adminUserName"
]
},
"VirtualMachine": {
"allOf": [
{
"$ref": "#/definitions/Compute"
},
{
"properties": {
"properties": {
"properties": {
"address": {
"description": "Public IP address of the virtual machine.",
"type": "string"
},
"administratorAccount": {
"$ref": "#/definitions/VirtualMachineSshCredentials",
"description": "Admin credentials for virtual machine"
},
"sshPort": {
"description": "Port open for ssh connections.",
"type": "integer"
},
"virtualMachineSize": {
"description": "Virtual Machine size",
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
],
"description": "A Machine Learning compute based on Azure Virtual Machines.",
"x-ms-discriminator-value": "VirtualMachine"
},
"VirtualMachineSecrets": {
"allOf": [
{
"$ref": "#/definitions/ComputeSecrets"
},
{
"properties": {
"administratorAccount": {
"$ref": "#/definitions/VirtualMachineSshCredentials",
"description": "Admin credentials for virtual machine."
}
},
"type": "object"
}
],
"description": "Secrets related to a Machine Learning compute based on AKS.",
"x-ms-discriminator-value": "VirtualMachine"
},
"VirtualMachineSize": {
"description": "Describes the properties of a VM size.",
"properties": {
"family": {
"description": "The family name of the virtual machine size.",
"readOnly": true,
"title": "Virtual Machine family name",
"type": "string"
},
"gpus": {
"description": "The number of gPUs supported by the virtual machine size.",
"format": "int32",
"readOnly": true,
"title": "Number of gPUs",
"type": "integer"
},
"lowPriorityCapable": {
"description": "Specifies if the virtual machine size supports low priority VMs.",
"readOnly": true,
"title": "Low priority capable",
"type": "boolean"
},
"maxResourceVolumeMB": {
"description": "The resource volume size, in MB, allowed by the virtual machine size.",
"format": "int32",
"readOnly": true,
"title": "Resource volume size",
"type": "integer"
},
"memoryGB": {
"description": "The amount of memory, in GB, supported by the virtual machine size.",
"format": "double",
"readOnly": true,
"title": "Memory size",
"type": "number"
},
"name": {
"description": "The name of the virtual machine size.",
"readOnly": true,
"title": "Virtual Machine size name",
"type": "string"
},
"osVhdSizeMB": {
"description": "The OS VHD disk size, in MB, allowed by the virtual machine size.",
"format": "int32",
"readOnly": true,
"title": "OS VHD Disk size",
"type": "integer"
},
"premiumIO": {
"description": "Specifies if the virtual machine size supports premium IO.",
"readOnly": true,
"title": "Premium IO supported",
"type": "boolean"
},
"vCPUs": {
"description": "The number of vCPUs supported by the virtual machine size.",
"format": "int32",
"readOnly": true,
"title": "Number of vPUs",
"type": "integer"
}
}
},
"VirtualMachineSizeListResult": {
"description": "The List Virtual Machine size operation response.",
"properties": {
"amlCompute": {
"description": "The list of virtual machine sizes supported by AmlCompute.",
"items": {
"$ref": "#/definitions/VirtualMachineSize"
},
"type": "array"
}
}
},
"VirtualMachineSshCredentials": {
"description": "Admin credentials for virtual machine",
"properties": {
"password": {
"description": "Password of admin account",
"type": "string"
},
"privateKeyData": {
"description": "Private key data",
"type": "string"
},
"publicKeyData": {
"description": "Public key data",
"type": "string"
},
"username": {
"description": "Username of admin account",
"type": "string"
}
},
"type": "object"
},
"Workspace": {
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"description": "An object that represents a machine learning workspace.",
"properties": {
"properties": {
"$ref": "#/definitions/WorkspaceProperties",
"description": "The properties of the machine learning workspace.",
"x-ms-client-flatten": true
}
},
"type": "object"
},
"WorkspaceListResult": {
"description": "The result of a request to list machine learning workspaces.",
"properties": {
"nextLink": {
"description": "The URI that can be used to request the next list of machine learning workspaces.",
"type": "string"
},
"value": {
"description": "The list of machine learning workspaces. Since this list may be incomplete, the nextLink field should be used to request the next list of machine learning workspaces.",
"items": {
"$ref": "#/definitions/Workspace"
},
"type": "array"
}
}
},
"WorkspaceProperties": {
"description": "The properties of a machine learning workspace.",
"properties": {
"applicationInsights": {
"description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created",
"type": "string"
},
"containerRegistry": {
"description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created",
"type": "string"
},
"creationTime": {
"description": "The creation time of the machine learning workspace in ISO8601 format.",
"format": "date-time",
"readOnly": true,
"type": "string"
},
"description": {
"description": "The description of this workspace.",
"type": "string"
},
"discoveryUrl": {
"description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services",
"type": "string"
},
"friendlyName": {
"description": "The friendly name for this workspace. This name in mutable",
"type": "string"
},
"keyVault": {
"description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created",
"type": "string"
},
"provisioningState": {
"description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning.",
"enum": [
"Unknown",
"Updating",
"Creating",
"Deleting",
"Succeeded",
"Failed",
"Canceled"
],
"readOnly": true,
"type": "string",
"x-ms-enum": {
"modelAsString": true,
"name": "ProvisioningState"
}
},
"storageAccount": {
"description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created",
"type": "string"
},
"workspaceId": {
"description": "The immutable id associated with this workspace.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"WorkspacePropertiesUpdateParameters": {
"description": "The parameters for updating the properties of a machine learning workspace.",
"properties": {
"description": {
"description": "The description of this workspace.",
"type": "string"
},
"friendlyName": {
"description": "The friendly name for this workspace.",
"type": "string"
}
}
},
"WorkspaceUpdateParameters": {
"description": "The parameters for updating a machine learning workspace.",
"properties": {
"properties": {
"$ref": "#/definitions/WorkspacePropertiesUpdateParameters",
"description": "The properties that the machine learning workspace will be updated with.",
"x-ms-client-flatten": true
},
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "The resource tags for the machine learning workspace.",
"type": "object"
}
}
}
}
}