From 1bcc20d7c3523dfddc34a44881048824f3b86d1c Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Wed, 21 Aug 2019 19:39:12 -0700 Subject: [PATCH 001/211] Add blockchain to latest profile --- profiles/definitions/latest-2019-04-30.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index d232011ad030..c011a4cc041a 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -41,6 +41,15 @@ profiles: - managedClusters/accessProfiles '2017-07-01': - containerServices + microsoft.blockchain: + '2018-06-01-preview': + - blockchainMembers + - blockchainMembers/consortiumMembers + - blockchainMembers/transactionNodes + - locations + - locations/blockchainMemberOperationResults + - operations + - skus microsoft.capacity: '2019-04-01': - appliedReservations From 7b4609776da798ad54384cbaccd1221f096b275b Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Wed, 21 Aug 2019 19:52:35 -0700 Subject: [PATCH 002/211] Add additional types --- profiles/definitions/latest-2019-04-30.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/profiles/definitions/latest-2019-04-30.md b/profiles/definitions/latest-2019-04-30.md index c011a4cc041a..5a4f50360390 100644 --- a/profiles/definitions/latest-2019-04-30.md +++ b/profiles/definitions/latest-2019-04-30.md @@ -45,9 +45,15 @@ profiles: '2018-06-01-preview': - blockchainMembers - blockchainMembers/consortiumMembers + - blockchainMembers/listApiKeys + - lockchainMembers/regenerateApiKeys - blockchainMembers/transactionNodes + - blockchainMembers/transactionNodes/listApiKeys + - blockchainMembers/transactionNodes/regenerateApiKeys - locations - locations/blockchainMemberOperationResults + - locations/checkNameAvailability + - locations/listConsortiums - operations - skus microsoft.capacity: From 8dbb48b9fb6d6fdcf1df32d30fcad96772dad56c Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 3 Apr 2020 15:32:33 -0700 Subject: [PATCH 003/211] Add Identity to createWorkpace example --- .../2018-03-01-preview/examples/createWorkspace.json | 8 ++++++++ .../2020-02-18-preview/examples/createWorkspace.json | 8 ++++++++ .../stable/2018-11-19/examples/createWorkspace.json | 8 ++++++++ .../stable/2019-05-01/examples/createWorkspace.json | 8 ++++++++ .../stable/2019-06-01/examples/createWorkspace.json | 8 ++++++++ .../stable/2019-11-01/examples/createWorkspace.json | 8 ++++++++ .../stable/2020-01-01/examples/createWorkspace.json | 8 ++++++++ .../stable/2020-03-01/examples/createWorkspace.json | 8 ++++++++ 8 files changed, 64 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json index cedbdb567567..4d43d29dd628 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2018-03-01-preview/examples/createWorkspace.json @@ -6,6 +6,9 @@ "api-version": "2018-03-01-preview", "parameters": { "location": "eastus2euap", + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -24,6 +27,11 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "batchaiWorkspace": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/workspace-1234/providers/Microsoft.BatchAI/workspaces/testBatchAIWorkspace", "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-02-18-preview/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-02-18-preview/examples/createWorkspace.json index 2012134c758d..5b35c4cde09a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-02-18-preview/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-02-18-preview/examples/createWorkspace.json @@ -10,6 +10,9 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -40,6 +43,11 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json index 96b5ca1e3eff..ce16a8fec87b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/createWorkspace.json @@ -6,6 +6,9 @@ "api-version": "2018-11-19", "parameters": { "location": "eastus2euap", + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -23,6 +26,11 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json index 782a19c895f0..e4f116952f59 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json @@ -6,6 +6,9 @@ "api-version": "2019-05-01", "parameters": { "location": "eastus2euap", + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -23,6 +26,11 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/createWorkspace.json index 979f68b2e259..cc4735a1018d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-06-01/examples/createWorkspace.json @@ -6,6 +6,9 @@ "api-version": "2019-06-01", "parameters": { "location": "eastus2euap", + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -23,6 +26,11 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json index 8c1967c74629..a66d8a6c1d34 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-11-01/examples/createWorkspace.json @@ -10,6 +10,9 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -31,6 +34,11 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json index 574108dd5416..937b370a452d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-01-01/examples/createWorkspace.json @@ -10,6 +10,9 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -40,6 +43,11 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-03-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-03-01/examples/createWorkspace.json index f0e3539b709e..6f1de6f5b9f2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-03-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2020-03-01/examples/createWorkspace.json @@ -10,6 +10,9 @@ "name": "Basic", "tier": "Basic" }, + "identity": { + "type": "SystemAssigned" + }, "properties": { "friendlyName": "HelloName", "description": "test description", @@ -47,6 +50,11 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, "sku": { "name": "Basic", "tier": "Basic" From ac5afcb3685e39315f3f431920eda90c3cfedda8 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 10:28:13 -0700 Subject: [PATCH 004/211] change for getTransitivePEUsages --- .../examples/getTransitivePEUsages.json | 24 +++++ .../machineLearningServices.json | 93 +++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json new file mode 100644 index 000000000000..cf17c0ac749b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 + } + } + } + } + } \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 9f72e5405378..d634eb475b74 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -430,6 +430,50 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/transitivepeusages": { + "get": { + "tags": [ + "TransitivePEUsage" + ], + "operationId": "TransitivePEUsage_Get", + "description": "Gets the current transitive private endpoint usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TransitivePEUsagesResult" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-examples": { + "Get Transitive PE Usages": { + "$ref": "./examples/getTransitivePEUsages.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { "get": { "tags": [ @@ -2148,6 +2192,55 @@ }, "description": "Describes AML Resource Usage." }, + "TransitivePEUsage": { + "type": "object", + "properties": { + "totalUsage": { + "readOnly": true, + "type": "integer" + } + } + }, + "PrivateDNSZoneUsage": { + "type": "object", + "properties": { + "totalUsage": { + "readOnly": true, + "type": "integer" + } + } + }, + "TransitivePEUsagesResult": { + "type": "object", + "description": "The transitive private endpoint usage in this location", + "properties": { + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "Subscription id that the transitive private endpoint usage is measured." + }, + "transitivePrivateEndpointsUsage": { + "readOnly": true, + "description": "Transitive private endpoint usage", + "$ref": "#/definitions/TransitivePEUsage" + }, + "transitivePrivateEndpointsQuota": { + "readOnly": true, + "description": "Transitive private endpoint quota that currently set", + "type": "integer" + }, + "privateDnsZonesUsage": { + "readOnly": true, + "description": "Private DNS zone usage", + "$ref": "#/definitions/PrivateDNSZoneUsage" + }, + "privateDnsZonesQuota": { + "readOnly": true, + "description": "Private Dns Zones quota that currently set", + "type": "integer" + } + } + }, "ListUsagesResult": { "properties": { "value": { From bf923f05ca16e6b263c627f871e24bbe19dfcc06 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 12:16:48 -0700 Subject: [PATCH 005/211] update --- .../examples/getTransitivePEUsages.json | 20 +++++++++---------- .../machineLearningServices.json | 4 ++++ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index cf17c0ac749b..2aa3a710adef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -7,17 +7,15 @@ "responses": { "200": { "body": { - "properties": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index d634eb475b74..91841ed73ea1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -2197,6 +2197,7 @@ "properties": { "totalUsage": { "readOnly": true, + "format": "int32", "type": "integer" } } @@ -2206,6 +2207,7 @@ "properties": { "totalUsage": { "readOnly": true, + "format": "int32", "type": "integer" } } @@ -2227,6 +2229,7 @@ "transitivePrivateEndpointsQuota": { "readOnly": true, "description": "Transitive private endpoint quota that currently set", + "format": "int32", "type": "integer" }, "privateDnsZonesUsage": { @@ -2237,6 +2240,7 @@ "privateDnsZonesQuota": { "readOnly": true, "description": "Private Dns Zones quota that currently set", + "format": "int32", "type": "integer" } } From 2ab304a7a113b1bba0a501d1e1748676d7dcfcc9 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 13:36:13 -0700 Subject: [PATCH 006/211] prettier code --- custom-words.txt | 1 + .../examples/getTransitivePEUsages.json | 38 +++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index d921807d036e..5cae8ee607d8 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1621,6 +1621,7 @@ tráfico transcoding transcodes transcriptmoderationresult +transitivepeusages translatortext trendingtopics triggeredwebjobs diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index 2aa3a710adef..4f89a77bd7ff 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 } } - } \ No newline at end of file + } +} From e4a5d199e23e95bb7116737946b2f3e67fa3ed5f Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 13:58:41 -0700 Subject: [PATCH 007/211] add another new endpoint --- .../examples/listWorkspaceNotebookKeys.json | 16 ++++++ .../machineLearningServices.json | 53 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json new file mode 100644 index 000000000000..4182751f0f91 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw", + "secondaryAccessKey": "0KARRQoQHSUq1yViPWg7YFernOS" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 91841ed73ea1..ff57ac2718d6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -349,6 +349,48 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists notebook keys associated with this workspace. The notebook keys are used for loading notebook components, which a reader should have access to. So make it a Get, not Post call", + "operationId": "Workspaces_ListNotebookKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceNotebookKeys.json" + } + }, + "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/NotebookListCredentialsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { "post": { "tags": [ @@ -2743,6 +2785,17 @@ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", "x-ms-azure-resource": true }, + "NotebookListCredentialsResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "type": "string" + }, + "secondaryAccessKey": { + "type": "string" + } + } + }, "ListWorkspaceKeysResult": { "type": "object", "properties": { From 8f20ad7d5cc33b60b44d69351b250406c70613b9 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 22 Sep 2020 11:21:50 -0700 Subject: [PATCH 008/211] address comments --- .../examples/getTransitivePEUsages.json | 22 +++++++++------- .../machineLearningServices.json | 25 +++++++++++++++++-- 2 files changed, 36 insertions(+), 11 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index 4f89a77bd7ff..b37c57afc17c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -7,15 +7,19 @@ "responses": { "200": { "body": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 + "value": [ + { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 + } + ] } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index ff57ac2718d6..8e8bcc15b08f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -350,7 +350,7 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { - "get": { + "post": { "tags": [ "Workspaces" ], @@ -499,7 +499,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TransitivePEUsagesResult" + "$ref": "#/definitions/ListTransitivePEUsagesResult" } }, "default": { @@ -513,6 +513,9 @@ "Get Transitive PE Usages": { "$ref": "./examples/getTransitivePEUsages.json" } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -2287,6 +2290,24 @@ } } }, + "ListTransitivePEUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/TransitivePEUsagesResult" + }, + "description": "The list of transitive private endpoint usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of transitive private endpoint usages information. Call ListNext() with this to fetch the next page of AML resource usage information." + } + }, + "description": "The List transitive private endpoint usages operation response." + }, "ListUsagesResult": { "properties": { "value": { From 5eee086279d9b214e6c51c40700f442ea2dac5cc Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 10:28:13 -0700 Subject: [PATCH 009/211] change for getTransitivePEUsages --- .../examples/getTransitivePEUsages.json | 24 +++++ .../machineLearningServices.json | 93 +++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json new file mode 100644 index 000000000000..cf17c0ac749b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 + } + } + } + } + } \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 3c283424747c..a3931c50a48a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -430,6 +430,50 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/transitivepeusages": { + "get": { + "tags": [ + "TransitivePEUsage" + ], + "operationId": "TransitivePEUsage_Get", + "description": "Gets the current transitive private endpoint usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TransitivePEUsagesResult" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-examples": { + "Get Transitive PE Usages": { + "$ref": "./examples/getTransitivePEUsages.json" + } + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { "get": { "tags": [ @@ -2291,6 +2335,55 @@ }, "description": "Describes AML Resource Usage." }, + "TransitivePEUsage": { + "type": "object", + "properties": { + "totalUsage": { + "readOnly": true, + "type": "integer" + } + } + }, + "PrivateDNSZoneUsage": { + "type": "object", + "properties": { + "totalUsage": { + "readOnly": true, + "type": "integer" + } + } + }, + "TransitivePEUsagesResult": { + "type": "object", + "description": "The transitive private endpoint usage in this location", + "properties": { + "subscriptionId": { + "readOnly": true, + "type": "string", + "description": "Subscription id that the transitive private endpoint usage is measured." + }, + "transitivePrivateEndpointsUsage": { + "readOnly": true, + "description": "Transitive private endpoint usage", + "$ref": "#/definitions/TransitivePEUsage" + }, + "transitivePrivateEndpointsQuota": { + "readOnly": true, + "description": "Transitive private endpoint quota that currently set", + "type": "integer" + }, + "privateDnsZonesUsage": { + "readOnly": true, + "description": "Private DNS zone usage", + "$ref": "#/definitions/PrivateDNSZoneUsage" + }, + "privateDnsZonesQuota": { + "readOnly": true, + "description": "Private Dns Zones quota that currently set", + "type": "integer" + } + } + }, "ListUsagesResult": { "properties": { "value": { From a34a194ee73640ab69b5b596e2b26cc3d467a7cd Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 12:16:48 -0700 Subject: [PATCH 010/211] update --- .../examples/getTransitivePEUsages.json | 20 +++++++++---------- .../machineLearningServices.json | 4 ++++ 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index cf17c0ac749b..2aa3a710adef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -7,17 +7,15 @@ "responses": { "200": { "body": { - "properties": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index a3931c50a48a..0664c5f674c7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -2340,6 +2340,7 @@ "properties": { "totalUsage": { "readOnly": true, + "format": "int32", "type": "integer" } } @@ -2349,6 +2350,7 @@ "properties": { "totalUsage": { "readOnly": true, + "format": "int32", "type": "integer" } } @@ -2370,6 +2372,7 @@ "transitivePrivateEndpointsQuota": { "readOnly": true, "description": "Transitive private endpoint quota that currently set", + "format": "int32", "type": "integer" }, "privateDnsZonesUsage": { @@ -2380,6 +2383,7 @@ "privateDnsZonesQuota": { "readOnly": true, "description": "Private Dns Zones quota that currently set", + "format": "int32", "type": "integer" } } From 0a23a85566010677350f8e8fd03f7d4ba64ce911 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 13:36:13 -0700 Subject: [PATCH 011/211] prettier code --- custom-words.txt | 1 + .../examples/getTransitivePEUsages.json | 38 +++++++++---------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/custom-words.txt b/custom-words.txt index ae42b648994a..6a41dee7e0dc 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1697,6 +1697,7 @@ tráfico transcoding transcodes transcriptmoderationresult +transitivepeusages translatortext trendingtopics triggeredwebjobs diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index 2aa3a710adef..4f89a77bd7ff 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -1,22 +1,22 @@ { - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 } } - } \ No newline at end of file + } +} From b87f8e948690edb689fbe2cb06304942ea947c30 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Sep 2020 13:58:41 -0700 Subject: [PATCH 012/211] add another new endpoint --- .../examples/listWorkspaceNotebookKeys.json | 16 ++++++ .../machineLearningServices.json | 53 +++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json new file mode 100644 index 000000000000..4182751f0f91 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw", + "secondaryAccessKey": "0KARRQoQHSUq1yViPWg7YFernOS" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 0664c5f674c7..da1b071ff718 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -349,6 +349,48 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists notebook keys associated with this workspace. The notebook keys are used for loading notebook components, which a reader should have access to. So make it a Get, not Post call", + "operationId": "Workspaces_ListNotebookKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceNotebookKeys.json" + } + }, + "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/NotebookListCredentialsResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { "post": { "tags": [ @@ -2895,6 +2937,17 @@ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", "x-ms-azure-resource": true }, + "NotebookListCredentialsResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "type": "string" + }, + "secondaryAccessKey": { + "type": "string" + } + } + }, "ListWorkspaceKeysResult": { "type": "object", "properties": { From 7c91175e3efb5327e9aef6abb67f79065defe138 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 22 Sep 2020 11:21:50 -0700 Subject: [PATCH 013/211] address comments --- .../examples/getTransitivePEUsages.json | 22 +++++++++------- .../machineLearningServices.json | 25 +++++++++++++++++-- 2 files changed, 36 insertions(+), 11 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json index 4f89a77bd7ff..b37c57afc17c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json @@ -7,15 +7,19 @@ "responses": { "200": { "body": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 + "value": [ + { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "transitivePrivateEndpointsUsage": { + "totalUsage": 0 + }, + "transitivePrivateEndpointsQuota": 0, + "privateDnsZonesUsage": { + "totalUsage": 0 + }, + "privateDnsZonesQuota": 0 + } + ] } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index da1b071ff718..7154aa1b18b3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -350,7 +350,7 @@ } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { - "get": { + "post": { "tags": [ "Workspaces" ], @@ -499,7 +499,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TransitivePEUsagesResult" + "$ref": "#/definitions/ListTransitivePEUsagesResult" } }, "default": { @@ -513,6 +513,9 @@ "Get Transitive PE Usages": { "$ref": "./examples/getTransitivePEUsages.json" } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -2430,6 +2433,24 @@ } } }, + "ListTransitivePEUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/TransitivePEUsagesResult" + }, + "description": "The list of transitive private endpoint usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of transitive private endpoint usages information. Call ListNext() with this to fetch the next page of AML resource usage information." + } + }, + "description": "The List transitive private endpoint usages operation response." + }, "ListUsagesResult": { "properties": { "value": { From 0696b9ec7f6b8fe3790261b31dae819754bccc07 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 23 Oct 2020 10:29:07 -0700 Subject: [PATCH 014/211] revert change on transitivePE and notebookKeys --- custom-words.txt | 1 - .../examples/getTransitivePEUsages.json | 26 --- .../examples/listWorkspaceNotebookKeys.json | 16 -- .../machineLearningServices.json | 171 ------------------ 4 files changed, 214 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json diff --git a/custom-words.txt b/custom-words.txt index 6a41dee7e0dc..ae42b648994a 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1697,7 +1697,6 @@ tráfico transcoding transcodes transcriptmoderationresult -transitivepeusages translatortext trendingtopics triggeredwebjobs diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json deleted file mode 100644 index b37c57afc17c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json deleted file mode 100644 index 4182751f0f91..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "primaryAccessKey": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw", - "secondaryAccessKey": "0KARRQoQHSUq1yViPWg7YFernOS" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 7154aa1b18b3..3c283424747c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -349,48 +349,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { - "post": { - "tags": [ - "Workspaces" - ], - "description": "Lists notebook keys associated with this workspace. The notebook keys are used for loading notebook components, which a reader should have access to. So make it a Get, not Post call", - "operationId": "Workspaces_ListNotebookKeys", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listWorkspaceNotebookKeys.json" - } - }, - "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/NotebookListCredentialsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { "post": { "tags": [ @@ -472,53 +430,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/transitivepeusages": { - "get": { - "tags": [ - "TransitivePEUsage" - ], - "operationId": "TransitivePEUsage_Get", - "description": "Gets the current transitive private endpoint usage information as well as limits for AML resources for given subscription and location.", - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location for which resource usage is queried.", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ListTransitivePEUsagesResult" - } - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - }, - "x-ms-examples": { - "Get Transitive PE Usages": { - "$ref": "./examples/getTransitivePEUsages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { "get": { "tags": [ @@ -2380,77 +2291,6 @@ }, "description": "Describes AML Resource Usage." }, - "TransitivePEUsage": { - "type": "object", - "properties": { - "totalUsage": { - "readOnly": true, - "format": "int32", - "type": "integer" - } - } - }, - "PrivateDNSZoneUsage": { - "type": "object", - "properties": { - "totalUsage": { - "readOnly": true, - "format": "int32", - "type": "integer" - } - } - }, - "TransitivePEUsagesResult": { - "type": "object", - "description": "The transitive private endpoint usage in this location", - "properties": { - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "Subscription id that the transitive private endpoint usage is measured." - }, - "transitivePrivateEndpointsUsage": { - "readOnly": true, - "description": "Transitive private endpoint usage", - "$ref": "#/definitions/TransitivePEUsage" - }, - "transitivePrivateEndpointsQuota": { - "readOnly": true, - "description": "Transitive private endpoint quota that currently set", - "format": "int32", - "type": "integer" - }, - "privateDnsZonesUsage": { - "readOnly": true, - "description": "Private DNS zone usage", - "$ref": "#/definitions/PrivateDNSZoneUsage" - }, - "privateDnsZonesQuota": { - "readOnly": true, - "description": "Private Dns Zones quota that currently set", - "format": "int32", - "type": "integer" - } - } - }, - "ListTransitivePEUsagesResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/TransitivePEUsagesResult" - }, - "description": "The list of transitive private endpoint usages." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URI to fetch the next page of transitive private endpoint usages information. Call ListNext() with this to fetch the next page of AML resource usage information." - } - }, - "description": "The List transitive private endpoint usages operation response." - }, "ListUsagesResult": { "properties": { "value": { @@ -2958,17 +2798,6 @@ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", "x-ms-azure-resource": true }, - "NotebookListCredentialsResult": { - "type": "object", - "properties": { - "primaryAccessKey": { - "type": "string" - }, - "secondaryAccessKey": { - "type": "string" - } - } - }, "ListWorkspaceKeysResult": { "type": "object", "properties": { From 072a51f16aaefaf9feacc7544170db78f459bf82 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 23 Oct 2020 10:33:20 -0700 Subject: [PATCH 015/211] revert change on transitivePE and notebookKeys --- custom-words.txt | 1 - .../examples/getTransitivePEUsages.json | 26 --- .../examples/listWorkspaceNotebookKeys.json | 16 -- .../machineLearningServices.json | 171 ------------------ 4 files changed, 214 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json diff --git a/custom-words.txt b/custom-words.txt index 6a41dee7e0dc..ae42b648994a 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1697,7 +1697,6 @@ tráfico transcoding transcodes transcriptmoderationresult -transitivepeusages translatortext trendingtopics triggeredwebjobs diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json deleted file mode 100644 index b37c57afc17c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/getTransitivePEUsages.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "transitivePrivateEndpointsUsage": { - "totalUsage": 0 - }, - "transitivePrivateEndpointsQuota": 0, - "privateDnsZonesUsage": { - "totalUsage": 0 - }, - "privateDnsZonesQuota": 0 - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json deleted file mode 100644 index 4182751f0f91..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/examples/listWorkspaceNotebookKeys.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2020-09-01-preview" - }, - "responses": { - "200": { - "body": { - "primaryAccessKey": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw", - "secondaryAccessKey": "0KARRQoQHSUq1yViPWg7YFernOS" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json index 7154aa1b18b3..3c283424747c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-09-01-preview/machineLearningServices.json @@ -349,48 +349,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { - "post": { - "tags": [ - "Workspaces" - ], - "description": "Lists notebook keys associated with this workspace. The notebook keys are used for loading notebook components, which a reader should have access to. So make it a Get, not Post call", - "operationId": "Workspaces_ListNotebookKeys", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listWorkspaceNotebookKeys.json" - } - }, - "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/NotebookListCredentialsResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { "post": { "tags": [ @@ -472,53 +430,6 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/transitivepeusages": { - "get": { - "tags": [ - "TransitivePEUsage" - ], - "operationId": "TransitivePEUsage_Get", - "description": "Gets the current transitive private endpoint usage information as well as limits for AML resources for given subscription and location.", - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location for which resource usage is queried.", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ListTransitivePEUsagesResult" - } - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - }, - "x-ms-examples": { - "Get Transitive PE Usages": { - "$ref": "./examples/getTransitivePEUsages.json" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { "get": { "tags": [ @@ -2380,77 +2291,6 @@ }, "description": "Describes AML Resource Usage." }, - "TransitivePEUsage": { - "type": "object", - "properties": { - "totalUsage": { - "readOnly": true, - "format": "int32", - "type": "integer" - } - } - }, - "PrivateDNSZoneUsage": { - "type": "object", - "properties": { - "totalUsage": { - "readOnly": true, - "format": "int32", - "type": "integer" - } - } - }, - "TransitivePEUsagesResult": { - "type": "object", - "description": "The transitive private endpoint usage in this location", - "properties": { - "subscriptionId": { - "readOnly": true, - "type": "string", - "description": "Subscription id that the transitive private endpoint usage is measured." - }, - "transitivePrivateEndpointsUsage": { - "readOnly": true, - "description": "Transitive private endpoint usage", - "$ref": "#/definitions/TransitivePEUsage" - }, - "transitivePrivateEndpointsQuota": { - "readOnly": true, - "description": "Transitive private endpoint quota that currently set", - "format": "int32", - "type": "integer" - }, - "privateDnsZonesUsage": { - "readOnly": true, - "description": "Private DNS zone usage", - "$ref": "#/definitions/PrivateDNSZoneUsage" - }, - "privateDnsZonesQuota": { - "readOnly": true, - "description": "Private Dns Zones quota that currently set", - "format": "int32", - "type": "integer" - } - } - }, - "ListTransitivePEUsagesResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/TransitivePEUsagesResult" - }, - "description": "The list of transitive private endpoint usages." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URI to fetch the next page of transitive private endpoint usages information. Call ListNext() with this to fetch the next page of AML resource usage information." - } - }, - "description": "The List transitive private endpoint usages operation response." - }, "ListUsagesResult": { "properties": { "value": { @@ -2958,17 +2798,6 @@ "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", "x-ms-azure-resource": true }, - "NotebookListCredentialsResult": { - "type": "object", - "properties": { - "primaryAccessKey": { - "type": "string" - }, - "secondaryAccessKey": { - "type": "string" - } - } - }, "ListWorkspaceKeysResult": { "type": "object", "properties": { From 1d693a754df61793a4d4e72c1de899a1b21bfc1c Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 8 Dec 2020 13:50:09 -0800 Subject: [PATCH 016/211] add new stable version 2021-01-01 --- .../stable/2021-01-01/examples/ListSkus.json | 79 + .../2021-01-01/examples/ListUsages.json | 400 + .../examples/ListVMSizesResult.json | 348 + .../examples/ListWorkspaceFeatures.json | 26 + .../ListWorkspaceQuotasByVMFamily.json | 415 ++ .../examples/amlComputeListNodes.json | 34 + .../examples/createBasicAKSCompute.json | 44 + .../examples/createBasicAmlCompute.json | 60 + .../createBasicDataFactoryCompute.json | 44 + .../examples/createComputeInstance.json | 59 + .../createComputeInstanceMinimal.json | 47 + .../examples/createLinkedService.json | 40 + .../examples/createOrUpdateService.json | 217 + .../2021-01-01/examples/createWorkspace.json | 140 + .../examples/createWorkspaceConnection.json | 33 + .../2021-01-01/examples/deleteCompute.json | 19 + .../examples/deleteLinkedService.json | 13 + .../2021-01-01/examples/deleteService.json | 13 + .../2021-01-01/examples/deleteWorkspace.json | 13 + .../examples/deleteWorkspaceConnection.json | 13 + .../2021-01-01/examples/getAKSCompute.json | 25 + .../2021-01-01/examples/getAmlCompute.json | 53 + .../examples/getComputeInstance.json | 59 + .../2021-01-01/examples/getComputes.json | 41 + .../2021-01-01/examples/getLinkedService.json | 30 + .../2021-01-01/examples/getService.json | 149 + .../2021-01-01/examples/getServices.json | 274 + .../2021-01-01/examples/getWorkspace.json | 74 + .../examples/getWorkspaceConnection.json | 24 + .../getWorkspacesByResourceGroup.json | 56 + .../examples/getWorkspacesBySubscription.json | 55 + .../examples/listKeysAKSCompute.json | 19 + .../examples/listLinkedServices.json | 50 + .../2021-01-01/examples/listNotebookKeys.json | 16 + .../examples/listWorkspaceConnections.json | 40 + .../examples/listWorkspaceKeys.json | 31 + .../2021-01-01/examples/patchAmlCompute.json | 36 + .../examples/restartComputeInstance.json | 12 + .../examples/resyncWorkspaceKeys.json | 11 + .../examples/startComputeInstance.json | 12 + .../examples/stopComputeInstance.json | 12 + .../2021-01-01/examples/updateAKSCompute.json | 53 + .../2021-01-01/examples/updateAmlCompute.json | 54 + .../2021-01-01/examples/updateQuota.json | 45 + .../2021-01-01/examples/updateWorkspace.json | 42 + ...kspaceDeletePrivateEndpointConnection.json | 14 + ...workspaceGetPrivateEndpointConnection.json | 30 + .../workspaceListPrivateLinkResources.json | 28 + .../examples/workspacePrepareNotebook.json | 21 + ...workspacePutPrivateEndpointConnection.json | 38 + .../2021-01-01/machineLearningServices.json | 6461 +++++++++++++++++ .../resource-manager/readme.md | 25 +- 52 files changed, 9946 insertions(+), 1 deletion(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListUsages.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListVMSizesResult.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceFeatures.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceQuotasByVMFamily.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/amlComputeListNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstanceMinimal.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createOrUpdateService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listKeysAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceConnections.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/patchAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/restartComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateQuota.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceDeletePrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceGetPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceListPrivateLinkResources.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePrepareNotebook.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePutPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListSkus.json new file mode 100644 index 000000000000..a56dbf57fd34 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListSkus.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2021-01-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "workspaces", + "name": "Basic", + "tier": "Basic", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "capabilities": [ + { + "name": "automatedml_readhyperdrivesdk", + "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" + }, + { + "name": "workspace_upgradeworkspacesdk", + "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" + } + ], + "restrictions": [] + }, + { + "resourceType": "workspaces", + "name": "Enterprise", + "tier": "Enterprise", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ] + } + ] + } + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ], + "restrictions": [] + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListUsages.json new file mode 100644 index 000000000000..68b2e72f8915 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListUsages.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListVMSizesResult.json new file mode 100644 index 000000000000..877cb1dba436 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListVMSizesResult.json @@ -0,0 +1,348 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2021-01-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "amlCompute": [ + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.09, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.23, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + } + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.24, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.08, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.06, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.16, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_M32-8ms", + "family": "standardMSFamily", + "vCPUs": 32, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1024000, + "memoryGB": 875, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 8.43, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 1.23, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 3.37, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 6.15, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.43, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.9, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.08, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.28, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.51, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.22, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.09, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 2.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.36, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.87, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.49, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceFeatures.json new file mode 100644 index 000000000000..aba42527c1cf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceFeatures.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "automatedml_createeditexperimentsui", + "displayName": "Create edit experiments UI", + "description": "Create, edit or delete AutoML experiments in the SDK" + }, + { + "id": "workspace_upgradeworkspaceui", + "displayName": "Upgrade workspace UI", + "description": "Upgrade workspace from Basic to enterprise from the UI" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceQuotasByVMFamily.json new file mode 100644 index 000000000000..c36f1646f0a2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/ListWorkspaceQuotasByVMFamily.json @@ -0,0 +1,415 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quota", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/amlComputeListNodes.json new file mode 100644 index 000000000000..2174c4c8fea9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/amlComputeListNodes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AmlCompute", + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50000, + "nodeState": "running", + "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50001, + "nodeState": "idle" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAKSCompute.json new file mode 100644 index 000000000000..1c5714d2dac4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAmlCompute.json new file mode 100644 index 000000000000..328fd2d68172 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicAmlCompute.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" + }, + "isolatedNetwork": false, + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "NotSpecified", + "enableNodePublicIp": true + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicDataFactoryCompute.json new file mode 100644 index 000000000000..76ae4d4f79d8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createBasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstance.json new file mode 100644 index 000000000000..e5b9ad686a5e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstanceMinimal.json new file mode 100644 index 000000000000..5921ac0c97f7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createComputeInstanceMinimal.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json new file mode 100644 index 000000000000..930701d6f441 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "linkName": "link-1", + "api-version": "2020-04-01-preview", + "parameters": { + "name": "link-1", + "location": "westus", + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", + "name": "link-1", + "location": "westus", + "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", + "identity": { + "type": "SystemAssigned", + "principalId": "aaaaaaaa-1111-2222-3333-444444444444", + "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" + }, + "properties": { + "createdTime": "2020-07-28T16:33:05.8246167-07:00", + "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", + "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1", + "linkType": "Synapse" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createOrUpdateService.json new file mode 100644 index 000000000000..cbd685da221b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createOrUpdateService.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01", + "serviceName": "service456", + "properties": { + "computeType": "ACI", + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://storage/azureml/score.py", + "unpack": false + } + ], + "models": [ + { + "name": "sklearn_regression_model.pkl", + "url": "aml://storage/azureml/sklearn_regression_model.pkl", + "mimeType": "application/x-python" + } + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null, + "username": null, + "password": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "containerResourceRequirements": { + "cpu": 1, + "memoryInGB": 1 + }, + "location": "eastus2", + "authEnabled": true, + "appInsightsEnabled": true + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Transitioning" + } + } + }, + "201": { + "description": "The request was accepted.", + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspace.json new file mode 100644 index 000000000000..a01b4a0fc899 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspace.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "identity": { + "type": "SystemAssigned" + }, + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspaceConnection.json new file mode 100644 index 000000000000..eabd65421b18 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createWorkspaceConnection.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01", + "parameters": { + "name": "connection-1", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteCompute.json new file mode 100644 index 000000000000..540753c2af1d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json new file mode 100644 index 000000000000..e6e30e2b4bdd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "linkName": "link-1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteService.json new file mode 100644 index 000000000000..2dedeada8383 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteService.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "serviceName": "service123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspace.json new file mode 100644 index 000000000000..fa0099c530d7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspace.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspaceConnection.json new file mode 100644 index 000000000000..4fe4b01aa447 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteWorkspaceConnection.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAKSCompute.json new file mode 100644 index 000000000000..ef8139b6589e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAKSCompute.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAmlCompute.json new file mode 100644 index 000000000000..7371ddc23148 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getAmlCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "createdOn": "2017-09-26T22:28:08.327Z", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": null, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputeInstance.json new file mode 100644 index 000000000000..312fadf27bfb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "ComputeInstance", + "createdOn": "2017-09-26T22:28:08.327Z", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Shared", + "sshSettings": { + "sshPublicAccess": "Enabled", + "adminUserName": "azureuser", + "sshPort": 22 + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "createdBy": { + "userName": "foobar@microsoft.com", + "userOrgId": "00000000-0000-0000-0000-000000000000", + "userId": "00000000-0000-0000-0000-000000000000" + }, + "connectivityEndpoints": { + "publicIpAddress": "10.0.0.1", + "privateIpAddress": "10.0.0.1" + }, + "applications": [ + { + "displayName": "Jupyter", + "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" + } + ], + "errors": null, + "state": "Running" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputes.json new file mode 100644 index 000000000000..aa7493d72301 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getComputes.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json new file mode 100644 index 000000000000..d2a8c1d213ea --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "linkName": "link-1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", + "name": "link-1", + "location": "westus", + "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", + "identity": { + "type": "SystemAssigned", + "principalId": "aaaaaaaa-1111-2222-3333-444444444444", + "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" + }, + "properties": { + "createdTime": "2020-07-28T16:33:05.8246167-07:00", + "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", + "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/Syn-1", + "linkType": "Synapse" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getService.json new file mode 100644 index 000000000000..fb589ddc108c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getService.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01", + "serviceName": "service123" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getServices.json new file mode 100644 index 000000000000..6b24477c4a44 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getServices.json @@ -0,0 +1,274 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + }, + { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspace.json new file mode 100644 index 000000000000..b135a390d261 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspace.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", + "privateLinkCount": 0, + "allowPublicAccessWhenBehindVnet": false, + "imageBuildCompute": "testcompute", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", + "name": "testprivatelinkconnection", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ], + "sharedPrivateLinkResources": [ + { + "name": "testcosmosdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspaceConnection.json new file mode 100644 index 000000000000..0d838c48b1a3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspaceConnection.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesByResourceGroup.json new file mode 100644 index 000000000000..d0701b16df60 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesByResourceGroup.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesBySubscription.json new file mode 100644 index 000000000000..1a4a8c1e72b3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getWorkspacesBySubscription.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listKeysAKSCompute.json new file mode 100644 index 000000000000..cd40aa9e4327 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listKeysAKSCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json new file mode 100644 index 000000000000..f231946917ce --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", + "name": "link-1", + "location": "westus", + "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", + "identity": { + "type": "SystemAssigned", + "principalId": "aaaaaaaa-1111-2222-3333-444444444444", + "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" + }, + "properties": { + "createdTime": "2020-07-28T16:33:05.8246167-07:00", + "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", + "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/Syn-1", + "linkType": "Synapse" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-2", + "name": "link-2", + "location": "westus", + "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", + "identity": { + "type": "SystemAssigned", + "principalId": "cccccccc-1111-2222-3333-444444444444", + "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" + }, + "properties": { + "createdTime": "2020-07-29T16:33:05.8246167-07:00", + "modifiedTime": "2020-07-29T16:33:06.1050872-07:00", + "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-2/providers/Microsoft.Synapse/workspaces/Syn-2", + "linkType": "Synapse" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookKeys.json new file mode 100644 index 000000000000..cd4ff5411873 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": "", + "secondaryAccessKey": "" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceConnections.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceConnections.json new file mode 100644 index 000000000000..96af4f9e046e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceConnections.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2021-01-01", + "target": "www.facebook.com", + "category": "ACR" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", + "name": "connection-2", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json new file mode 100644 index 000000000000..4556c5ac09be --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": "", + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/patchAmlCompute.json new file mode 100644 index 000000000000..5b63a4bd4255 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/patchAmlCompute.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/restartComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/restartComputeInstance.json new file mode 100644 index 000000000000..7bb50a4f6560 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/restartComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json new file mode 100644 index 000000000000..835ac86474f7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json new file mode 100644 index 000000000000..7bb50a4f6560 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json new file mode 100644 index 000000000000..7bb50a4f6560 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAKSCompute.json new file mode 100644 index 000000000000..9bcdc92f6304 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAKSCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAmlCompute.json new file mode 100644 index 000000000000..c838b1ad1147 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateAmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "description": "some compute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateQuota.json new file mode 100644 index 000000000000..f0b7572211a0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateQuota.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01", + "parameters": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count" + } + ] + } + }, + "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", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count", + "status": "Success" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count", + "status": "Success" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateWorkspace.json new file mode 100644 index 000000000000..4814280b0af9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/updateWorkspace.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "parameters": { + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "creationTime": "2017-03-01T23:14:37.0707808Z", + "friendlyName": "New friendly name", + "description": "new description" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..98c2f181688b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..c295405c483d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceGetPrivateEndpointConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceListPrivateLinkResources.json new file mode 100644 index 000000000000..7bddf0ccb1f2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspaceListPrivateLinkResources.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", + "name": "amlworkspace", + "type": "Microsoft.Storage/workspaces/privateLinkResources", + "properties": { + "groupId": "amlworkspace", + "requiredMembers": [ + "default" + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePrepareNotebook.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePrepareNotebook.json new file mode 100644 index 000000000000..f99dca0b4282 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePrepareNotebook.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "resourceId": "aabbccddee112233445566778899", + "fqdn": "testnotebook.notebooks.azure.com", + "notebookPreparationError": { + "statusCode": 500, + "errorMessage": "general error" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePutPrivateEndpointConnection.json new file mode 100644 index 000000000000..721aa2f88cda --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/workspacePutPrivateEndpointConnection.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json new file mode 100644 index 000000000000..9a6b15ca1826 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -0,0 +1,6461 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2021-01-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "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" + } + }, + "202": { + "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" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } + }, + "x-ms-long-running-operation": true, + "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." + }, + "202": { + "description": "The request was accepted; 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" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all enabled features for a workspace", + "operationId": "WorkspaceFeatures_List", + "x-ms-examples": { + "List Workspace features": { + "$ref": "./examples/ListWorkspaceFeatures.json" + } + }, + "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/ListAmlUserFeatureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/ListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/ListVMSizesResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { + "post": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_Update", + "description": "Update quota for each VM family in workspace.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for update quota is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaUpdateParameters" + }, + "description": "Quota update parameters." + }, + { + "$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" + } + } + }, + "x-ms-examples": { + "update quotas": { + "$ref": "./examples/updateQuota.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas": { + "get": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_List", + "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListWorkspaceQuotas" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List workspace quotas by VMFamily": { + "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningCompute_ListByWorkspace", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { + "$ref": "./examples/getComputes.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_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.", + "x-ms-examples": { + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/getAmlCompute.json" + }, + "Get an ComputeInstance": { + "$ref": "./examples/getComputeInstance.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_CreateOrUpdate", + "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.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { + "$ref": "./examples/createBasicAmlCompute.json" + }, + "Create an ComputeInstance Compute with minimal inputs": { + "$ref": "./examples/createComputeInstanceMinimal.json" + }, + "Create an ComputeInstance Compute": { + "$ref": "./examples/createComputeInstance.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/updateAmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } + }, + "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" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { + "$ref": "./examples/patchAmlCompute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "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" + } + } + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/amlComputeListNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Start", + "description": "Posts a start action to a compute instance", + "x-ms-examples": { + "Start ComputeInstance Compute": { + "$ref": "./examples/startComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Stop", + "description": "Posts a stop action to a compute instance", + "x-ms-examples": { + "Stop ComputeInstance Compute": { + "$ref": "./examples/stopComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Restart", + "description": "Posts a restart action to a compute instance", + "x-ms-examples": { + "Restart ComputeInstance Compute": { + "$ref": "./examples/restartComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "get": { + "tags": [ + "WorkspaceSkus" + ], + "description": "Lists all skus with associated features", + "operationId": "ListSkus", + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/ListSkus.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceGetPrivateEndpointConnection": { + "$ref": "./examples/workspaceGetPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Put", + "description": "Update the state of specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspacePutPrivateEndpointConnection": { + "$ref": "./examples/workspacePutPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceDeletePrivateEndpointConnection": { + "$ref": "./examples/workspaceDeletePrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByWorkspace", + "description": "Gets the private link resources that need to be created for a workspace.", + "x-ms-examples": { + "WorkspaceListPrivateLinkResources": { + "$ref": "./examples/workspaceListPrivateLinkResources.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedServices": { + "get": { + "tags": [ + "LinkedServices" + ], + "x-ms-examples": { + "ListLinkedServices": { + "$ref": "./examples/listLinkedServices.json" + } + }, + "operationId": "LinkedServices_List", + "description": "List all linked services under an AML workspace.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the linked services.", + "schema": { + "$ref": "#/definitions/LinkedServiceList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/linkedServices/{linkName}": { + "put": { + "tags": [ + "LinkedServices" + ], + "operationId": "LinkedServices_Create", + "description": "Add a new linked service.", + "x-ms-examples": { + "CreateLinkedService": { + "$ref": "./examples/createLinkedService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/LinkName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a linked service", + "required": true, + "schema": { + "$ref": "#/definitions/LinkedServiceRequest" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the linked service.", + "schema": { + "$ref": "#/definitions/LinkedServiceResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "get": { + "tags": [ + "LinkedServices" + ], + "operationId": "LinkedServices_Get", + "description": "Get the detail of a linked service.", + "x-ms-examples": { + "GetLinkedService": { + "$ref": "./examples/getLinkedService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/LinkName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked service.", + "schema": { + "$ref": "#/definitions/LinkedServiceResponse" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "LinkedServices" + ], + "operationId": "LinkedServices_Delete", + "description": "Delete a linked service.", + "x-ms-examples": { + "DeleteLinkedService": { + "$ref": "./examples/deleteLinkedService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/LinkName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the linked service." + }, + "204": { + "description": "Specific linked service not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningService_ListByWorkspace", + "description": "Gets services in specified workspace.", + "x-ms-examples": { + "Get Services": { + "$ref": "./examples/getServices.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + }, + { + "$ref": "#/parameters/ModelIdParameter" + }, + { + "$ref": "#/parameters/ModelNameParameter" + }, + { + "$ref": "#/parameters/WebServiceTagParameter" + }, + { + "$ref": "#/parameters/WebServiceTagsParameter" + }, + { + "$ref": "#/parameters/WebServicePropertiesParameter" + }, + { + "$ref": "#/parameters/WebServiceRunIdParameter" + }, + { + "$ref": "#/parameters/WebServiceExpandParameter" + }, + { + "$ref": "#/parameters/WebServiceOrderByParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Machine Learning services 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/PaginatedServiceList" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services/{serviceName}": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Get", + "description": "Get a Service by name.", + "x-ms-examples": { + "Get Service": { + "$ref": "./examples/getService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "query", + "name": "expand", + "description": "Set to True to include Model details.", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Delete", + "description": "Delete a specific Service..", + "x-ms-examples": { + "Delete Service": { + "$ref": "./examples/deleteService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + } + ], + "responses": { + "200": { + "description": "The resource exists and was deleted successfully." + }, + "204": { + "description": "The resource does not exist and the request was well formed." + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "MachineLearningServices" + ], + "description": "Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.", + "operationId": "MachineLearningService_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Or Update service": { + "$ref": "./examples/createOrUpdateService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "body", + "name": "properties", + "description": "The payload that is used to create or update the Service.", + "required": true, + "schema": { + "$ref": "#/definitions/CreateServiceRequest" + } + } + ], + "responses": { + "200": { + "description": "Service creation or update initiated.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "201": { + "description": "Service creation or update initiated.", + "headers": { + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_Prepare", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Notebook": { + "$ref": "./examples/workspacePrepareNotebook.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NotebookResourceInfo" + } + }, + "202": { + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookKeys.json" + } + }, + "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/ListNotebookKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { + "get": { + "tags": [ + "WorkspaceConnections" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ListWorkspaceConnections": { + "$ref": "./examples/listWorkspaceConnections.json" + } + }, + "operationId": "WorkspaceConnections_List", + "description": "List all connections under a AML workspace.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/TargetParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { + "put": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Create", + "description": "Add a new workspace connection.", + "x-ms-examples": { + "CreateWorkspaceConnection": { + "$ref": "./examples/createWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a new workspace connection", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceConnectionDto" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the workspace connection.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "get": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Get", + "description": "Get the detail of a workspace connection.", + "x-ms-examples": { + "GetWorkspaceConnection": { + "$ref": "./examples/getWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked workspace.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Delete", + "description": "Delete a workspace connection.", + "x-ms-examples": { + "DeleteWorkspaceConnection": { + "$ref": "./examples/deleteWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the workspace connection." + }, + "204": { + "description": "Specific workspace connection not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "description": "Azure subscription identifier.", + "in": "path", + "type": "string", + "required": true + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "Name of the resource group in which workspace is located.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "APIVersionParameter": { + "in": "query", + "name": "api-version", + "type": "string", + "description": "Version of Azure Machine Learning resource provider API.", + "required": true + }, + "PaginationParameter": { + "in": "query", + "name": "$skiptoken", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace", + "x-ms-parameter-location": "method" + }, + "LinkName": { + "name": "linkName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the linked workspace", + "x-ms-parameter-location": "method" + }, + "ModelIdParameter": { + "in": "query", + "name": "modelId", + "type": "string", + "description": "The Model Id.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ModelNameParameter": { + "in": "query", + "name": "modelName", + "type": "string", + "description": "The Model name.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceNameParameter": { + "name": "serviceName", + "description": "Name of the Azure Machine Learning service.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WebServiceTagParameter": { + "in": "query", + "name": "tag", + "type": "string", + "description": "The object tag.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceCountParameter": { + "in": "query", + "name": "count", + "type": "integer", + "format": "int32", + "description": "The number of items to retrieve in a page.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceTagsParameter": { + "in": "query", + "name": "tags", + "type": "string", + "description": "A set of tags with which to filter the returned services. It is a comma separated string of tags key or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServicePropertiesParameter": { + "in": "query", + "name": "properties", + "type": "string", + "description": "A set of properties with which to filter the returned services. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceRunIdParameter": { + "in": "query", + "name": "runId", + "type": "string", + "description": "runId for model associated with service.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceExpandParameter": { + "in": "query", + "name": "expand", + "type": "boolean", + "description": "Set to True to include Model details.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceOrderByParameter": { + "in": "query", + "name": "orderby", + "type": "string", + "description": "The option to order the response.", + "required": false, + "default": "UpdatedAtDesc", + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "ConnectionName": { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the workspace connection", + "x-ms-parameter-location": "method" + }, + "TargetParameter": { + "in": "query", + "name": "target", + "type": "string", + "description": "Target of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "in": "query", + "name": "category", + "type": "string", + "description": "Category of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "type": "string" + }, + "friendlyName": { + "description": "The friendly name for this workspace. This name in mutable", + "type": "string" + }, + "creationTime": { + "format": "date-time", + "description": "The creation time of the machine learning workspace in ISO8601 format.", + "type": "string", + "readOnly": true + }, + "keyVault": { + "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "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" + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of Azure ML workspace." + }, + "hbiWorkspace": { + "type": "boolean", + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", + "default": false + }, + "serviceProvisionedResourceGroup": { + "type": "string", + "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", + "readOnly": true + }, + "privateLinkCount": { + "type": "integer", + "format": "int32", + "description": "Count of private connections in the workspace", + "readOnly": true + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "allowPublicAccessWhenBehindVnet": { + "type": "boolean", + "description": "The flag to indicate whether to allow public access when behind VNet.", + "default": false + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of private endpoint connections in the workspace." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + }, + "description": "The list of shared private link resources in this workspace." + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "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" + } + } + }, + "AmlUserFeature": { + "description": "Features enabled for a workspace", + "type": "object", + "properties": { + "id": { + "description": "Specifies the feature ID", + "type": "string" + }, + "displayName": { + "description": "Specifies the feature name ", + "type": "string" + }, + "description": { + "description": "Describes the feature for user experience", + "type": "string" + } + } + }, + "ListAmlUserFeatureResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlUserFeature" + }, + "description": "The list of AML user facing features." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." + } + }, + "description": "The List Aml user feature operation response." + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "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." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "gpus": { + "type": "integer", + "format": "int32", + "title": "Number of gPUs", + "description": "The number of gPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" + } + }, + "description": "Describes the properties of a VM size." + }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, + "VirtualMachineSizeListResult": { + "properties": { + "amlCompute": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "QuotaBaseProperties": { + "properties": { + "id": { + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The properties for Quota update or retrieval." + }, + "QuotaUpdateParameters": { + "properties": { + "value": { + "description": "The list for update quota.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaBaseProperties" + } + }, + "location": { + "description": "Region of workspace quota to be updated.", + "type": "string" + } + }, + "description": "Quota update parameters." + }, + "UpdateWorkspaceQuotasResult": { + "properties": { + "value": { + "description": "The list of workspace quota update result.", + "items": { + "$ref": "#/definitions/UpdateWorkspaceQuotas" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The result of update workspace quota." + }, + "UpdateWorkspaceQuotas": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + }, + "status": { + "type": "string", + "readOnly": false, + "title": "Update Workspace Quota Status.", + "description": "Status of update workspace quota.", + "enum": [ + "Undefined", + "Success", + "Failure", + "InvalidQuotaBelowClusterMinimum", + "InvalidQuotaExceedsSubscriptionLimit", + "InvalidVMFamilyName", + "OperationNotSupportedForSku", + "OperationNotEnabledForRegion" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + }, + "description": "The properties for update Quota response." + }, + "ResourceName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Resource Name." + }, + "ResourceQuota": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "name": { + "$ref": "#/definitions/ResourceName", + "description": "Name of the resource.", + "readOnly": true + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The quota assigned to a resource." + }, + "ListWorkspaceQuotas": { + "properties": { + "value": { + "description": "The list of Workspace Quotas by VM Family", + "items": { + "$ref": "#/definitions/ResourceQuota" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The List WorkspaceQuotasByVMFamily operation response." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentities", + "description": "The user assigned identities associated with the resource." + } + }, + "description": "Identity for the resource." + }, + "UserAssignedIdentities": { + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + }, + "UserAssignedIdentity": { + "description": "User Assigned Identity", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the user assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The clientId(aka appId) of the user assigned identity." + } + } + }, + "Resource": { + "description": "Azure Resource Manager resource envelope.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Specifies the resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Specifies the name of the resource.", + "type": "string", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "type": { + "description": "Specifies the type of the resource.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string" + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string" + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ] + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "createdOn": { + "type": "string", + "description": "The date and time when the compute was created.", + "format": "date-time", + "readOnly": true + }, + "modifiedOn": { + "type": "string", + "description": "The date and time when the compute was last modified.", + "format": "date-time", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "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 + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "agentVMSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "ComputeInstance": { + "description": "An Azure Machine Learning compute instance.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + } + } + } + } + } + ], + "x-ms-discriminator-value": "ComputeInstance" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "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]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "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.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer", + "format": "int32" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "format": "int32", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ] + }, + "VirtualMachineImage": { + "type": "object", + "description": "Virtual Machine image for Windows AML Compute", + "properties": { + "id": { + "description": "Virtual Machine image path", + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings.", + "description": "Desired scale settings for the amlCompute." + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "ComputeNodesInformation": { + "type": "object", + "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + }, + "required": [ + "computeType" + ] + }, + "AmlComputeNodesInformation": { + "description": "Compute node information related to a AmlCompute.", + "allOf": [ + { + "$ref": "#/definitions/ComputeNodesInformation" + }, + { + "type": "object", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "privateIpAddress": { + "readOnly": true, + "type": "string", + "title": "Private IP address.", + "description": "Private IP address of the compute node." + }, + "publicIpAddress": { + "readOnly": true, + "type": "string", + "title": "Public IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + }, + "nodeState": { + "readOnly": true, + "type": "string", + "enum": [ + "idle", + "running", + "preparing", + "unusable", + "leaving", + "preempted" + ], + "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", + "x-ms-enum": { + "name": "nodeState", + "modelAsString": true + } + }, + "runId": { + "readOnly": true, + "type": "string", + "title": "Run ID.", + "description": "ID of the Experiment running on the node, if any else null." + } + }, + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "AmlCompute", + "ComputeInstance", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "MachineLearningServiceError": { + "type": "object", + "description": "Wrapper for error response to follow ARM guidelines.", + "properties": { + "error": { + "description": "The error response.", + "$ref": "#/definitions/ErrorResponse", + "readOnly": true + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response information.", + "properties": { + "code": { + "type": "string", + "description": "Error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Error message.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "An array of error detail objects.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "readOnly": true + } + } + }, + "ErrorDetail": { + "type": "object", + "description": "Error detail information.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "required": [ + "code", + "message" + ] + }, + "SKUCapability": { + "description": "Features/user capabilities associated with the sku", + "type": "object", + "properties": { + "name": { + "description": "Capability/Feature ID", + "type": "string" + }, + "value": { + "description": "Details about the feature/capability", + "type": "string" + } + } + }, + "ResourceSkuLocationInfo": { + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the SKU" + }, + "zones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of availability zones where the SKU is supported." + }, + "zoneDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "description": "Details of capabilities available to a SKU in specific zones." + } + } + }, + "ResourceSkuZoneDetails": { + "properties": { + "name": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "The set of zones that the SKU is available in with the specified capabilities." + }, + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "A list of capabilities that are available for the SKU in the specified list of zones." + } + }, + "description": "Describes The zonal capabilities of a SKU." + }, + "WorkspaceSku": { + "description": "Describes Workspace Sku details and features", + "type": "object", + "properties": { + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "description": "A list of locations and availability zones in those locations where the SKU is available." + }, + "tier": { + "description": "Sku Tier like Basic or Enterprise", + "type": "string", + "readOnly": true + }, + "resourceType": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "capabilities": { + "description": "List of features/user capabilities associated with the sku", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + } + } + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAvailableForRegion", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "SkuListResult": { + "description": "List of skus with features", + "type": "object", + "properties": { + "value": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/WorkspaceSku" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + } + } + }, + "Sku": { + "description": "Sku of the resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the sku", + "type": "string" + }, + "tier": { + "description": "Tier of the sku like Basic or Enterprise", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "SharedPrivateLinkResource": { + "properties": { + "name": { + "description": "Unique name of the private link.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "properties": { + "privateLinkResourceId": { + "description": "The resource id that private link links to.", + "type": "string" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requestMessage": { + "description": "Request message.", + "type": "string" + }, + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "EncryptionProperty": { + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for the workspace.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "status", + "keyVaultProperties" + ], + "type": "object" + }, + "KeyVaultProperties": { + "properties": { + "keyVaultArmId": { + "description": "The ArmId of the keyVault where the customer owned encryption key is present.", + "type": "string" + }, + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "identityClientId": { + "description": "For future use - The client id of the identity which will be used to access key vault.", + "type": "string" + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ], + "type": "object" + }, + "LinkedServiceResponse": { + "description": "Linked service.", + "type": "object", + "x-ms-azure-resource": true, + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the link of the linked service.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the linked service.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of linked service.", + "readOnly": true + }, + "location": { + "description": "location of the linked service.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/Identity" + }, + "properties": { + "$ref": "#/definitions/LinkedServiceProps" + } + } + }, + "LinkedServiceRequest": { + "type": "object", + "description": "object used for creating linked service.", + "properties": { + "name": { + "description": "Friendly name of the linked service", + "type": "string" + }, + "location": { + "description": "location of the linked service.", + "type": "string" + }, + "identity": { + "$ref": "#/definitions/Identity" + }, + "properties": { + "$ref": "#/definitions/LinkedServiceProps" + } + } + }, + "LinkedServiceProps": { + "type": "object", + "description": "LinkedService specific properties.", + "required": [ + "linkedServiceResourceId" + ], + "properties": { + "linkedServiceResourceId": { + "description": "ResourceId of the link target of the linked service.", + "type": "string" + }, + "linkType": { + "description": "Type of the link target.", + "type": "string", + "enum": [ + "Synapse" + ], + "x-ms-enum": { + "name": "LinkedServiceLinkType", + "modelAsString": false + } + }, + "createdTime": { + "format": "date-time", + "description": "The creation time of the linked service.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "The last modified time of the linked service.", + "type": "string" + } + } + }, + "LinkedServiceList": { + "type": "object", + "description": "List response of linked service.", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "description": "Array of linked service.", + "items": { + "$ref": "#/definitions/LinkedServiceResponse" + } + } + } + }, + "ServiceResource": { + "type": "object", + "description": "Machine Learning service object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Service properties", + "$ref": "#/definitions/ServiceResponseBase" + } + } + } + ] + }, + "ServiceResponseBase": { + "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The service description.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "state": { + "description": "The current state of the service.", + "enum": [ + "Transitioning", + "Healthy", + "Unhealthy", + "Failed", + "Unschedulable" + ], + "type": "string", + "example": "Healthy", + "x-ms-enum": { + "name": "WebServiceState", + "modelAsString": true + }, + "readOnly": true + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/ErrorResponse" + } + ], + "readOnly": true + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "deploymentType": { + "description": "The deployment type for the service.", + "enum": [ + "GRPCRealtimeEndpoint", + "HttpRealtimeEndpoint", + "Batch" + ], + "type": "string", + "example": "HttpRealtimeEndpoint", + "x-ms-enum": { + "name": "DeploymentType", + "modelAsString": true + } + } + }, + "discriminator": "computeType" + }, + "PaginatedServiceList": { + "type": "object", + "description": "Paginated list of Machine Learning service objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ServiceResource" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ACIServiceResponse": { + "description": "The response for an ACI service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "publicIp": { + "description": "The public IP address for the service.", + "type": "string" + }, + "publicFqdn": { + "description": "The public Fqdn for the service.", + "type": "string" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The number of CPU cores on the container.", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The amount of memory on the container in GB.", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, + "ModelDataCollection": { + "description": "The Model data collection properties.", + "type": "object", + "properties": { + "eventHubEnabled": { + "description": "Option for enabling/disabling Event Hub.", + "type": "boolean" + }, + "storageEnabled": { + "description": "Option for enabling/disabling storage.", + "type": "boolean" + } + } + }, + "VnetConfiguration": { + "type": "object", + "properties": { + "vnetName": { + "description": "The name of the virtual network.", + "type": "string" + }, + "subnetName": { + "description": "The name of the virtual network subnet.", + "type": "string" + } + } + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "vaultBaseUrl": { + "description": "vault base Url", + "type": "string" + }, + "keyName": { + "description": "Encryption Key name", + "type": "string" + }, + "keyVersion": { + "description": "Encryption Key Version", + "type": "string" + } + }, + "required": [ + "vaultBaseUrl", + "keyName", + "keyVersion" + ] + }, + "Model": { + "description": "An Azure Machine Learning Model.", + "required": [ + "mimeType", + "name", + "url" + ], + "type": "object", + "properties": { + "id": { + "description": "The Model Id.", + "type": "string", + "example": "sklearn_mnist:1" + }, + "name": { + "description": "The Model name.", + "type": "string", + "example": "sklearn_mnist" + }, + "framework": { + "description": "The Model framework.", + "type": "string" + }, + "frameworkVersion": { + "description": "The Model framework version.", + "type": "string" + }, + "version": { + "format": "int64", + "description": "The Model version assigned by Model Management Service.", + "type": "integer", + "example": 1 + }, + "datasets": { + "description": "The list of datasets associated with the model.", + "type": "array", + "items": { + "$ref": "#/definitions/DatasetReference" + } + }, + "url": { + "description": "The URL of the Model. Usually a SAS URL.", + "type": "string" + }, + "mimeType": { + "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml", + "type": "string" + }, + "description": { + "description": "The Model description text.", + "type": "string", + "example": "A mnist model, first version." + }, + "createdTime": { + "format": "date-time", + "description": "The Model creation time (UTC).", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "The Model last modified time (UTC).", + "type": "string" + }, + "unpack": { + "description": "Indicates whether we need to unpack the Model during docker Image creation.", + "type": "boolean" + }, + "parentModelId": { + "description": "The Parent Model Id.", + "type": "string", + "example": "sklearn_mnist_root:1" + }, + "runId": { + "description": "The RunId that created this model.", + "type": "string" + }, + "experimentName": { + "description": "The name of the experiment where this model was created.", + "type": "string" + }, + "kvTags": { + "description": "The Model tag dictionary. Items are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The Model property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "derivedModelIds": { + "description": "Models derived from this model", + "type": "array", + "items": { + "type": "string" + } + }, + "sampleInputData": { + "description": "Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "sampleOutputData": { + "description": "Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "resourceRequirements": { + "description": "Resource requirements for the model", + "$ref": "#/definitions/ContainerResourceRequirements" + } + } + }, + "EnvironmentImageRequest": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinition" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "EnvironmentImageResponse": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinitionResponse" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "ImageAsset": { + "description": "An Image asset.", + "type": "object", + "properties": { + "id": { + "description": "The Asset Id.", + "type": "string" + }, + "mimeType": { + "description": "The mime type.", + "type": "string" + }, + "url": { + "description": "The Url of the Asset.", + "type": "string" + }, + "unpack": { + "description": "Whether the Asset is unpacked.", + "type": "boolean" + } + } + }, + "ModelEnvironmentDefinition": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSection" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSection" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "ModelEnvironmentDefinitionResponse": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSectionResponse" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSectionResponse" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "EnvironmentReference": { + "type": "object", + "properties": { + "name": { + "description": "Name of the environment.", + "type": "string" + }, + "version": { + "description": "Version of the environment.", + "type": "string" + } + } + }, + "ModelPythonSection": { + "type": "object", + "properties": { + "interpreterPath": { + "description": "The python interpreter path to use if an environment build is not required. The path specified gets used to call the user script.", + "type": "string" + }, + "userManagedDependencies": { + "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.", + "type": "boolean" + }, + "condaDependencies": { + "description": "A JObject containing Conda dependencies.", + "type": "object" + }, + "baseCondaEnvironment": { + "type": "string" + } + } + }, + "ContainerRegistry": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "username": { + "type": "string", + "x-ms-secret": true + }, + "password": { + "type": "string", + "x-ms-secret": true + } + } + }, + "ContainerRegistryResponse": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + } + }, + "ModelDockerSection": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistry" + } + ] + } + } + }, + "ModelDockerSectionResponse": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryResponse" + } + ] + } + } + }, + "SparkMavenPackage": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "artifact": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ModelSparkSection": { + "type": "object", + "properties": { + "repositories": { + "description": "The list of spark repositories.", + "type": "array", + "items": { + "type": "string" + } + }, + "packages": { + "description": "The Spark packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/SparkMavenPackage" + } + }, + "precachePackages": { + "description": "Whether to precache the packages.", + "type": "boolean" + } + } + }, + "RCranPackage": { + "type": "object", + "properties": { + "name": { + "description": "The package name.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + } + } + }, + "RGitHubPackage": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + }, + "authToken": { + "description": "Personal access token to install from a private repo", + "type": "string", + "x-ms-secret": true + } + } + }, + "RGitHubPackageResponse": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + } + } + }, + "RSection": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackage" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RSectionResponse": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackageResponse" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DatasetReference": { + "description": "The dataset reference object.", + "type": "object", + "properties": { + "name": { + "description": "The name of the dataset reference.", + "type": "string" + }, + "id": { + "description": "The id of the dataset reference.", + "type": "string" + } + } + }, + "AKSVariantResponse": { + "description": "The response for an AKS variant.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "AutoScaler": { + "description": "The Auto Scaler properties.", + "type": "object", + "properties": { + "autoscaleEnabled": { + "description": "Option to enable/disable auto scaling.", + "type": "boolean" + }, + "minReplicas": { + "format": "int32", + "description": "The minimum number of replicas to scale down to.", + "type": "integer", + "example": 1 + }, + "maxReplicas": { + "format": "int32", + "description": "The maximum number of replicas in the cluster.", + "type": "integer", + "example": 3 + }, + "targetUtilization": { + "format": "int32", + "description": "The target utilization percentage to use for determining whether to scale the cluster.", + "type": "integer", + "example": 70 + }, + "refreshPeriodInSeconds": { + "format": "int32", + "description": "The amount of seconds to wait between auto scale updates.", + "type": "integer", + "example": 120 + } + } + }, + "AKSReplicaStatus": { + "type": "object", + "properties": { + "desiredReplicas": { + "format": "int32", + "description": "The desired number of replicas.", + "type": "integer", + "example": 2 + }, + "updatedReplicas": { + "format": "int32", + "description": "The number of updated replicas.", + "type": "integer", + "example": 1 + }, + "availableReplicas": { + "format": "int32", + "description": "The number of available replicas.", + "type": "integer", + "example": 1 + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/ErrorResponse" + } + ] + } + } + }, + "LivenessProbeRequirements": { + "description": "The liveness probe requirements.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "description": "The probe timeout in seconds.", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "description": "The length of time between probes in seconds.", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "description": "The delay before the first probe in seconds.", + "type": "integer" + } + } + }, + "AKSServiceResponse": { + "description": "The response for an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AKSVariantResponse" + }, + { + "type": "object", + "properties": { + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "namespace": { + "description": "The Kubernetes namespace of the deployment.", + "type": "string", + "example": "default" + }, + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "deploymentStatus": { + "description": "The deployment status.", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/AKSReplicaStatus" + } + ] + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AuthKeys": { + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string" + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string" + } + } + }, + "CreateServiceRequest": { + "description": "The base class for creating a service.", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The description of the service.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service properties dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "keys": { + "description": "The authentication keys.", + "allOf": [ + { + "$ref": "#/definitions/AuthKeys" + } + ] + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets needed for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageRequest" + } + ] + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + } + }, + "discriminator": "computeType" + }, + "ACIServiceCreateRequest": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "default": false, + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "default": false, + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "default": false, + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "dnsNameLabel": { + "description": "The Dns label for the service.", + "type": "string" + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "AKSServiceCreateRequest": { + "description": "The request to create an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateEndpointVariantRequest" + }, + { + "type": "object", + "properties": { + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "namespace": { + "description": "Kubernetes namespace for the service.", + "type": "string", + "example": "default" + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "CreateEndpointVariantRequest": { + "description": "The Variant properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "ComputeInstanceSshSettings": { + "type": "object", + "description": "Specifies policy and settings for SSH access.", + "properties": { + "sshPublicAccess": { + "type": "string", + "default": "Disabled", + "title": "Access policy for SSH", + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "sshPublicAccess", + "modelAsString": true + } + }, + "adminUserName": { + "type": "string", + "readOnly": true, + "description": "Describes the admin user name." + }, + "sshPort": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "Describes the port for connecting through SSH." + }, + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + } + } + }, + "ComputeInstanceState": { + "type": "string", + "description": "Current state of an ComputeInstance.", + "enum": [ + "Creating", + "CreateFailed", + "Deleting", + "Running", + "Restarting", + "JobRunning", + "SettingUp", + "SetupFailed", + "Starting", + "Stopped", + "Stopping", + "UserSettingUp", + "UserSetupFailed", + "Unknown", + "Unusable" + ], + "x-ms-enum": { + "name": "ComputeInstanceState", + "modelAsString": true + } + }, + "ComputeInstanceLastOperation": { + "type": "object", + "description": "The last operation on ComputeInstance.", + "properties": { + "operationName": { + "type": "string", + "description": "Name of the last operation.", + "enum": [ + "Create", + "Start", + "Stop", + "Restart", + "Reimage", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true + } + }, + "operationTime": { + "type": "string", + "format": "date-time", + "description": "Time of the last operation." + }, + "operationStatus": { + "type": "string", + "description": "Operation status.", + "enum": [ + "InProgress", + "Succeeded", + "CreateFailed", + "StartFailed", + "StopFailed", + "RestartFailed", + "ReimageFailed", + "DeleteFailed" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": true + } + } + } + }, + "ComputeInstanceApplication": { + "type": "object", + "description": "Defines an Aml Instance application and its connectivity endpoint URI.", + "properties": { + "displayName": { + "type": "string", + "description": "Name of the ComputeInstance application." + }, + "endpointUri": { + "type": "string", + "description": "Application' endpoint URI." + } + } + }, + "ComputeInstanceConnectivityEndpoints": { + "type": "object", + "readOnly": true, + "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", + "properties": { + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "Public IP Address of this ComputeInstance." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." + } + } + }, + "ComputeInstanceCreatedBy": { + "type": "object", + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Name of the user." + }, + "userOrgId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies user' Azure Active Directory organization." + }, + "userId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies the user within his/her organization." + } + } + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "$ref": "#/definitions/AssignedUser", + "title": "Assigned User.", + "description": "A user explicitly assigned to a personal compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "AssignedUser": { + "type": "object", + "description": "A user that can be assigned to a compute instance.", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ] + }, + "NotebookListCredentialsResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "type": "string" + }, + "secondaryAccessKey": { + "type": "string" + } + } + }, + "NotebookResourceInfo": { + "type": "object", + "properties": { + "fqdn": { + "type": "string" + }, + "resourceId": { + "type": "string", + "description": "the data plane resourceId that used to initialize notebook component" + }, + "notebookPreparationError": { + "$ref": "#/definitions/NotebookPreparationError", + "description": "The error that occurs when preparing notebook." + } + } + }, + "NotebookPreparationError": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "statusCode": { + "format": "int32", + "type": "integer" + } + } + }, + "ListNotebookKeysResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "readOnly": true, + "type": "string" + }, + "secondaryAccessKey": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedWorkspaceConnectionsList": { + "type": "object", + "description": "Paginated list of Workspace connection objects.", + "properties": { + "value": { + "type": "array", + "description": "An array of Workspace connection objects.", + "items": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "WorkspaceConnection": { + "x-ms-azure-resource": true, + "description": "Workspace connection.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the workspace connection.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of workspace connection.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionDto": { + "type": "object", + "description": "object used for creating workspace connection.", + "properties": { + "name": { + "description": "Friendly name of the workspace connection", + "type": "string" + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionProps": { + "type": "object", + "description": "Workspace Connection specific properties.", + "properties": { + "category": { + "description": "Category of the workspace connection.", + "type": "string" + }, + "target": { + "description": "Target of the workspace connection.", + "type": "string" + }, + "authType": { + "description": "Authorization type of the workspace connection.", + "type": "string" + }, + "value": { + "description": "Value details of the workspace connection.", + "type": "string" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 4870058be3a7..017af84007ba 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -26,7 +26,16 @@ These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2020-08-01 +tag: package-2021-01-01 +``` + +### Tag: package-2021-01-01 + +These settings apply only when `--tag=package-2021-01` is specified on the command line. + +```yaml $(tag) == 'package-2021-01-01' +input-file: + - Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json ``` ### Tag: package-2020-08-01 @@ -222,6 +231,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-01-01 - tag: package-2020-08-01 - tag: package-2020-06-01 - tag: package-2020-04-01 @@ -237,6 +247,19 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` +### Tag: package-2021-01-01 and java + +These settings apply only when `--tag=package-2021-01-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-01-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2021_01_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_01_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2020-08-01 and java These settings apply only when `--tag=package-2020-08-01 --java` is specified on the command line. From 0bc494b4dbc40afbc299168bce0c8b1a4c435437 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 8 Dec 2020 14:00:04 -0800 Subject: [PATCH 017/211] add ListNotebookAccessToken --- .../examples/listNotebookAccessToken.json | 22 +++++ .../2021-01-01/machineLearningServices.json | 80 +++++++++++++++++++ 2 files changed, 102 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookAccessToken.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookAccessToken.json new file mode 100644 index 000000000000..f08e1971557b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listNotebookAccessToken.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "notebookResourceId": "94350843095843059", + "hostName": "Host product name", + "publicDns": "resource.notebooks.azure.net", + "accessToken": "token", + "tokenType": "Bearer", + "expiresIn": 28800.0, + "refreshToken": "refresh token", + "scope": "aznb_identity" + } + } + } + } \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 9a6b15ca1826..6ae97e03bf27 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -981,6 +981,48 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "return notebook access token and refresh token", + "operationId": "Workspaces_ListNotebookAccessToken", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookAccessToken.json" + } + }, + "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/NotebookAccessTokenResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { "post": { "tags": [ @@ -3123,6 +3165,44 @@ } } }, + "NotebookAccessTokenResult": { + "type": "object", + "properties": { + "notebookResourceId": { + "readOnly": true, + "type": "string" + }, + "hostName": { + "readOnly": true, + "type": "string" + }, + "publicDns": { + "readOnly": true, + "type": "string" + }, + "accessToken": { + "readOnly": true, + "type": "string" + }, + "tokenType": { + "readOnly": true, + "type": "string" + }, + "expiresIn": { + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "refreshToken": { + "readOnly": true, + "type": "string" + }, + "scope": { + "readOnly": true, + "type": "string" + } + } + }, "RegistryListCredentialsResult": { "type": "object", "properties": { From a85c4181a0f2a5b53b52c336d0dc234149ac0034 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 8 Dec 2020 14:13:02 -0800 Subject: [PATCH 018/211] add primaryUserAssignedIdentity --- .../stable/2021-01-01/machineLearningServices.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 6ae97e03bf27..b0f4bb9f8726 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -2499,6 +2499,10 @@ "$ref": "#/definitions/SharedPrivateLinkResource" }, "description": "The list of shared private link resources in this workspace." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" } } }, From e13ea29bc5d445c61db94060d672cce95e220092 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 9 Dec 2020 14:21:58 -0800 Subject: [PATCH 019/211] fix missing properties and apis --- .../examples/listStorageAccountKeys.json | 16 +++++ .../examples/listWorkspaceKeys.json | 4 ++ .../2021-01-01/machineLearningServices.json | 66 +++++++++++++++---- 3 files changed, 74 insertions(+), 12 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listStorageAccountKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listStorageAccountKeys.json new file mode 100644 index 000000000000..122f8ed7341f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listStorageAccountKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": "" + } + } + } + } + \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json index 4556c5ac09be..072fba6a3e54 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listWorkspaceKeys.json @@ -24,6 +24,10 @@ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" } ] + }, + "notebookAccessKeys": { + "primaryAccessKey": "", + "secondaryAccessKey": "" } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index b0f4bb9f8726..1c5c4c6c41e0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -562,7 +562,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/Quotas": { + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { "get": { "tags": [ "Quota" @@ -1872,6 +1872,47 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "StorageAccount_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listStorageAccountKeys.json" + } + }, + "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/ListStorageAccountKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { "post": { "tags": [ @@ -3166,6 +3207,9 @@ "containerRegistryCredentials": { "readOnly": true, "$ref": "#/definitions/RegistryListCredentialsResult" + }, + "notebookAccessKeys": { + "$ref": "#/definitions/NotebookListCredentialsResult" } } }, @@ -6406,17 +6450,6 @@ "tenantId" ] }, - "NotebookListCredentialsResult": { - "type": "object", - "properties": { - "primaryAccessKey": { - "type": "string" - }, - "secondaryAccessKey": { - "type": "string" - } - } - }, "NotebookResourceInfo": { "type": "object", "properties": { @@ -6458,6 +6491,15 @@ } } }, + "ListStorageAccountKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string" + } + } + }, "PaginatedWorkspaceConnectionsList": { "type": "object", "description": "Paginated list of Workspace connection objects.", From 8e6ddf9dd8891839f487d9cb7a22912130dcd9d7 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 10 Dec 2020 14:19:05 -0800 Subject: [PATCH 020/211] fix one more missing property --- .../stable/2021-01-01/machineLearningServices.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 1c5c4c6c41e0..a2ca4357bddb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -4499,6 +4499,11 @@ "readOnly": true, "type": "string", "description": "The ARM identifier for Private Endpoint" + }, + "subnetArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Subnet resource that private endpoint links to" } }, "description": "The Private Endpoint resource." From 584fd078ddb123cb038252ab928a931b6d575d11 Mon Sep 17 00:00:00 2001 From: Vinay Rajmal Soni Date: Mon, 25 Jan 2021 20:34:32 -0800 Subject: [PATCH 021/211] 202 status for start and stop CI --- .../stable/2021-01-01/examples/startComputeInstance.json | 2 +- .../stable/2021-01-01/examples/stopComputeInstance.json | 2 +- .../stable/2021-01-01/machineLearningServices.json | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json index 7bb50a4f6560..d7240808c50c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/startComputeInstance.json @@ -7,6 +7,6 @@ "api-version": "2021-01-01" }, "responses": { - "200": {} + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json index 7bb50a4f6560..d7240808c50c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/stopComputeInstance.json @@ -7,6 +7,6 @@ "api-version": "2021-01-01" }, "responses": { - "200": {} + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index a2ca4357bddb..08f7cfca7ae1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -1082,6 +1082,7 @@ "$ref": "./examples/startComputeInstance.json" } }, + "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -1100,7 +1101,7 @@ } ], "responses": { - "200": { + "202": { "description": "Success." }, "default": { @@ -1125,6 +1126,7 @@ "$ref": "./examples/stopComputeInstance.json" } }, + "x-ms-long-running-operation": true, "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -1143,7 +1145,7 @@ } ], "responses": { - "200": { + "202": { "description": "Success." }, "default": { From ed0fbb92d63272fa70037409bb51d5676938f488 Mon Sep 17 00:00:00 2001 From: Suba Date: Wed, 10 Feb 2021 22:09:08 -0800 Subject: [PATCH 022/211] make resync keys long runnin operation in version Jan2021 --- .../stable/2021-01-01/machineLearningServices.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 2e263b6c0bec..3062893b3340 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -398,6 +398,7 @@ ], "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", + "x-ms-long-running-operation": true, "x-ms-examples": { "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" @@ -421,6 +422,12 @@ "200": { "description": "The request was successful; the request was well-formed and received properly." }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, "default": { "description": "Error response describing why the operation failed", "schema": { From d57e01a47fd36eaec0c208a525b5da9c2625a16d Mon Sep 17 00:00:00 2001 From: Suba Date: Wed, 10 Feb 2021 22:14:33 -0800 Subject: [PATCH 023/211] resync keys 204 --- .../stable/2021-01-01/machineLearningServices.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 3062893b3340..51ce31211a4c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -422,11 +422,11 @@ "200": { "description": "The request was successful; the request was well-formed and received properly." }, - "201": { - "description": "The request was successful; the request was well-formed and received properly.", - }, "202": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "The request was accepted; 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", From a6e57f1c66db43550c45e615c3a80fe6ffb0acc9 Mon Sep 17 00:00:00 2001 From: Suba Date: Wed, 10 Feb 2021 22:15:29 -0800 Subject: [PATCH 024/211] update resync keys example --- .../stable/2021-01-01/examples/resyncWorkspaceKeys.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json index 835ac86474f7..f6640c0d96bc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json @@ -6,6 +6,8 @@ "api-version": "2021-01-01" }, "responses": { - "200": {} + "200": {}, + "202": {}, + "204": {} } } From 817df4463da62877571b259928fb897aef1cd634 Mon Sep 17 00:00:00 2001 From: Suba Date: Thu, 11 Feb 2021 13:17:36 -0800 Subject: [PATCH 025/211] Dont throw 204 for resync --- .../stable/2021-01-01/examples/resyncWorkspaceKeys.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json index f6640c0d96bc..cc4b35061e38 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json @@ -7,7 +7,6 @@ }, "responses": { "200": {}, - "202": {}, - "204": {} + "202": {} } } From da352f8b7228cc3a514572c60f17d29403915088 Mon Sep 17 00:00:00 2001 From: Suba Date: Thu, 11 Feb 2021 13:31:45 -0800 Subject: [PATCH 026/211] update resync keys --- .../stable/2021-01-01/machineLearningServices.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 51ce31211a4c..a4b50cb78507 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -425,9 +425,6 @@ "202": { "description": "The request was accepted; 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": { From aa050c6048d60bc71c7819ba0186522eff708a04 Mon Sep 17 00:00:00 2001 From: Suba Date: Thu, 11 Feb 2021 13:41:05 -0800 Subject: [PATCH 027/211] Formatting --- .../stable/2021-01-01/examples/resyncWorkspaceKeys.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json index cc4b35061e38..60a59823f10e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json @@ -7,6 +7,6 @@ }, "responses": { "200": {}, - "202": {} + "202": {} } } From f419400b4bcf474a3cc89e406cb1a33837638b43 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Fri, 12 Feb 2021 14:14:52 -0800 Subject: [PATCH 028/211] revert Jan2021changes and add new version --- .../examples/resyncWorkspaceKeys.json | 3 +- .../2021-01-01/machineLearningServices.json | 6 +- .../stable/2021-04-01/examples/ListSkus.json | 79 + .../2021-04-01/examples/ListUsages.json | 400 + .../examples/ListVMSizesResult.json | 348 + .../examples/ListWorkspaceFeatures.json | 26 + .../ListWorkspaceQuotasByVMFamily.json | 415 ++ .../examples/amlComputeListNodes.json | 34 + .../examples/createBasicAKSCompute.json | 44 + .../examples/createBasicAmlCompute.json | 60 + .../createBasicDataFactoryCompute.json | 44 + .../examples/createComputeInstance.json | 59 + .../createComputeInstanceMinimal.json | 47 + .../examples/createOrUpdateService.json | 225 + .../2021-04-01/examples/createWorkspace.json | 169 + .../examples/createWorkspaceConnection.json | 33 + .../2021-04-01/examples/deleteCompute.json | 19 + .../2021-04-01/examples/deleteService.json | 13 + .../2021-04-01/examples/deleteWorkspace.json | 13 + .../examples/deleteWorkspaceConnection.json | 13 + .../2021-04-01/examples/getAKSCompute.json | 25 + .../2021-04-01/examples/getAmlCompute.json | 52 + .../examples/getComputeInstance.json | 58 + .../2021-04-01/examples/getComputes.json | 41 + .../2021-04-01/examples/getService.json | 157 + .../2021-04-01/examples/getServices.json | 282 + .../2021-04-01/examples/getWorkspace.json | 88 + .../examples/getWorkspaceConnection.json | 24 + .../getWorkspacesByResourceGroup.json | 54 + .../examples/getWorkspacesBySubscription.json | 53 + .../examples/listKeysAKSCompute.json | 19 + .../examples/listNotebookAccessToken.json | 20 + .../2021-04-01/examples/listNotebookKeys.json | 16 + .../examples/listStorageAccountKeys.json | 15 + .../examples/listWorkspaceConnections.json | 40 + .../examples/listWorkspaceKeys.json | 35 + .../2021-04-01/examples/patchAmlCompute.json | 36 + .../examples/restartComputeInstance.json | 12 + .../examples/resyncWorkspaceKeys.json | 12 + .../examples/startComputeInstance.json | 12 + .../examples/stopComputeInstance.json | 12 + .../2021-04-01/examples/updateAKSCompute.json | 53 + .../2021-04-01/examples/updateAmlCompute.json | 54 + .../2021-04-01/examples/updateQuota.json | 45 + .../2021-04-01/examples/updateWorkspace.json | 46 + ...kspaceDeletePrivateEndpointConnection.json | 14 + ...workspaceGetPrivateEndpointConnection.json | 30 + .../workspaceListPrivateLinkResources.json | 28 + .../examples/workspacePrepareNotebook.json | 21 + ...workspacePutPrivateEndpointConnection.json | 38 + .../2021-04-01/machineLearningServices.json | 6517 +++++++++++++++++ 51 files changed, 9952 insertions(+), 7 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json index 60a59823f10e..835ac86474f7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/resyncWorkspaceKeys.json @@ -6,7 +6,6 @@ "api-version": "2021-01-01" }, "responses": { - "200": {}, - "202": {} + "200": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index a4b50cb78507..7dc1de54b647 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -398,7 +398,6 @@ ], "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", - "x-ms-long-running-operation": true, "x-ms-examples": { "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" @@ -422,9 +421,6 @@ "200": { "description": "The request was successful; the request was well-formed and received properly." }, - "202": { - "description": "The request was accepted; the request was well-formed and received properly." - }, "default": { "description": "Error response describing why the operation failed", "schema": { @@ -6514,4 +6510,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json new file mode 100644 index 000000000000..a56dbf57fd34 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2021-01-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "workspaces", + "name": "Basic", + "tier": "Basic", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "capabilities": [ + { + "name": "automatedml_readhyperdrivesdk", + "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" + }, + { + "name": "workspace_upgradeworkspacesdk", + "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" + } + ], + "restrictions": [] + }, + { + "resourceType": "workspaces", + "name": "Enterprise", + "tier": "Enterprise", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ] + } + ] + } + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ], + "restrictions": [] + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json new file mode 100644 index 000000000000..68b2e72f8915 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json new file mode 100644 index 000000000000..877cb1dba436 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json @@ -0,0 +1,348 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2021-01-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "amlCompute": [ + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.09, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.23, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + } + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.24, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.08, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.06, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.16, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_M32-8ms", + "family": "standardMSFamily", + "vCPUs": 32, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1024000, + "memoryGB": 875, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 8.43, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 1.23, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 3.37, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 6.15, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.43, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.9, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.08, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.28, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.51, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.22, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.09, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 2.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.36, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.87, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.49, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json new file mode 100644 index 000000000000..aba42527c1cf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-01-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "automatedml_createeditexperimentsui", + "displayName": "Create edit experiments UI", + "description": "Create, edit or delete AutoML experiments in the SDK" + }, + { + "id": "workspace_upgradeworkspaceui", + "displayName": "Upgrade workspace UI", + "description": "Upgrade workspace from Basic to enterprise from the UI" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json new file mode 100644 index 000000000000..c36f1646f0a2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json @@ -0,0 +1,415 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quota", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json new file mode 100644 index 000000000000..2174c4c8fea9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AmlCompute", + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50000, + "nodeState": "running", + "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50001, + "nodeState": "idle" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json new file mode 100644 index 000000000000..1c5714d2dac4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json new file mode 100644 index 000000000000..328fd2d68172 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" + }, + "isolatedNetwork": false, + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "NotSpecified", + "enableNodePublicIp": true + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json new file mode 100644 index 000000000000..76ae4d4f79d8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json new file mode 100644 index 000000000000..e5b9ad686a5e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json new file mode 100644 index 000000000000..5921ac0c97f7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json new file mode 100644 index 000000000000..3a1e120978fd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json @@ -0,0 +1,225 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01", + "serviceName": "service456", + "properties": { + "computeType": "ACI", + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://storage/azureml/score.py", + "unpack": false + } + ], + "models": [ + { + "name": "sklearn_regression_model.pkl", + "url": "aml://storage/azureml/sklearn_regression_model.pkl", + "mimeType": "application/x-python" + } + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null, + "username": null, + "password": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "containerResourceRequirements": { + "cpu": 1, + "memoryInGB": 1 + }, + "location": "eastus2", + "authEnabled": true, + "appInsightsEnabled": true + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Transitioning" + } + } + }, + "201": { + "description": "The request was accepted.", + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json new file mode 100644 index 000000000000..fc2e08faf01a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json @@ -0,0 +1,169 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": {} + } + }, + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json new file mode 100644 index 000000000000..eabd65421b18 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01", + "parameters": { + "name": "connection-1", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json new file mode 100644 index 000000000000..540753c2af1d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json new file mode 100644 index 000000000000..2dedeada8383 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "serviceName": "service123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json new file mode 100644 index 000000000000..fa0099c530d7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json new file mode 100644 index 000000000000..4fe4b01aa447 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json new file mode 100644 index 000000000000..ef8139b6589e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json new file mode 100644 index 000000000000..b4adb193c749 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json new file mode 100644 index 000000000000..f385439c5b99 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "ComputeInstance", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Shared", + "sshSettings": { + "sshPublicAccess": "Enabled", + "adminUserName": "azureuser", + "sshPort": 22 + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "createdBy": { + "userName": "foobar@microsoft.com", + "userOrgId": "00000000-0000-0000-0000-000000000000", + "userId": "00000000-0000-0000-0000-000000000000" + }, + "connectivityEndpoints": { + "publicIpAddress": "10.0.0.1", + "privateIpAddress": "10.0.0.1" + }, + "applications": [ + { + "displayName": "Jupyter", + "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" + } + ], + "errors": null, + "state": "Running" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json new file mode 100644 index 000000000000..aa7493d72301 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json new file mode 100644 index 000000000000..37834f89ef69 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01", + "serviceName": "service123" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json new file mode 100644 index 000000000000..940a1f6c8759 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json @@ -0,0 +1,282 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + }, + { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json new file mode 100644 index 000000000000..57915b0afdf8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", + "privateLinkCount": 0, + "allowPublicAccessWhenBehindVnet": false, + "imageBuildCompute": "testcompute", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", + "name": "testprivatelinkconnection", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ], + "sharedPrivateLinkResources": [ + { + "name": "testcosmosdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json new file mode 100644 index 000000000000..0d838c48b1a3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json new file mode 100644 index 000000000000..604d25fbbe2b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json new file mode 100644 index 000000000000..e0126a293475 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json new file mode 100644 index 000000000000..cd40aa9e4327 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json new file mode 100644 index 000000000000..d9ef5e8d3b3a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2020-09-01-preview" + }, + "responses": { + "200": { + "body": { + "notebookResourceId": "94350843095843059", + "hostName": "Host product name", + "publicDns": "resource.notebooks.azure.net", + "tokenType": "Bearer", + "expiresIn": 28800.0, + "scope": "aznb_identity" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json new file mode 100644 index 000000000000..e02b84c3b2d4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json new file mode 100644 index 000000000000..49d788cbd2ee --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json new file mode 100644 index 000000000000..96af4f9e046e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2021-01-01", + "target": "www.facebook.com", + "category": "ACR" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", + "name": "connection-2", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json new file mode 100644 index 000000000000..207b8d91b5fd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null, + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + }, + "notebookAccessKeys": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json new file mode 100644 index 000000000000..5b63a4bd4255 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json new file mode 100644 index 000000000000..7bb50a4f6560 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json new file mode 100644 index 000000000000..60a59823f10e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json new file mode 100644 index 000000000000..d7240808c50c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json new file mode 100644 index 000000000000..d7240808c50c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json new file mode 100644 index 000000000000..9bcdc92f6304 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json new file mode 100644 index 000000000000..c838b1ad1147 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-01-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "description": "some compute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json new file mode 100644 index 000000000000..f0b7572211a0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-01-01", + "parameters": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count" + } + ] + } + }, + "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", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count", + "status": "Success" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count", + "status": "Success" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json new file mode 100644 index 000000000000..699f5616f7eb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "parameters": { + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "New friendly name", + "description": "new description" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..98c2f181688b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..c295405c483d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json new file mode 100644 index 000000000000..7bddf0ccb1f2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "api-version": "2021-01-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", + "name": "amlworkspace", + "type": "Microsoft.Storage/workspaces/privateLinkResources", + "properties": { + "groupId": "amlworkspace", + "requiredMembers": [ + "default" + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json new file mode 100644 index 000000000000..f99dca0b4282 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-01-01" + }, + "responses": { + "200": { + "body": { + "resourceId": "aabbccddee112233445566778899", + "fqdn": "testnotebook.notebooks.azure.com", + "notebookPreparationError": { + "statusCode": 500, + "errorMessage": "general error" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json new file mode 100644 index 000000000000..721aa2f88cda --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-01-01", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json new file mode 100644 index 000000000000..a4b50cb78507 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -0,0 +1,6517 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2021-01-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "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" + } + }, + "202": { + "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" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } + }, + "x-ms-long-running-operation": true, + "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." + }, + "202": { + "description": "The request was accepted; 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" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all enabled features for a workspace", + "operationId": "WorkspaceFeatures_List", + "x-ms-examples": { + "List Workspace features": { + "$ref": "./examples/ListWorkspaceFeatures.json" + } + }, + "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/ListAmlUserFeatureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } + }, + "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." + }, + "202": { + "description": "The request was accepted; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/ListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/ListVMSizesResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { + "post": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_Update", + "description": "Update quota for each VM family in workspace.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for update quota is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaUpdateParameters" + }, + "description": "Quota update parameters." + }, + { + "$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" + } + } + }, + "x-ms-examples": { + "update quotas": { + "$ref": "./examples/updateQuota.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { + "get": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_List", + "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListWorkspaceQuotas" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List workspace quotas by VMFamily": { + "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningCompute_ListByWorkspace", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { + "$ref": "./examples/getComputes.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_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.", + "x-ms-examples": { + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/getAmlCompute.json" + }, + "Get an ComputeInstance": { + "$ref": "./examples/getComputeInstance.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_CreateOrUpdate", + "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.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { + "$ref": "./examples/createBasicAmlCompute.json" + }, + "Create an ComputeInstance Compute with minimal inputs": { + "$ref": "./examples/createComputeInstanceMinimal.json" + }, + "Create an ComputeInstance Compute": { + "$ref": "./examples/createComputeInstance.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/updateAmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } + }, + "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" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { + "$ref": "./examples/patchAmlCompute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "nodes" + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/amlComputeListNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "return notebook access token and refresh token", + "operationId": "Workspaces_ListNotebookAccessToken", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookAccessToken.json" + } + }, + "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/NotebookAccessTokenResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Start", + "description": "Posts a start action to a compute instance", + "x-ms-examples": { + "Start ComputeInstance Compute": { + "$ref": "./examples/startComputeInstance.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Stop", + "description": "Posts a stop action to a compute instance", + "x-ms-examples": { + "Stop ComputeInstance Compute": { + "$ref": "./examples/stopComputeInstance.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Restart", + "description": "Posts a restart action to a compute instance", + "x-ms-examples": { + "Restart ComputeInstance Compute": { + "$ref": "./examples/restartComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "get": { + "tags": [ + "WorkspaceSkus" + ], + "description": "Lists all skus with associated features", + "operationId": "ListSkus", + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/ListSkus.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceGetPrivateEndpointConnection": { + "$ref": "./examples/workspaceGetPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Put", + "description": "Update the state of specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspacePutPrivateEndpointConnection": { + "$ref": "./examples/workspacePutPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceDeletePrivateEndpointConnection": { + "$ref": "./examples/workspaceDeletePrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByWorkspace", + "description": "Gets the private link resources that need to be created for a workspace.", + "x-ms-examples": { + "WorkspaceListPrivateLinkResources": { + "$ref": "./examples/workspaceListPrivateLinkResources.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningService_ListByWorkspace", + "description": "Gets services in specified workspace.", + "x-ms-examples": { + "Get Services": { + "$ref": "./examples/getServices.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + }, + { + "$ref": "#/parameters/ModelIdParameter" + }, + { + "$ref": "#/parameters/ModelNameParameter" + }, + { + "$ref": "#/parameters/WebServiceTagParameter" + }, + { + "$ref": "#/parameters/WebServiceTagsParameter" + }, + { + "$ref": "#/parameters/WebServicePropertiesParameter" + }, + { + "$ref": "#/parameters/WebServiceRunIdParameter" + }, + { + "$ref": "#/parameters/WebServiceExpandParameter" + }, + { + "$ref": "#/parameters/WebServiceOrderByParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Machine Learning services 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/PaginatedServiceList" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services/{serviceName}": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Get", + "description": "Get a Service by name.", + "x-ms-examples": { + "Get Service": { + "$ref": "./examples/getService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "query", + "name": "expand", + "description": "Set to True to include Model details.", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Delete", + "description": "Delete a specific Service..", + "x-ms-examples": { + "Delete Service": { + "$ref": "./examples/deleteService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + } + ], + "responses": { + "200": { + "description": "The resource exists and was deleted successfully." + }, + "204": { + "description": "The resource does not exist and the request was well formed." + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "MachineLearningServices" + ], + "description": "Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.", + "operationId": "MachineLearningService_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Or Update service": { + "$ref": "./examples/createOrUpdateService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "body", + "name": "properties", + "description": "The payload that is used to create or update the Service.", + "required": true, + "schema": { + "$ref": "#/definitions/CreateServiceRequest" + } + } + ], + "responses": { + "200": { + "description": "Service creation or update initiated.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "201": { + "description": "Service creation or update initiated.", + "headers": { + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_Prepare", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Notebook": { + "$ref": "./examples/workspacePrepareNotebook.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NotebookResourceInfo" + } + }, + "202": { + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "StorageAccount_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listStorageAccountKeys.json" + } + }, + "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/ListStorageAccountKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookKeys.json" + } + }, + "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/ListNotebookKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { + "get": { + "tags": [ + "WorkspaceConnections" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ListWorkspaceConnections": { + "$ref": "./examples/listWorkspaceConnections.json" + } + }, + "operationId": "WorkspaceConnections_List", + "description": "List all connections under a AML workspace.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/TargetParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { + "put": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Create", + "description": "Add a new workspace connection.", + "x-ms-examples": { + "CreateWorkspaceConnection": { + "$ref": "./examples/createWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a new workspace connection", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceConnectionDto" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the workspace connection.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "get": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Get", + "description": "Get the detail of a workspace connection.", + "x-ms-examples": { + "GetWorkspaceConnection": { + "$ref": "./examples/getWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked workspace.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Delete", + "description": "Delete a workspace connection.", + "x-ms-examples": { + "DeleteWorkspaceConnection": { + "$ref": "./examples/deleteWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the workspace connection." + }, + "204": { + "description": "Specific workspace connection not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "description": "Azure subscription identifier.", + "in": "path", + "type": "string", + "required": true + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "Name of the resource group in which workspace is located.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "APIVersionParameter": { + "in": "query", + "name": "api-version", + "type": "string", + "description": "Version of Azure Machine Learning resource provider API.", + "required": true + }, + "PaginationParameter": { + "in": "query", + "name": "$skip", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace", + "x-ms-parameter-location": "method" + }, + "ModelIdParameter": { + "in": "query", + "name": "modelId", + "type": "string", + "description": "The Model Id.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ModelNameParameter": { + "in": "query", + "name": "modelName", + "type": "string", + "description": "The Model name.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceNameParameter": { + "name": "serviceName", + "description": "Name of the Azure Machine Learning service.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WebServiceTagParameter": { + "in": "query", + "name": "tag", + "type": "string", + "description": "The object tag.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceCountParameter": { + "in": "query", + "name": "count", + "type": "integer", + "format": "int32", + "description": "The number of items to retrieve in a page.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceTagsParameter": { + "in": "query", + "name": "tags", + "type": "string", + "description": "A set of tags with which to filter the returned services. It is a comma separated string of tags key or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServicePropertiesParameter": { + "in": "query", + "name": "properties", + "type": "string", + "description": "A set of properties with which to filter the returned services. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceRunIdParameter": { + "in": "query", + "name": "runId", + "type": "string", + "description": "runId for model associated with service.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceExpandParameter": { + "in": "query", + "name": "expand", + "type": "boolean", + "description": "Set to True to include Model details.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceOrderByParameter": { + "in": "query", + "name": "orderby", + "type": "string", + "description": "The option to order the response.", + "required": false, + "default": "UpdatedAtDesc", + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "ConnectionName": { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the workspace connection", + "x-ms-parameter-location": "method" + }, + "TargetParameter": { + "in": "query", + "name": "target", + "type": "string", + "description": "Target of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "in": "query", + "name": "category", + "type": "string", + "description": "Category of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "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" + }, + "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" + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of Azure ML workspace." + }, + "hbiWorkspace": { + "type": "boolean", + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", + "default": false + }, + "serviceProvisionedResourceGroup": { + "type": "string", + "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", + "readOnly": true + }, + "privateLinkCount": { + "type": "integer", + "format": "int32", + "description": "Count of private connections in the workspace", + "readOnly": true + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "allowPublicAccessWhenBehindVnet": { + "type": "boolean", + "description": "The flag to indicate whether to allow public access when behind VNet.", + "default": false + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of private endpoint connections in the workspace." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + }, + "description": "The list of shared private link resources in this workspace." + }, + "notebookInfo": { + "readOnly": true, + "$ref": "#/definitions/NotebookResourceInfo", + "description": "The notebook info of Azure ML workspace." + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "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" + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + } + } + }, + "AmlUserFeature": { + "description": "Features enabled for a workspace", + "type": "object", + "properties": { + "id": { + "description": "Specifies the feature ID", + "type": "string" + }, + "displayName": { + "description": "Specifies the feature name ", + "type": "string" + }, + "description": { + "description": "Describes the feature for user experience", + "type": "string" + } + } + }, + "ListAmlUserFeatureResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlUserFeature" + }, + "description": "The list of AML user facing features." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." + } + }, + "description": "The List Aml user feature operation response." + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "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." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "gpus": { + "type": "integer", + "format": "int32", + "title": "Number of gPUs", + "description": "The number of gPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" + } + }, + "description": "Describes the properties of a VM size." + }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, + "VirtualMachineSizeListResult": { + "properties": { + "amlCompute": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "QuotaBaseProperties": { + "properties": { + "id": { + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The properties for Quota update or retrieval." + }, + "QuotaUpdateParameters": { + "properties": { + "value": { + "description": "The list for update quota.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaBaseProperties" + } + }, + "location": { + "description": "Region of workspace quota to be updated.", + "type": "string" + } + }, + "description": "Quota update parameters." + }, + "UpdateWorkspaceQuotasResult": { + "properties": { + "value": { + "description": "The list of workspace quota update result.", + "items": { + "$ref": "#/definitions/UpdateWorkspaceQuotas" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The result of update workspace quota." + }, + "UpdateWorkspaceQuotas": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + }, + "status": { + "type": "string", + "readOnly": false, + "title": "Update Workspace Quota Status.", + "description": "Status of update workspace quota.", + "enum": [ + "Undefined", + "Success", + "Failure", + "InvalidQuotaBelowClusterMinimum", + "InvalidQuotaExceedsSubscriptionLimit", + "InvalidVMFamilyName", + "OperationNotSupportedForSku", + "OperationNotEnabledForRegion" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + }, + "description": "The properties for update Quota response." + }, + "ResourceName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Resource Name." + }, + "ResourceQuota": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "name": { + "$ref": "#/definitions/ResourceName", + "description": "Name of the resource.", + "readOnly": true + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The quota assigned to a resource." + }, + "ListWorkspaceQuotas": { + "properties": { + "value": { + "description": "The list of Workspace Quotas by VM Family", + "items": { + "$ref": "#/definitions/ResourceQuota" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The List WorkspaceQuotasByVMFamily operation response." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentities", + "description": "The user assigned identities associated with the resource." + } + }, + "description": "Identity for the resource." + }, + "UserAssignedIdentities": { + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + }, + "UserAssignedIdentity": { + "description": "User Assigned Identity", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the user assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The clientId(aka appId) of the user assigned identity." + } + } + }, + "Resource": { + "description": "Azure Resource Manager resource envelope.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Specifies the resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Specifies the name of the resource.", + "type": "string", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "type": { + "description": "Specifies the type of the resource.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "readOnly": true + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + }, + "notebookAccessKeys": { + "readOnly": true, + "$ref": "#/definitions/ListNotebookKeysResult" + } + } + }, + "NotebookAccessTokenResult": { + "type": "object", + "properties": { + "notebookResourceId": { + "readOnly": true, + "type": "string" + }, + "hostName": { + "readOnly": true, + "type": "string" + }, + "publicDns": { + "readOnly": true, + "type": "string" + }, + "accessToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "tokenType": { + "readOnly": true, + "type": "string" + }, + "expiresIn": { + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "refreshToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "scope": { + "readOnly": true, + "type": "string" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ] + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "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 + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "agentVmSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "clusterPurpose": { + "description": "Intended usage of the cluster", + "type": "string", + "default": "FastProd", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ], + "x-ms-enum": { + "name": "ClusterPurpose", + "modelAsString": true + } + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "ComputeInstance": { + "description": "An Azure Machine Learning compute instance.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "setupScripts": { + "description": "Details of customized scripts to execute for setting up the cluster.", + "$ref": "#/definitions/SetupScripts" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + } + } + } + } + } + ], + "x-ms-discriminator-value": "ComputeInstance" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + }, + "workspaceUrl": { + "description": "Workspace Url", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "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]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "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.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer", + "format": "int32" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "format": "int32", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ] + }, + "VirtualMachineImage": { + "type": "object", + "description": "Virtual Machine image for Windows AML Compute", + "properties": { + "id": { + "description": "Virtual Machine image path", + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings.", + "description": "Desired scale settings for the amlCompute." + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "ComputeNodesInformation": { + "type": "object", + "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + }, + "required": [ + "computeType" + ] + }, + "AmlComputeNodesInformation": { + "description": "Compute node information related to a AmlCompute.", + "allOf": [ + { + "$ref": "#/definitions/ComputeNodesInformation" + }, + { + "type": "object", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "privateIpAddress": { + "readOnly": true, + "type": "string", + "title": "Private IP address.", + "description": "Private IP address of the compute node." + }, + "publicIpAddress": { + "readOnly": true, + "type": "string", + "title": "Public IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + }, + "nodeState": { + "readOnly": true, + "type": "string", + "enum": [ + "idle", + "running", + "preparing", + "unusable", + "leaving", + "preempted" + ], + "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", + "x-ms-enum": { + "name": "nodeState", + "modelAsString": true + } + }, + "runId": { + "readOnly": true, + "type": "string", + "title": "Run ID.", + "description": "ID of the Experiment running on the node, if any else null." + } + }, + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "AmlCompute", + "ComputeInstance", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "MachineLearningServiceError": { + "type": "object", + "description": "Wrapper for error response to follow ARM guidelines.", + "properties": { + "error": { + "description": "The error response.", + "$ref": "#/definitions/ErrorResponse", + "readOnly": true + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response information.", + "properties": { + "code": { + "type": "string", + "description": "Error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Error message.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "An array of error detail objects.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "readOnly": true + } + } + }, + "ErrorDetail": { + "type": "object", + "description": "Error detail information.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "required": [ + "code", + "message" + ] + }, + "SKUCapability": { + "description": "Features/user capabilities associated with the sku", + "type": "object", + "properties": { + "name": { + "description": "Capability/Feature ID", + "type": "string" + }, + "value": { + "description": "Details about the feature/capability", + "type": "string" + } + } + }, + "ResourceSkuLocationInfo": { + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the SKU" + }, + "zones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of availability zones where the SKU is supported." + }, + "zoneDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "description": "Details of capabilities available to a SKU in specific zones." + } + } + }, + "ResourceSkuZoneDetails": { + "properties": { + "name": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "The set of zones that the SKU is available in with the specified capabilities." + }, + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "A list of capabilities that are available for the SKU in the specified list of zones." + } + }, + "description": "Describes The zonal capabilities of a SKU." + }, + "WorkspaceSku": { + "description": "Describes Workspace Sku details and features", + "type": "object", + "properties": { + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "description": "A list of locations and availability zones in those locations where the SKU is available." + }, + "tier": { + "description": "Sku Tier like Basic or Enterprise", + "type": "string", + "readOnly": true + }, + "resourceType": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "capabilities": { + "description": "List of features/user capabilities associated with the sku", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + } + } + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAvailableForRegion", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "SkuListResult": { + "description": "List of skus with features", + "type": "object", + "properties": { + "value": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/WorkspaceSku" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + } + } + }, + "Sku": { + "description": "Sku of the resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the sku", + "type": "string" + }, + "tier": { + "description": "Tier of the sku like Basic or Enterprise", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + }, + "subnetArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Subnet resource that private endpoint links to" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "SharedPrivateLinkResource": { + "properties": { + "name": { + "description": "Unique name of the private link.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "properties": { + "privateLinkResourceId": { + "description": "The resource id that private link links to.", + "type": "string" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requestMessage": { + "description": "Request message.", + "type": "string" + }, + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "EncryptionProperty": { + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for the workspace.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "identity": { + "$ref": "#/definitions/IdentityForCmk", + "description": "The identity that will be used to access the key vault for encryption at rest." + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "status", + "keyVaultProperties" + ], + "type": "object" + }, + "KeyVaultProperties": { + "properties": { + "keyVaultArmId": { + "description": "The ArmId of the keyVault where the customer owned encryption key is present.", + "type": "string" + }, + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "identityClientId": { + "description": "For future use - The client id of the identity which will be used to access key vault.", + "type": "string" + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ], + "type": "object" + }, + "IdentityForCmk": { + "description": "Identity that will be used to access key vault for encryption at rest", + "type": "object", + "properties": { + "userAssignedIdentity": { + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", + "type": "string" + } + }, + "required": [ + "userAssignedIdentity" + ] + }, + "ServiceResource": { + "type": "object", + "description": "Machine Learning service object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Service properties", + "$ref": "#/definitions/ServiceResponseBase" + } + } + } + ] + }, + "SystemData": { + "description": "Read only system data", + "type": "object", + "properties": { + "createdBy": { + "type": "string", + "description": "An identifier for the identity that created the resource" + }, + "createdByType": { + "$ref": "#/definitions/IdentityType", + "description": "The type of identity that created the resource" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "An identifier for the identity that last modified the resource" + }, + "lastModifiedByType": { + "$ref": "#/definitions/IdentityType", + "description": "The type of identity that last modified the resource" + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + } + } + }, + "IdentityType": { + "description": "The type of identity that creates/modifies resources", + "type": "string", + "enum": [ + "user", + "application", + "managedIdentity", + "key" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "ServiceResponseBase": { + "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The service description.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "state": { + "description": "The current state of the service.", + "enum": [ + "Transitioning", + "Healthy", + "Unhealthy", + "Failed", + "Unschedulable" + ], + "type": "string", + "example": "Healthy", + "x-ms-enum": { + "name": "WebServiceState", + "modelAsString": true + }, + "readOnly": true + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/MachineLearningServiceError" + } + ], + "readOnly": true + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "deploymentType": { + "description": "The deployment type for the service.", + "enum": [ + "GRPCRealtimeEndpoint", + "HttpRealtimeEndpoint", + "Batch" + ], + "type": "string", + "example": "HttpRealtimeEndpoint", + "x-ms-enum": { + "name": "DeploymentType", + "modelAsString": true + } + } + }, + "discriminator": "computeType" + }, + "PaginatedServiceList": { + "type": "object", + "description": "Paginated list of Machine Learning service objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ServiceResource" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ACIServiceResponse": { + "description": "The response for an ACI service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "publicIp": { + "description": "The public IP address for the service.", + "type": "string" + }, + "publicFqdn": { + "description": "The public Fqdn for the service.", + "type": "string" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, + "ModelDataCollection": { + "description": "The Model data collection properties.", + "type": "object", + "properties": { + "eventHubEnabled": { + "description": "Option for enabling/disabling Event Hub.", + "type": "boolean" + }, + "storageEnabled": { + "description": "Option for enabling/disabling storage.", + "type": "boolean" + } + } + }, + "VnetConfiguration": { + "type": "object", + "properties": { + "vnetName": { + "description": "The name of the virtual network.", + "type": "string" + }, + "subnetName": { + "description": "The name of the virtual network subnet.", + "type": "string" + } + } + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "vaultBaseUrl": { + "description": "vault base Url", + "type": "string" + }, + "keyName": { + "description": "Encryption Key name", + "type": "string" + }, + "keyVersion": { + "description": "Encryption Key Version", + "type": "string" + } + }, + "required": [ + "vaultBaseUrl", + "keyName", + "keyVersion" + ] + }, + "Model": { + "description": "An Azure Machine Learning Model.", + "required": [ + "mimeType", + "name", + "url" + ], + "type": "object", + "properties": { + "id": { + "description": "The Model Id.", + "type": "string", + "example": "sklearn_mnist:1" + }, + "name": { + "description": "The Model name.", + "type": "string", + "example": "sklearn_mnist" + }, + "framework": { + "description": "The Model framework.", + "type": "string" + }, + "frameworkVersion": { + "description": "The Model framework version.", + "type": "string" + }, + "version": { + "format": "int64", + "description": "The Model version assigned by Model Management Service.", + "type": "integer", + "example": 1 + }, + "datasets": { + "description": "The list of datasets associated with the model.", + "type": "array", + "items": { + "$ref": "#/definitions/DatasetReference" + } + }, + "url": { + "description": "The URL of the Model. Usually a SAS URL.", + "type": "string" + }, + "mimeType": { + "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml", + "type": "string" + }, + "description": { + "description": "The Model description text.", + "type": "string", + "example": "A mnist model, first version." + }, + "createdTime": { + "format": "date-time", + "description": "The Model creation time (UTC).", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "The Model last modified time (UTC).", + "type": "string" + }, + "unpack": { + "description": "Indicates whether we need to unpack the Model during docker Image creation.", + "type": "boolean" + }, + "parentModelId": { + "description": "The Parent Model Id.", + "type": "string", + "example": "sklearn_mnist_root:1" + }, + "runId": { + "description": "The RunId that created this model.", + "type": "string" + }, + "experimentName": { + "description": "The name of the experiment where this model was created.", + "type": "string" + }, + "kvTags": { + "description": "The Model tag dictionary. Items are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The Model property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "derivedModelIds": { + "description": "Models derived from this model", + "type": "array", + "items": { + "type": "string" + } + }, + "sampleInputData": { + "description": "Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "sampleOutputData": { + "description": "Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "resourceRequirements": { + "description": "Resource requirements for the model", + "$ref": "#/definitions/ContainerResourceRequirements" + } + } + }, + "EnvironmentImageRequest": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinition" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "EnvironmentImageResponse": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinitionResponse" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "ImageAsset": { + "description": "An Image asset.", + "type": "object", + "properties": { + "id": { + "description": "The Asset Id.", + "type": "string" + }, + "mimeType": { + "description": "The mime type.", + "type": "string" + }, + "url": { + "description": "The Url of the Asset.", + "type": "string" + }, + "unpack": { + "description": "Whether the Asset is unpacked.", + "type": "boolean" + } + } + }, + "ModelEnvironmentDefinition": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSection" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSection" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "ModelEnvironmentDefinitionResponse": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSectionResponse" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSectionResponse" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "EnvironmentReference": { + "type": "object", + "properties": { + "name": { + "description": "Name of the environment.", + "type": "string" + }, + "version": { + "description": "Version of the environment.", + "type": "string" + } + } + }, + "ModelPythonSection": { + "type": "object", + "properties": { + "interpreterPath": { + "description": "The python interpreter path to use if an environment build is not required. The path specified gets used to call the user script.", + "type": "string" + }, + "userManagedDependencies": { + "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.", + "type": "boolean" + }, + "condaDependencies": { + "description": "A JObject containing Conda dependencies.", + "type": "object" + }, + "baseCondaEnvironment": { + "type": "string" + } + } + }, + "ContainerRegistry": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "username": { + "type": "string", + "x-ms-secret": true + }, + "password": { + "type": "string", + "x-ms-secret": true + } + } + }, + "ContainerRegistryResponse": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + } + }, + "ModelDockerSection": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistry" + } + ] + } + } + }, + "ModelDockerSectionResponse": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryResponse" + } + ] + } + } + }, + "SparkMavenPackage": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "artifact": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ModelSparkSection": { + "type": "object", + "properties": { + "repositories": { + "description": "The list of spark repositories.", + "type": "array", + "items": { + "type": "string" + } + }, + "packages": { + "description": "The Spark packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/SparkMavenPackage" + } + }, + "precachePackages": { + "description": "Whether to precache the packages.", + "type": "boolean" + } + } + }, + "RCranPackage": { + "type": "object", + "properties": { + "name": { + "description": "The package name.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + } + } + }, + "RGitHubPackage": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + }, + "authToken": { + "description": "Personal access token to install from a private repo", + "type": "string", + "x-ms-secret": true + } + } + }, + "RGitHubPackageResponse": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + } + } + }, + "RSection": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackage" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RSectionResponse": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackageResponse" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DatasetReference": { + "description": "The dataset reference object.", + "type": "object", + "properties": { + "name": { + "description": "The name of the dataset reference.", + "type": "string" + }, + "id": { + "description": "The id of the dataset reference.", + "type": "string" + } + } + }, + "AKSVariantResponse": { + "description": "The response for an AKS variant.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "AutoScaler": { + "description": "The Auto Scaler properties.", + "type": "object", + "properties": { + "autoscaleEnabled": { + "description": "Option to enable/disable auto scaling.", + "type": "boolean" + }, + "minReplicas": { + "format": "int32", + "description": "The minimum number of replicas to scale down to.", + "type": "integer", + "example": 1 + }, + "maxReplicas": { + "format": "int32", + "description": "The maximum number of replicas in the cluster.", + "type": "integer", + "example": 3 + }, + "targetUtilization": { + "format": "int32", + "description": "The target utilization percentage to use for determining whether to scale the cluster.", + "type": "integer", + "example": 70 + }, + "refreshPeriodInSeconds": { + "format": "int32", + "description": "The amount of seconds to wait between auto scale updates.", + "type": "integer", + "example": 120 + } + } + }, + "AKSReplicaStatus": { + "type": "object", + "properties": { + "desiredReplicas": { + "format": "int32", + "description": "The desired number of replicas.", + "type": "integer", + "example": 2 + }, + "updatedReplicas": { + "format": "int32", + "description": "The number of updated replicas.", + "type": "integer", + "example": 1 + }, + "availableReplicas": { + "format": "int32", + "description": "The number of available replicas.", + "type": "integer", + "example": 1 + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/MachineLearningServiceError" + } + ] + } + } + }, + "LivenessProbeRequirements": { + "description": "The liveness probe requirements.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "description": "The probe timeout in seconds.", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "description": "The length of time between probes in seconds.", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "description": "The delay before the first probe in seconds.", + "type": "integer" + } + } + }, + "AKSServiceResponse": { + "description": "The response for an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AKSVariantResponse" + }, + { + "type": "object", + "properties": { + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "namespace": { + "description": "The Kubernetes namespace of the deployment.", + "type": "string", + "example": "default" + }, + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "deploymentStatus": { + "description": "The deployment status.", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/AKSReplicaStatus" + } + ] + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AuthKeys": { + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string" + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string" + } + } + }, + "CreateServiceRequest": { + "description": "The base class for creating a service.", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The description of the service.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service properties dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "keys": { + "description": "The authentication keys.", + "allOf": [ + { + "$ref": "#/definitions/AuthKeys" + } + ] + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets needed for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageRequest" + } + ] + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + } + }, + "discriminator": "computeType" + }, + "ACIServiceCreateRequest": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "default": false, + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "default": false, + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "default": false, + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "dnsNameLabel": { + "description": "The Dns label for the service.", + "type": "string" + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "AKSServiceCreateRequest": { + "description": "The request to create an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateEndpointVariantRequest" + }, + { + "type": "object", + "properties": { + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "namespace": { + "description": "Kubernetes namespace for the service.", + "type": "string", + "example": "default" + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "CreateEndpointVariantRequest": { + "description": "The Variant properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "ComputeInstanceSshSettings": { + "type": "object", + "description": "Specifies policy and settings for SSH access.", + "properties": { + "sshPublicAccess": { + "type": "string", + "default": "Disabled", + "title": "Access policy for SSH", + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "sshPublicAccess", + "modelAsString": true + } + }, + "adminUserName": { + "type": "string", + "readOnly": true, + "description": "Describes the admin user name." + }, + "sshPort": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "Describes the port for connecting through SSH." + }, + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + } + } + }, + "ComputeInstanceState": { + "type": "string", + "description": "Current state of an ComputeInstance.", + "enum": [ + "Creating", + "CreateFailed", + "Deleting", + "Running", + "Restarting", + "JobRunning", + "SettingUp", + "SetupFailed", + "Starting", + "Stopped", + "Stopping", + "UserSettingUp", + "UserSetupFailed", + "Unknown", + "Unusable" + ], + "x-ms-enum": { + "name": "ComputeInstanceState", + "modelAsString": true + } + }, + "ComputeInstanceLastOperation": { + "type": "object", + "description": "The last operation on ComputeInstance.", + "properties": { + "operationName": { + "type": "string", + "description": "Name of the last operation.", + "enum": [ + "Create", + "Start", + "Stop", + "Restart", + "Reimage", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true + } + }, + "operationTime": { + "type": "string", + "format": "date-time", + "description": "Time of the last operation." + }, + "operationStatus": { + "type": "string", + "description": "Operation status.", + "enum": [ + "InProgress", + "Succeeded", + "CreateFailed", + "StartFailed", + "StopFailed", + "RestartFailed", + "ReimageFailed", + "DeleteFailed" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": true + } + } + } + }, + "ComputeInstanceApplication": { + "type": "object", + "description": "Defines an Aml Instance application and its connectivity endpoint URI.", + "properties": { + "displayName": { + "type": "string", + "description": "Name of the ComputeInstance application." + }, + "endpointUri": { + "type": "string", + "description": "Application' endpoint URI." + } + } + }, + "ComputeInstanceConnectivityEndpoints": { + "type": "object", + "readOnly": true, + "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", + "properties": { + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "Public IP Address of this ComputeInstance." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." + } + } + }, + "ComputeInstanceCreatedBy": { + "type": "object", + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Name of the user." + }, + "userOrgId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies user' Azure Active Directory organization." + }, + "userId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies the user within his/her organization." + } + } + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "$ref": "#/definitions/AssignedUser", + "title": "Assigned User.", + "description": "A user explicitly assigned to a personal compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "AssignedUser": { + "type": "object", + "description": "A user that can be assigned to a compute instance.", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ] + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "$ref": "#/definitions/CosmosDbSettings", + "description": "The settings for the service managed cosmosdb account." + } + } + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "type": "integer", + "format": "int32", + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "NotebookResourceInfo": { + "type": "object", + "properties": { + "fqdn": { + "type": "string" + }, + "resourceId": { + "type": "string", + "description": "the data plane resourceId that used to initialize notebook component" + }, + "notebookPreparationError": { + "$ref": "#/definitions/NotebookPreparationError", + "description": "The error that occurs when preparing notebook." + } + } + }, + "NotebookPreparationError": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "statusCode": { + "format": "int32", + "type": "integer" + } + } + }, + "ListNotebookKeysResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "secondaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "ListStorageAccountKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "PaginatedWorkspaceConnectionsList": { + "type": "object", + "description": "Paginated list of Workspace connection objects.", + "properties": { + "value": { + "type": "array", + "description": "An array of Workspace connection objects.", + "items": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "WorkspaceConnection": { + "x-ms-azure-resource": true, + "description": "Workspace connection.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the workspace connection.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of workspace connection.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionDto": { + "type": "object", + "description": "object used for creating workspace connection.", + "properties": { + "name": { + "description": "Friendly name of the workspace connection", + "type": "string" + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionProps": { + "type": "object", + "description": "Workspace Connection specific properties.", + "properties": { + "category": { + "description": "Category of the workspace connection.", + "type": "string" + }, + "target": { + "description": "Target of the workspace connection.", + "type": "string" + }, + "authType": { + "description": "Authorization type of the workspace connection.", + "type": "string" + }, + "value": { + "description": "Value details of the workspace connection.", + "type": "string" + }, + "valueFormat": { + "description": "format for the workspace connection value", + "type": "string", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "ValueFormat", + "modelAsString": true + } + } + } + }, + "SetupScripts": { + "type": "object", + "description": "Details of customized scripts to execute for setting up the cluster.", + "properties": { + "scripts": { + "description": "Customized setup scripts", + "$ref": "#/definitions/ScriptsToExecute" + } + } + }, + "ScriptsToExecute": { + "type": "object", + "description": "Customized setup scripts", + "properties": { + "startupScript": { + "description": "Script that's run every time the machine starts.", + "$ref": "#/definitions/ScriptReference" + }, + "creationScript": { + "description": "Script that's run only once during provision of the compute.", + "$ref": "#/definitions/ScriptReference" + } + } + }, + "ScriptReference": { + "type": "object", + "description": "Script reference", + "properties": { + "scriptSource": { + "description": "The storage source of the script: inline, workspace.", + "type": "string" + }, + "scriptData": { + "description": "The location of scripts in the mounted volume.", + "type": "string" + }, + "scriptArguments": { + "description": "Optional command line arguments passed to the script to run.", + "type": "string" + }, + "timeout": { + "description": "Optional time period passed to timeout command.", + "type": "string" + } + } + } + } +} From f4e883e1aaa682331cbfc0e7bec71050609799ab Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Fri, 12 Feb 2021 14:22:21 -0800 Subject: [PATCH 029/211] start apr2021 version for azure ml rp --- .../stable/2021-04-01/examples/ListSkus.json | 2 +- .../stable/2021-04-01/examples/ListUsages.json | 2 +- .../stable/2021-04-01/examples/ListVMSizesResult.json | 2 +- .../stable/2021-04-01/examples/ListWorkspaceFeatures.json | 2 +- .../2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json | 2 +- .../stable/2021-04-01/examples/amlComputeListNodes.json | 2 +- .../stable/2021-04-01/examples/createBasicAKSCompute.json | 2 +- .../stable/2021-04-01/examples/createBasicAmlCompute.json | 2 +- .../2021-04-01/examples/createBasicDataFactoryCompute.json | 2 +- .../stable/2021-04-01/examples/createComputeInstance.json | 2 +- .../2021-04-01/examples/createComputeInstanceMinimal.json | 2 +- .../stable/2021-04-01/examples/createOrUpdateService.json | 2 +- .../stable/2021-04-01/examples/createWorkspace.json | 2 +- .../stable/2021-04-01/examples/createWorkspaceConnection.json | 2 +- .../stable/2021-04-01/examples/deleteCompute.json | 2 +- .../stable/2021-04-01/examples/deleteService.json | 2 +- .../stable/2021-04-01/examples/deleteWorkspace.json | 2 +- .../stable/2021-04-01/examples/deleteWorkspaceConnection.json | 2 +- .../stable/2021-04-01/examples/getAKSCompute.json | 2 +- .../stable/2021-04-01/examples/getAmlCompute.json | 2 +- .../stable/2021-04-01/examples/getComputeInstance.json | 2 +- .../stable/2021-04-01/examples/getComputes.json | 2 +- .../stable/2021-04-01/examples/getService.json | 2 +- .../stable/2021-04-01/examples/getServices.json | 2 +- .../stable/2021-04-01/examples/getWorkspace.json | 2 +- .../stable/2021-04-01/examples/getWorkspaceConnection.json | 2 +- .../2021-04-01/examples/getWorkspacesByResourceGroup.json | 2 +- .../stable/2021-04-01/examples/getWorkspacesBySubscription.json | 2 +- .../stable/2021-04-01/examples/listKeysAKSCompute.json | 2 +- .../stable/2021-04-01/examples/listNotebookAccessToken.json | 2 +- .../stable/2021-04-01/examples/listNotebookKeys.json | 2 +- .../stable/2021-04-01/examples/listStorageAccountKeys.json | 2 +- .../stable/2021-04-01/examples/listWorkspaceConnections.json | 2 +- .../stable/2021-04-01/examples/listWorkspaceKeys.json | 2 +- .../stable/2021-04-01/examples/patchAmlCompute.json | 2 +- .../stable/2021-04-01/examples/restartComputeInstance.json | 2 +- .../stable/2021-04-01/examples/resyncWorkspaceKeys.json | 2 +- .../stable/2021-04-01/examples/startComputeInstance.json | 2 +- .../stable/2021-04-01/examples/stopComputeInstance.json | 2 +- .../stable/2021-04-01/examples/updateAKSCompute.json | 2 +- .../stable/2021-04-01/examples/updateAmlCompute.json | 2 +- .../stable/2021-04-01/examples/updateQuota.json | 2 +- .../stable/2021-04-01/examples/updateWorkspace.json | 2 +- .../examples/workspaceDeletePrivateEndpointConnection.json | 2 +- .../examples/workspaceGetPrivateEndpointConnection.json | 2 +- .../2021-04-01/examples/workspaceListPrivateLinkResources.json | 2 +- .../stable/2021-04-01/examples/workspacePrepareNotebook.json | 2 +- .../examples/workspacePutPrivateEndpointConnection.json | 2 +- .../stable/2021-04-01/machineLearningServices.json | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json index a56dbf57fd34..b278654e9d24 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-04-01", "subscriptionId": "{subscription-id}" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json index 68b2e72f8915..77970b4c0002 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json index 877cb1dba436..67c43915df17 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "location": "eastus" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json index aba42527c1cf..45bc14282ce4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-01-01", + "api-version": "2021-04-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "testworkspace" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json index c36f1646f0a2..3b3ad33a2397 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json index 2174c4c8fea9..f769623a5e7b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json index 1c5714d2dac4..9585ffacc15b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json index 328fd2d68172..fc56e0855973 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json index 76ae4d4f79d8..fad53bdc7598 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json index e5b9ad686a5e..6d3b484b5d7a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json index 5921ac0c97f7..f3dc554563a8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json index 3a1e120978fd..16a2c8444327 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "serviceName": "service456", "properties": { "computeType": "ACI", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json index fc2e08faf01a..05cd79741447 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus2euap", "sku": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json index eabd65421b18..048a72c9ddee 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "name": "connection-1", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json index 540753c2af1d..661c6f32341c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "underlyingResourceAction": "Delete" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json index 2dedeada8383..8f0c3e18fa3f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "serviceName": "service123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json index fa0099c530d7..16629317b7bd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json index 4fe4b01aa447..2bef74cf4ca3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json index ef8139b6589e..173a2628e1f4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json index b4adb193c749..116337af2009 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json index f385439c5b99..9fe4ed60705d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json index aa7493d72301..1f50b7c24ecc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json index 37834f89ef69..c398a964daba 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "serviceName": "service123" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json index 940a1f6c8759..11faafd579b2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json @@ -3,7 +3,7 @@ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json index 57915b0afdf8..4597f56f07f7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json index 0d838c48b1a3..9c8ea2587b37 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json index 604d25fbbe2b..c1e9ee976875 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json index e0126a293475..8370fa226327 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json index cd40aa9e4327..93b7281ad70c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json index d9ef5e8d3b3a..d2aa56f56020 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2020-09-01-preview" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json index e02b84c3b2d4..4abc178d2897 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json index 49d788cbd2ee..01d212d17a90 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json index 96af4f9e046e..9fcb9a44d569 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "target": "www.facebook.com", "category": "ACR" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json index 207b8d91b5fd..3ad2001d73a1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json index 5b63a4bd4255..10b2d05e1594 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "properties": { "scaleSettings": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json index 7bb50a4f6560..14ed35e2d8c2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json index 60a59823f10e..0f541acd48a5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json index d7240808c50c..cfcd3c6a0a65 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json index d7240808c50c..cfcd3c6a0a65 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json index 9bcdc92f6304..5472e4dd1829 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json index c838b1ad1147..aa6d97c43858 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json index f0b7572211a0..6d6387350f36 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "value": [ { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json index 699f5616f7eb..f4335d220fa8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "parameters": { "sku": { "name": "Enterprise", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json index 98c2f181688b..9d97638f0312 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json index c295405c483d..832e9bcc718f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json index 7bddf0ccb1f2..f2be95d4b53a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json index f99dca0b4282..b70e6f184550 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-01-01" + "api-version": "2021-04-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json index 721aa2f88cda..292c8cc49442 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-01-01", + "api-version": "2021-04-01", "monitor": "true", "properties": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index a4b50cb78507..b467f7b034b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Machine Learning Workspaces", "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", - "version": "2021-01-01" + "version": "2021-04-01" }, "host": "management.azure.com", "schemes": [ From d3460943507477a03b8d015447890ec100059b1b Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Fri, 12 Feb 2021 14:58:04 -0800 Subject: [PATCH 030/211] undo remove new line in jan2021 --- .../stable/2021-01-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 7dc1de54b647..2e263b6c0bec 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -6510,4 +6510,4 @@ } } } -} \ No newline at end of file +} From 53699925692c0aa5855910391e852c12bae509c5 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 2 Mar 2021 13:19:03 -0800 Subject: [PATCH 031/211] use systemData definition in common --- .../2021-04-01/machineLearningServices.json | 49 +------------------ 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index b467f7b034b6..d8b23a9c743b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3020,8 +3020,7 @@ "description": "The sku of the workspace." }, "systemData": { - "$ref": "#/definitions/SystemData", - "readOnly": true + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -4593,52 +4592,6 @@ } ] }, - "SystemData": { - "description": "Read only system data", - "type": "object", - "properties": { - "createdBy": { - "type": "string", - "description": "An identifier for the identity that created the resource" - }, - "createdByType": { - "$ref": "#/definitions/IdentityType", - "description": "The type of identity that created the resource" - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)" - }, - "lastModifiedBy": { - "type": "string", - "description": "An identifier for the identity that last modified the resource" - }, - "lastModifiedByType": { - "$ref": "#/definitions/IdentityType", - "description": "The type of identity that last modified the resource" - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - } - } - }, - "IdentityType": { - "description": "The type of identity that creates/modifies resources", - "type": "string", - "enum": [ - "user", - "application", - "managedIdentity", - "key" - ], - "x-ms-enum": { - "name": "IdentityType", - "modelAsString": true - } - }, "ServiceResponseBase": { "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)", "required": [ From 63d49cfce266c5fdb26a8f55d0c4a8ab57c31734 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 2 Mar 2021 14:14:44 -0800 Subject: [PATCH 032/211] removed old files --- .../examples/createLinkedService.json | 40 --------------- .../examples/deleteLinkedService.json | 13 ----- .../2021-01-01/examples/getLinkedService.json | 30 ----------- .../examples/listLinkedServices.json | 50 ------------------- 4 files changed, 133 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json deleted file mode 100644 index 930701d6f441..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/createLinkedService.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "linkName": "link-1", - "api-version": "2020-04-01-preview", - "parameters": { - "name": "link-1", - "location": "westus", - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", - "name": "link-1", - "location": "westus", - "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", - "identity": { - "type": "SystemAssigned", - "principalId": "aaaaaaaa-1111-2222-3333-444444444444", - "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" - }, - "properties": { - "createdTime": "2020-07-28T16:33:05.8246167-07:00", - "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", - "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.Synapse/workspaces/Syn-1", - "linkType": "Synapse" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json deleted file mode 100644 index e6e30e2b4bdd..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/deleteLinkedService.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "linkName": "link-1", - "api-version": "2020-04-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json deleted file mode 100644 index d2a8c1d213ea..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/getLinkedService.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "linkName": "link-1", - "api-version": "2020-04-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", - "name": "link-1", - "location": "westus", - "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", - "identity": { - "type": "SystemAssigned", - "principalId": "aaaaaaaa-1111-2222-3333-444444444444", - "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" - }, - "properties": { - "createdTime": "2020-07-28T16:33:05.8246167-07:00", - "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", - "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/Syn-1", - "linkType": "Synapse" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json deleted file mode 100644 index f231946917ce..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/examples/listLinkedServices.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "api-version": "2020-04-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-1", - "name": "link-1", - "location": "westus", - "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", - "identity": { - "type": "SystemAssigned", - "principalId": "aaaaaaaa-1111-2222-3333-444444444444", - "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" - }, - "properties": { - "createdTime": "2020-07-28T16:33:05.8246167-07:00", - "modifiedTime": "2020-07-28T16:33:06.1050872-07:00", - "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-1/providers/Microsoft.Synapse/workspaces/Syn-1", - "linkType": "Synapse" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedServices/link-2", - "name": "link-2", - "location": "westus", - "type": "Microsoft.MachineLearningServices/workspaces/linkedServices", - "identity": { - "type": "SystemAssigned", - "principalId": "cccccccc-1111-2222-3333-444444444444", - "tenantId": "bbbbbbbb-1111-2222-3333-444444444444" - }, - "properties": { - "createdTime": "2020-07-29T16:33:05.8246167-07:00", - "modifiedTime": "2020-07-29T16:33:06.1050872-07:00", - "linkedServiceResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/linkRg-2/providers/Microsoft.Synapse/workspaces/Syn-2", - "linkType": "Synapse" - } - } - ] - } - } - } -} From 2818e5f4132995093c588f09e9bf3b2b628bd199 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Thu, 4 Mar 2021 14:49:31 -0800 Subject: [PATCH 033/211] fix small swagger bugs --- .../2021-04-01/machineLearningServices.json | 37 +++++++++++++++++-- 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index d8b23a9c743b..bf7f2656a81b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -2373,6 +2373,22 @@ "primaryUserAssignedIdentity": { "description": "The user assigned identity resource id that represents the workspace identity.", "type": "string" + }, + "subscriptionState": { + "readOnly":true, + "$ref": "#/definitions/SubscriptionState" + }, + "subscriptionStatusChangeTimeStampUtc": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Subscription state change time.", + "description": "The time at which the subscription state changed." + }, + "tenantId": { + "description": "The tenant id associated with this workspace.", + "type": "string", + "readOnly": true } } }, @@ -4102,6 +4118,22 @@ "modelAsString": true } }, + "SubscriptionState": { + "type": "string", + "description": "The state AzureML workspace's subscription", + "enum": [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": false + } + }, "MachineLearningServiceError": { "type": "object", "description": "Wrapper for error response to follow ARM guidelines.", @@ -4569,10 +4601,7 @@ "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", "type": "string" } - }, - "required": [ - "userAssignedIdentity" - ] + } }, "ServiceResource": { "type": "object", From 45a3c2bc38b2f1e31c7628393372bbfabfbebdc6 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Tue, 30 Mar 2021 00:10:38 -0700 Subject: [PATCH 034/211] run prettier --- .../stable/2021-04-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index bf7f2656a81b..4b163b5412d6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -2375,7 +2375,7 @@ "type": "string" }, "subscriptionState": { - "readOnly":true, + "readOnly": true, "$ref": "#/definitions/SubscriptionState" }, "subscriptionStatusChangeTimeStampUtc": { From 97107b44fb21fdd2befb73965fca3b395cf73e92 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Tue, 30 Mar 2021 00:30:34 -0700 Subject: [PATCH 035/211] remove reference to sku --- .../stable/2021-04-01/examples/createWorkspace.json | 12 ------------ .../stable/2021-04-01/examples/getWorkspace.json | 4 ---- .../examples/getWorkspacesByResourceGroup.json | 8 -------- .../examples/getWorkspacesBySubscription.json | 8 -------- .../stable/2021-04-01/examples/updateWorkspace.json | 8 -------- 5 files changed, 40 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json index 05cd79741447..81dc89958504 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json @@ -6,10 +6,6 @@ "api-version": "2021-04-01", "parameters": { "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "identity": { "type": "SystemAssigned,UserAssigned", "userAssignedIdentities": { @@ -68,10 +64,6 @@ } } }, - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -125,10 +117,6 @@ } } }, - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json index 4597f56f07f7..593ced4b17f0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json @@ -24,10 +24,6 @@ } } }, - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json index c1e9ee976875..5ee3757f2018 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json @@ -13,10 +13,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -32,10 +28,6 @@ "name": "testworkspace1", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json index 8370fa226327..066261e0c0a9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json @@ -12,10 +12,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -31,10 +27,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json index f4335d220fa8..94a938bc46e3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json @@ -5,10 +5,6 @@ "workspaceName": "testworkspace", "api-version": "2021-04-01", "parameters": { - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "friendlyName": "New friendly name", "description": "new description" @@ -27,10 +23,6 @@ "tenantId": "00000000-1111-2222-3333-444444444444", "type": "SystemAssigned" }, - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", From aaadda37a44f6f2b0991a1f58be3b919864f72cb Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Tue, 30 Mar 2021 07:46:19 -0700 Subject: [PATCH 036/211] update readme --- .../resource-manager/readme.md | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 421d55af5b7d..49cd87562150 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -26,7 +26,15 @@ These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2021-01-01 +tag: package-2021-04-01 +``` +### Tag: package-2021-04-01 + +These settings apply only when `--tag=package-2021-04` is specified on the command line. + +```yaml $(tag) == 'package-2021-04-01' +input-file: + - Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json ``` ### Tag: package-2021-01-01 @@ -232,6 +240,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/ser ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-04-01 - tag: package-2021-01-01 - tag: package-2020-08-01 - tag: package-2020-06-01 @@ -248,6 +257,19 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` +### Tag: package-2021-04-01 and java + +These settings apply only when `--tag=package-2021-04-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-04-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2021_04_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_04_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2021-01-01 and java These settings apply only when `--tag=package-2021-01-01 --java` is specified on the command line. From 6fe7c50dc1f237e49da82163ae42e8cb4ca3472f Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 12:53:37 -0700 Subject: [PATCH 037/211] minimum agentCount should be 0 --- .../stable/2021-04-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 4b163b5412d6..b82f841c82d1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3273,7 +3273,7 @@ "description": "Number of agents", "type": "integer", "format": "int32", - "minimum": 1 + "minimum": 0 }, "agentVmSize": { "description": "Agent virtual machine size", From a1ac282c16bb98b63fc981d44e1d08a662a08ed9 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 14:28:54 -0700 Subject: [PATCH 038/211] add createdOn and ModifiedOn to compute properties --- .../2021-04-01/machineLearningServices.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index b82f841c82d1..109706e96d7c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3222,6 +3222,18 @@ "type": "string", "description": "The description of the Machine Learning compute." }, + "createdOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was created." + }, + "modifiedOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was last modified." + }, "resourceId": { "type": "string", "description": "ARM resource id of the underlying compute" @@ -4159,6 +4171,11 @@ "description": "Error message.", "readOnly": true }, + "target": { + "type": "string", + "description": "The target of the particular error", + "readOnly": true + }, "details": { "type": "array", "description": "An array of error detail objects.", From c8bbd9ce8ef9adea7ce0440b38e1f229bc53f7f4 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 14:34:52 -0700 Subject: [PATCH 039/211] add LoadBalancerType to aks compute --- .../2021-04-01/machineLearningServices.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 109706e96d7c..deb2707da1d9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3312,6 +3312,23 @@ "aksNetworkingConfiguration": { "description": "AKS networking configuration for vnet", "$ref": "#/definitions/AksNetworkingConfiguration" + }, + "LoadBalancerType": { + "description": "Load Balancer Type", + "type": "string", + "default": "PublicIp", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + } + }, + "LoadBalancerSubnet": { + "description": "Load Balancer Subnet", + "type": "string" } } } From 2cc4a86f93bca6c92a1c712de4160888579b24f5 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 14:38:15 -0700 Subject: [PATCH 040/211] add isNotebookInstanceCompute to virtualMachine --- .../stable/2021-04-01/machineLearningServices.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index deb2707da1d9..1c97bd4bd3f4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3613,6 +3613,10 @@ "administratorAccount": { "description": "Admin credentials for virtual machine", "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + "isNotebookInstanceCompute": { + "description": "Indicates whether this compute will be used for running notebooks.", + "type": "boolean" } } } From 8335e6819a5d71978daa7ed006f0af16f04a9899 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 14:45:21 -0700 Subject: [PATCH 041/211] add leafDomainLabel to SslConfiguration --- .../stable/2021-04-01/machineLearningServices.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 1c97bd4bd3f4..9b82623e0129 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3779,6 +3779,10 @@ "cname": { "description": "CNAME of the cert", "type": "string" + }, + "leafDomainLabel": { + "description": "Leaf domain label of public endpoint", + "type": "string" } } }, From 0a9921dbe9f69927f54ec8be180cbc098e5c79e6 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Tue, 30 Mar 2021 14:47:00 -0700 Subject: [PATCH 042/211] add overwriteExistingDomain to SslConfiguration --- .../stable/2021-04-01/machineLearningServices.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 9b82623e0129..a94fb206dcbc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3783,6 +3783,10 @@ "leafDomainLabel": { "description": "Leaf domain label of public endpoint", "type": "string" + }, + "overwriteExistingDomain": { + "description": "Indicates whether to overwrite existing domain label.", + "type": "boolean" } } }, From 4344156e4c0fc314dfae96cebde9ae179d6309d4 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 31 Mar 2021 14:48:39 -0700 Subject: [PATCH 043/211] add synapseSpark as supported compute-type --- .../stable/2021-04-01/machineLearningServices.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index a94fb206dcbc..46a5f6253914 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -4152,7 +4152,8 @@ "VirtualMachine", "HDInsight", "Databricks", - "DataLakeAnalytics" + "DataLakeAnalytics", + "SynapseSpark" ], "x-ms-enum": { "name": "ComputeType", From db23cf1693d741211d108a1c7fbaebecb5993bc6 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 31 Mar 2021 14:52:28 -0700 Subject: [PATCH 044/211] update patch compute response to 202 --- .../stable/2021-04-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 46a5f6253914..ba16b4866bcf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -873,7 +873,7 @@ } ], "responses": { - "200": { + "202": { "description": "Compute update initiated.", "schema": { "$ref": "#/definitions/ComputeResource" From 048bf2551513afae842a9c4fbb5861aeddc6c33a Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 31 Mar 2021 15:33:34 -0700 Subject: [PATCH 045/211] remove location from example responses --- .../stable/2021-04-01/examples/createBasicAKSCompute.json | 2 -- .../stable/2021-04-01/examples/createBasicAmlCompute.json | 2 -- .../2021-04-01/examples/createBasicDataFactoryCompute.json | 2 -- .../stable/2021-04-01/examples/createComputeInstance.json | 2 -- .../2021-04-01/examples/createComputeInstanceMinimal.json | 6 ++---- .../stable/2021-04-01/examples/getAKSCompute.json | 1 - .../stable/2021-04-01/examples/getAmlCompute.json | 1 - .../stable/2021-04-01/examples/getComputeInstance.json | 1 - .../stable/2021-04-01/examples/getComputes.json | 2 -- .../stable/2021-04-01/examples/patchAmlCompute.json | 1 - .../stable/2021-04-01/examples/updateAKSCompute.json | 2 -- .../stable/2021-04-01/examples/updateAmlCompute.json | 2 -- 12 files changed, 2 insertions(+), 22 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json index 9585ffacc15b..30bfff050203 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -18,7 +18,6 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" @@ -30,7 +29,6 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json index fc56e0855973..b57cb39f77ca 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -34,7 +34,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" @@ -46,7 +45,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json index fad53bdc7598..635c97f8f997 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -18,7 +18,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" @@ -30,7 +29,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json index 6d3b484b5d7a..874529e0e833 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -33,7 +33,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -45,7 +44,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json index f3dc554563a8..e1941d81632a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -6,8 +6,8 @@ "computeName": "compute123", "api-version": "2021-04-01", "parameters": { - "location": "eastus", - "properties": { + "location": "eastus", + "properties": { "computeType": "ComputeInstance", "properties": { "vmSize": "STANDARD_NC6" @@ -21,7 +21,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -33,7 +32,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json index 173a2628e1f4..ecf7a3979052 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json index 116337af2009..65c75f8b271c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json index 9fe4ed60705d..afd05b64e987 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -12,7 +12,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "ComputeInstance", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json index 1f50b7c24ecc..970345b039e2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -13,7 +13,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -25,7 +24,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute1234", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json index 10b2d05e1594..e3def2224bb9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -21,7 +21,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json index 5472e4dd1829..13db2153fb9a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -23,7 +23,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -37,7 +36,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json index aa6d97c43858..2ddb0224ccd7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -26,7 +26,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", @@ -39,7 +38,6 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", - "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", From 0088b8c076b8015924879a5a1d0c5bb6b22dfecf Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 31 Mar 2021 16:57:17 -0700 Subject: [PATCH 046/211] Revert "remove location from example responses" This reverts commit 048bf2551513afae842a9c4fbb5861aeddc6c33a. --- .../stable/2021-04-01/examples/createBasicAKSCompute.json | 2 ++ .../stable/2021-04-01/examples/createBasicAmlCompute.json | 2 ++ .../2021-04-01/examples/createBasicDataFactoryCompute.json | 2 ++ .../stable/2021-04-01/examples/createComputeInstance.json | 2 ++ .../2021-04-01/examples/createComputeInstanceMinimal.json | 6 ++++-- .../stable/2021-04-01/examples/getAKSCompute.json | 1 + .../stable/2021-04-01/examples/getAmlCompute.json | 1 + .../stable/2021-04-01/examples/getComputeInstance.json | 1 + .../stable/2021-04-01/examples/getComputes.json | 2 ++ .../stable/2021-04-01/examples/patchAmlCompute.json | 1 + .../stable/2021-04-01/examples/updateAKSCompute.json | 2 ++ .../stable/2021-04-01/examples/updateAmlCompute.json | 2 ++ 12 files changed, 22 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json index 30bfff050203..9585ffacc15b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -18,6 +18,7 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" @@ -29,6 +30,7 @@ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "AKS", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json index b57cb39f77ca..fc56e0855973 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -34,6 +34,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" @@ -45,6 +46,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "AmlCompute", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json index 635c97f8f997..fad53bdc7598 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -18,6 +18,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" @@ -29,6 +30,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "DataFactory", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json index 874529e0e833..6d3b484b5d7a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -33,6 +33,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -44,6 +45,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json index e1941d81632a..f3dc554563a8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -6,8 +6,8 @@ "computeName": "compute123", "api-version": "2021-04-01", "parameters": { - "location": "eastus", - "properties": { + "location": "eastus", + "properties": { "computeType": "ComputeInstance", "properties": { "vmSize": "STANDARD_NC6" @@ -21,6 +21,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" @@ -32,6 +33,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "computeType": "ComputeInstance", "provisioningState": "Creating" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json index ecf7a3979052..173a2628e1f4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -12,6 +12,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json index 65c75f8b271c..116337af2009 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -12,6 +12,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json index afd05b64e987..9fe4ed60705d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -12,6 +12,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus2", "properties": { "description": "some compute", "computeType": "ComputeInstance", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json index 970345b039e2..1f50b7c24ecc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -13,6 +13,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -24,6 +25,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute1234", + "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json index e3def2224bb9..10b2d05e1594 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -21,6 +21,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json index 13db2153fb9a..5472e4dd1829 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -23,6 +23,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", @@ -36,6 +37,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus", "properties": { "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json index 2ddb0224ccd7..aa6d97c43858 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -26,6 +26,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", @@ -38,6 +39,7 @@ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", "type": "Microsoft.MachineLearningServices/workspaces/computes", "name": "compute123", + "location": "eastus2", "properties": { "description": "some compute", "computeType": "AmlCompute", From 973ae5a49db2e2c5630aa4d2b76bb44bf4f7a277 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Thu, 1 Apr 2021 14:04:13 -0700 Subject: [PATCH 047/211] MachineLearningCompute_Update should have a 200 response --- .../stable/2021-04-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index ba16b4866bcf..46a5f6253914 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -873,7 +873,7 @@ } ], "responses": { - "202": { + "200": { "description": "Compute update initiated.", "schema": { "$ref": "#/definitions/ComputeResource" From cb6d9c880003a59a57757d6e7a57cdcf98b00ab1 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Thu, 1 Apr 2021 23:33:40 -0700 Subject: [PATCH 048/211] sys data to use local def due to naming conflicts. --- .../2021-04-01/machineLearningServices.json | 55 ++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 46a5f6253914..6178fbe16957 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3036,7 +3036,60 @@ "description": "The sku of the workspace." }, "systemData": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + "$ref": "#/definitions/systemData" + } + } + }, + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "type": "object", + "readOnly": true, + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "createdByType", + "modelAsString": true + } + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" } } }, From c5bd245cf3fec3e31409a95b5961ec38fb6cf061 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Thu, 1 Apr 2021 23:48:54 -0700 Subject: [PATCH 049/211] Fix enum casing --- .../stable/2021-04-01/examples/createOrUpdateService.json | 4 ++-- .../stable/2021-04-01/examples/getService.json | 4 ++-- .../stable/2021-04-01/examples/getServices.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json index 16a2c8444327..e61e067bb910 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json @@ -91,10 +91,10 @@ "name": "service456", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json index c398a964daba..16e0b4b8f0f0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json @@ -14,10 +14,10 @@ "name": "service123", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json index 11faafd579b2..9fa009beb772 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json @@ -15,10 +15,10 @@ "name": "service123", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { From 3bfe3f8983c7dc15448629c5a2ac22a3a52fa5bc Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Sun, 4 Apr 2021 22:09:38 -0700 Subject: [PATCH 050/211] Fix operationId PR comment. --- .../stable/2021-01-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index 2e263b6c0bec..f37783b70142 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -1216,7 +1216,7 @@ "WorkspaceSkus" ], "description": "Lists all skus with associated features", - "operationId": "ListSkus", + "operationId": "Workspace_ListSkus", "x-ms-examples": { "List Skus": { "$ref": "./examples/ListSkus.json" From fc946f14fc1996dec385cf640641e5996ca92636 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Mon, 5 Apr 2021 14:38:19 -0700 Subject: [PATCH 051/211] Change opId in apr version --- .../stable/2021-01-01/machineLearningServices.json | 2 +- .../stable/2021-04-01/machineLearningServices.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json index f37783b70142..2e263b6c0bec 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-01-01/machineLearningServices.json @@ -1216,7 +1216,7 @@ "WorkspaceSkus" ], "description": "Lists all skus with associated features", - "operationId": "Workspace_ListSkus", + "operationId": "ListSkus", "x-ms-examples": { "List Skus": { "$ref": "./examples/ListSkus.json" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 6178fbe16957..065988f41539 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -1220,7 +1220,7 @@ "WorkspaceSkus" ], "description": "Lists all skus with associated features", - "operationId": "ListSkus", + "operationId": "Workspace_ListSkus", "x-ms-examples": { "List Skus": { "$ref": "./examples/ListSkus.json" From 06b8f2dd06e0a7f0d6509ea7c788f5c0cf742be2 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Mon, 5 Apr 2021 22:25:48 -0700 Subject: [PATCH 052/211] remove 20210401 for easy review --- .../stable/2021-04-01/examples/ListSkus.json | 79 - .../2021-04-01/examples/ListUsages.json | 400 - .../examples/ListVMSizesResult.json | 348 - .../examples/ListWorkspaceFeatures.json | 26 - .../ListWorkspaceQuotasByVMFamily.json | 415 -- .../examples/amlComputeListNodes.json | 34 - .../examples/createBasicAKSCompute.json | 44 - .../examples/createBasicAmlCompute.json | 60 - .../createBasicDataFactoryCompute.json | 44 - .../examples/createComputeInstance.json | 59 - .../createComputeInstanceMinimal.json | 47 - .../examples/createOrUpdateService.json | 225 - .../2021-04-01/examples/createWorkspace.json | 157 - .../examples/createWorkspaceConnection.json | 33 - .../2021-04-01/examples/deleteCompute.json | 19 - .../2021-04-01/examples/deleteService.json | 13 - .../2021-04-01/examples/deleteWorkspace.json | 13 - .../examples/deleteWorkspaceConnection.json | 13 - .../2021-04-01/examples/getAKSCompute.json | 25 - .../2021-04-01/examples/getAmlCompute.json | 52 - .../examples/getComputeInstance.json | 58 - .../2021-04-01/examples/getComputes.json | 41 - .../2021-04-01/examples/getService.json | 157 - .../2021-04-01/examples/getServices.json | 282 - .../2021-04-01/examples/getWorkspace.json | 84 - .../examples/getWorkspaceConnection.json | 24 - .../getWorkspacesByResourceGroup.json | 46 - .../examples/getWorkspacesBySubscription.json | 45 - .../examples/listKeysAKSCompute.json | 19 - .../examples/listNotebookAccessToken.json | 20 - .../2021-04-01/examples/listNotebookKeys.json | 16 - .../examples/listStorageAccountKeys.json | 15 - .../examples/listWorkspaceConnections.json | 40 - .../examples/listWorkspaceKeys.json | 35 - .../2021-04-01/examples/patchAmlCompute.json | 36 - .../examples/restartComputeInstance.json | 12 - .../examples/resyncWorkspaceKeys.json | 12 - .../examples/startComputeInstance.json | 12 - .../examples/stopComputeInstance.json | 12 - .../2021-04-01/examples/updateAKSCompute.json | 53 - .../2021-04-01/examples/updateAmlCompute.json | 54 - .../2021-04-01/examples/updateQuota.json | 45 - .../2021-04-01/examples/updateWorkspace.json | 38 - ...kspaceDeletePrivateEndpointConnection.json | 14 - ...workspaceGetPrivateEndpointConnection.json | 30 - .../workspaceListPrivateLinkResources.json | 28 - .../examples/workspacePrepareNotebook.json | 21 - ...workspacePutPrivateEndpointConnection.json | 38 - .../2021-04-01/machineLearningServices.json | 6599 ----------------- 49 files changed, 9992 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json deleted file mode 100644 index b278654e9d24..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01", - "subscriptionId": "{subscription-id}" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "workspaces", - "name": "Basic", - "tier": "Basic", - "locations": [ - "westus" - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ02", - "westus-AZ01" - ] - } - ], - "capabilities": [ - { - "name": "automatedml_readhyperdrivesdk", - "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" - }, - { - "name": "workspace_upgradeworkspacesdk", - "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" - } - ], - "restrictions": [] - }, - { - "resourceType": "workspaces", - "name": "Enterprise", - "tier": "Enterprise", - "locations": [ - "westus" - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ01" - ], - "zoneDetails": [ - { - "name": [ - "westus-AZ01" - ], - "capabilities": [ - { - "name": "automatedml_createeditexperimentssdk", - "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" - } - ] - } - ] - } - ], - "capabilities": [ - { - "name": "automatedml_createeditexperimentssdk", - "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" - } - ], - "restrictions": [] - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json deleted file mode 100644 index 77970b4c0002..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json +++ /dev/null @@ -1,400 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", - "type": "Microsoft.MachineLearningServices/totalCores/usages", - "currentValue": 7, - "limit": 100, - "name": { - "localizedValue": "Clusters", - "value": "Clusters" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", - "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", - "currentValue": 14, - "limit": 24, - "name": { - "localizedValue": "Total Cluster Dedicated Regional vCPUs", - "value": "Total Cluster Dedicated Regional vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 48, - "name": { - "localizedValue": "Standard D Family Cluster Dedicated vCPUs", - "value": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 2, - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/usages", - "currentValue": 2, - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", - "currentValue": 2, - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", - "currentValue": 0, - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 24, - "name": { - "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", - "value": "Standard Dv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 24, - "name": { - "value": "Standard FSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 12, - "limit": 24, - "name": { - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", - "value": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspace/usages", - "currentValue": 6, - "limit": 24, - "name": { - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", - "value": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspace/computes/usages", - "currentValue": 6, - "limit": 24, - "name": { - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", - "value": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/usages", - "currentValue": 6, - "limit": 24, - "name": { - "value": "Standard NC Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", - "currentValue": 6, - "limit": 24, - "name": { - "value": "Standard NC Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 0, - "name": { - "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", - "value": "Standard NCv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 0, - "name": { - "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", - "value": "Standard NCv3 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 0, - "name": { - "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", - "value": "Standard ND Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 0, - "name": { - "value": "Standard NDv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": 24, - "name": { - "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", - "value": "Standard NV Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", - "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", - "currentValue": 18, - "limit": 50, - "name": { - "localizedValue": "Total Cluster LowPriority Regional vCPUs", - "value": "Total Cluster LowPriority Regional vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "value": "Standard D Family Cluster LowPriority vCPUs", - "localizedValue": "Standard D Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", - "value": "Standard DSv2 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", - "value": "Standard Dv2 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", - "value": "Standard FSv2 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 18, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/workspace/usages", - "currentValue": 6, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspace/computes/usages", - "currentValue": 6, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/workspace/usages", - "currentValue": 12, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspace/computes/usages", - "currentValue": 6, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "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", - "type": "Microsoft.MachineLearningServices/workspace/computes/usages", - "currentValue": 6, - "limit": -1, - "name": { - "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", - "value": "Standard NC Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", - "value": "Standard NCv2 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", - "value": "Standard NCv3 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", - "value": "Standard ND Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", - "value": "Standard NDv2 Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/usages", - "currentValue": 0, - "limit": -1, - "name": { - "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", - "value": "Standard NV Family Cluster LowPriority vCPUs" - }, - "unit": "Count" - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json deleted file mode 100644 index 67c43915df17..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json +++ /dev/null @@ -1,348 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2021-04-01", - "location": "eastus" - }, - "responses": { - "200": { - "body": { - "amlCompute": [ - { - "name": "Standard_D1_v2", - "family": "standardDv2Family", - "vCPUs": 1, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 51200, - "memoryGB": 3.5, - "lowPriorityCapable": true, - "premiumIO": false, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.05, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.12, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 0.01, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.06, - "osType": "Linux", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_D2_v2", - "family": "standardDv2Family", - "vCPUs": 2, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 102400, - "memoryGB": 7, - "lowPriorityCapable": true, - "premiumIO": false, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.09, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.23, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 0.11, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 0.02, - "osType": "Linux", - "vmTier": "LowPriority" - } - ] - } - }, - { - "name": "Standard_D11_v2", - "family": "standardDv2Family", - "vCPUs": 2, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 102400, - "memoryGB": 14, - "lowPriorityCapable": true, - "premiumIO": false, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.15, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 0.1, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.03, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.24, - "osType": "Windows", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_DS1_v2", - "family": "standardDSv2Family", - "vCPUs": 1, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 7168, - "memoryGB": 3.5, - "lowPriorityCapable": true, - "premiumIO": true, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.05, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.12, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 0.01, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.06, - "osType": "Linux", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_F2s_v2", - "family": "standardFSv2Family", - "vCPUs": 2, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 16384, - "memoryGB": 4, - "lowPriorityCapable": true, - "premiumIO": true, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.02, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.08, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 0.06, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.16, - "osType": "Windows", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_M32-8ms", - "family": "standardMSFamily", - "vCPUs": 32, - "gpus": 0, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1024000, - "memoryGB": 875, - "lowPriorityCapable": true, - "premiumIO": true, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 8.43, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 1.23, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 3.37, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 6.15, - "osType": "Linux", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_NC6", - "family": "standardNCFamily", - "vCPUs": 6, - "gpus": 1, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 389120, - "memoryGB": 56, - "lowPriorityCapable": true, - "premiumIO": false, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 0.18, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.43, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.9, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 1.08, - "osType": "Windows", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_NV6", - "family": "standardNVFamily", - "vCPUs": 6, - "gpus": 1, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 389120, - "memoryGB": 56, - "lowPriorityCapable": true, - "premiumIO": false, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 1.28, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 0.51, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.22, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 1.09, - "osType": "Linux", - "vmTier": "Standard" - } - ] - } - }, - { - "name": "Standard_ND6s", - "family": "standardNDSFamily", - "vCPUs": 6, - "gpus": 1, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 344064, - "memoryGB": 112, - "lowPriorityCapable": true, - "premiumIO": true, - "estimatedVMPrices": { - "billingCurrency": "USD", - "unitOfMeasure": "OneHour", - "values": [ - { - "retailPrice": 2.07, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 0.36, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.87, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 2.49, - "osType": "Windows", - "vmTier": "Standard" - } - ] - } - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json deleted file mode 100644 index 45bc14282ce4..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "api-version": "2021-04-01", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "myResourceGroup", - "workspaceName": "testworkspace" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "automatedml_createeditexperimentsui", - "displayName": "Create edit experiments UI", - "description": "Create, edit or delete AutoML experiments in the SDK" - }, - { - "id": "workspace_upgradeworkspaceui", - "displayName": "Upgrade workspace UI", - "description": "Upgrade workspace from Basic to enterprise from the UI" - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json deleted file mode 100644 index 3b3ad33a2397..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json +++ /dev/null @@ -1,415 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 48, - "name": { - "localizedValue": "Standard D Family Cluster Dedicated vCPUs", - "value": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 12, - "name": { - "value": "Standard D Family Cluster Dedicated vCPUs", - "localizedValue": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 12, - "name": { - "value": "Standard D Family Cluster Dedicated vCPUs", - "localizedValue": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard D Family Cluster Dedicated vCPUs", - "localizedValue": "Standard D Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quota", - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 12, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 12, - "name": { - "value": "Standard DSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 24, - "name": { - "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", - "value": "Standard Dv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard Dv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard Dv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard Dv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 24, - "name": { - "value": "Standard FSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard FSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard FSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 12, - "name": { - "value": "Standard FSv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 24, - "name": { - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", - "value": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NC Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NC Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NC Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 0, - "name": { - "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", - "value": "Standard NCv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 0, - "name": { - "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", - "value": "Standard NCv3 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv3 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv3 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NCv3 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 0, - "name": { - "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", - "value": "Standard ND Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard ND Family Cluster Dedicated vCPUs", - "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard ND Family Cluster Dedicated vCPUs", - "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard ND Family Cluster Dedicated vCPUs", - "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 0, - "name": { - "value": "Standard NDv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NDv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NDv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 0, - "name": { - "value": "Standard NDv2 Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/vmFamily/quotas", - "limit": 24, - "name": { - "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", - "value": "Standard NV Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NV Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NV Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 24, - "name": { - "value": "Standard NV Family Cluster Dedicated vCPUs", - "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" - }, - "unit": "Count" - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json deleted file mode 100644 index f769623a5e7b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "computeType": "AmlCompute", - "nodes": [ - { - "nodeId": "tvm-3601533753_1-20170719t162906z", - "privateIpAddress": "13.84.190.124", - "publicIpAddress": "13.84.190.134", - "port": 50000, - "nodeState": "running", - "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" - }, - { - "nodeId": "tvm-3601533753_2-20170719t162906z", - "privateIpAddress": "13.84.190.124", - "publicIpAddress": "13.84.190.134", - "port": 50001, - "nodeState": "idle" - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json deleted file mode 100644 index 9585ffacc15b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AKS" - } - } - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AKS", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json deleted file mode 100644 index fc56e0855973..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "osType": "Windows", - "virtualMachineImage": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" - }, - "isolatedNetwork": false, - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - }, - "remoteLoginPortPublicAccess": "NotSpecified", - "enableNodePublicIp": true - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json deleted file mode 100644 index fad53bdc7598..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "DataFactory" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "DataFactory", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json deleted file mode 100644 index 6d3b484b5d7a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "properties": { - "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", - "applicationSharingPolicy": "Personal", - "sshSettings": { - "sshPublicAccess": "Disabled" - }, - "computeInstanceAuthorizationType": "personal", - "personalComputeInstanceSettings": { - "assignedUser": { - "objectId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - } - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json deleted file mode 100644 index f3dc554563a8..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "properties": { - "vmSize": "STANDARD_NC6" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json deleted file mode 100644 index e61e067bb910..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01", - "serviceName": "service456", - "properties": { - "computeType": "ACI", - "environmentImageRequest": { - "driverProgram": "score.py", - "assets": [ - { - "id": null, - "mimeType": "application/x-python", - "url": "aml://storage/azureml/score.py", - "unpack": false - } - ], - "models": [ - { - "name": "sklearn_regression_model.pkl", - "url": "aml://storage/azureml/sklearn_regression_model.pkl", - "mimeType": "application/x-python" - } - ], - "environment": { - "name": "AzureML-Scikit-learn-0.20.3", - "version": "3", - "python": { - "interpreterPath": "python", - "userManagedDependencies": false, - "condaDependencies": { - "channels": [ - "conda-forge" - ], - "dependencies": [ - "python=3.6.2", - { - "pip": [ - "azureml-core==1.0.69", - "azureml-defaults==1.0.69", - "azureml-telemetry==1.0.69", - "azureml-train-restclients-hyperdrive==1.0.69", - "azureml-train-core==1.0.69", - "scikit-learn==0.20.3", - "scipy==1.2.1", - "numpy==1.16.2", - "joblib==0.13.2" - ] - } - ], - "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" - }, - "baseCondaEnvironment": null - }, - "environmentVariables": { - "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" - }, - "docker": { - "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", - "baseDockerfile": null, - "baseImageRegistry": { - "address": null, - "username": null, - "password": null - } - }, - "spark": { - "repositories": [], - "packages": [], - "precachePackages": true - }, - "inferencingStackVersion": null - } - }, - "containerResourceRequirements": { - "cpu": 1, - "memoryInGB": 1 - }, - "location": "eastus2", - "authEnabled": true, - "appInsightsEnabled": true - } - }, - "responses": { - "200": { - "body": { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", - "type": "Microsoft.MachineLearningServices/workspaces/services", - "name": "service456", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "properties": { - "computeType": "ACI", - "containerResourceRequirements": { - "cpu": 0.1, - "memoryInGB": 0.5, - "gpu": null, - "fpga": null - }, - "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", - "location": "eastus2", - "authEnabled": true, - "sslEnabled": false, - "appInsightsEnabled": true, - "dataCollection": { - "eventHubEnabled": false, - "storageEnabled": false - }, - "sslCertificate": "", - "sslKey": "", - "cname": null, - "publicIp": "52.177.232.98", - "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", - "modelConfigMap": { - "accountContext": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "accountName": "workspaces123", - "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" - }, - "models": { - "sklearn_regression_model1.pkl": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" - } - }, - "modelsInfo": { - "sklearn_regression_model1.pkl": { - "2": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", - "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" - } - } - } - }, - "environmentImageRequest": { - "driverProgram": "score.py", - "assets": [ - { - "id": null, - "mimeType": "application/x-python", - "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", - "unpack": false - } - ], - "modelIds": [ - "sklearn_regression_model1.pkl:2" - ], - "environment": { - "name": "AzureML-Scikit-learn-0.20.3", - "version": "3", - "python": { - "interpreterPath": "python", - "userManagedDependencies": false, - "condaDependencies": { - "channels": [ - "conda-forge" - ], - "dependencies": [ - "python=3.6.2", - { - "pip": [ - "azureml-core==1.0.69", - "azureml-defaults==1.0.69", - "azureml-telemetry==1.0.69", - "azureml-train-restclients-hyperdrive==1.0.69", - "azureml-train-core==1.0.69", - "scikit-learn==0.20.3", - "scipy==1.2.1", - "numpy==1.16.2", - "joblib==0.13.2" - ] - } - ], - "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" - }, - "baseCondaEnvironment": null - }, - "environmentVariables": { - "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" - }, - "docker": { - "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", - "baseDockerfile": null, - "baseImageRegistry": { - "address": null - } - }, - "spark": { - "repositories": [], - "packages": [], - "precachePackages": true - }, - "inferencingStackVersion": null - } - }, - "description": null, - "kvTags": {}, - "properties": { - "hasInferenceSchema": "False", - "hasHttps": "False" - }, - "state": "Transitioning" - } - } - }, - "201": { - "description": "The request was accepted.", - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json deleted file mode 100644 index 81dc89958504..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus2euap", - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": {} - } - }, - "properties": { - "friendlyName": "HelloName", - "description": "test description", - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "encryption": { - "status": "Enabled", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" - }, - "keyVaultProperties": { - "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", - "identityClientId": "" - } - }, - "hbiWorkspace": false, - "sharedPrivateLinkResources": [ - { - "name": "testdbresource", - "properties": { - "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", - "groupId": "Sql", - "requestMessage": "Please approve", - "status": "Approved" - } - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "identity": { - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { - "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - } - } - }, - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description", - "encryption": { - "status": "Enabled", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" - }, - "keyVaultProperties": { - "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", - "identityClientId": "" - } - }, - "hbiWorkspace": false, - "allowPublicAccessWhenBehindVnet": false, - "sharedPrivateLinkResources": [ - { - "name": "testdbresource", - "properties": { - "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", - "groupId": "Sql", - "requestMessage": "Please approve", - "status": "Approved" - } - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "identity": { - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { - "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - } - } - }, - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description", - "encryption": { - "status": "Enabled", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" - }, - "keyVaultProperties": { - "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", - "identityClientId": "" - } - }, - "hbiWorkspace": false, - "allowPublicAccessWhenBehindVnet": false, - "sharedPrivateLinkResources": [ - { - "name": "testdbresource", - "properties": { - "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", - "groupId": "Sql", - "requestMessage": "Please approve", - "status": "Approved" - } - } - ] - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json deleted file mode 100644 index 048a72c9ddee..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "connectionName": "connection-1", - "api-version": "2021-04-01", - "parameters": { - "name": "connection-1", - "properties": { - "category": "ACR", - "target": "www.facebook.com", - "authType": "PAT", - "value": "secrets" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", - "name": "connection-1", - "type": "Microsoft.MachineLearningServices/workspaces/connections", - "properties": { - "category": "ACR", - "target": "www.facebook.com", - "authType": "PAT", - "value": "secrets" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json deleted file mode 100644 index 661c6f32341c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "underlyingResourceAction": "Delete" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", - "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json deleted file mode 100644 index 8f0c3e18fa3f..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "serviceName": "service123", - "api-version": "2021-04-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json deleted file mode 100644 index 16629317b7bd..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json deleted file mode 100644 index 2bef74cf4ca3..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "connectionName": "connection-1", - "api-version": "2021-04-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json deleted file mode 100644 index 173a2628e1f4..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json deleted file mode 100644 index 116337af2009..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Succeeded", - "properties": { - "vmSize": "STANDARD_NC6", - "vmPriority": "Dedicated", - "osType": "Windows", - "virtualMachineImage": null, - "isolatedNetwork": false, - "subnet": "test-subnet-resource-id", - "scaleSettings": { - "maxNodeCount": 1, - "minNodeCount": 0, - "nodeIdleTimeBeforeScaleDown": "PT5M" - }, - "remoteLoginPortPublicAccess": "Enabled", - "allocationState": "Resizing", - "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", - "errors": null, - "currentNodeCount": 0, - "targetNodeCount": 1, - "nodeStateCounts": { - "preparingNodeCount": 0, - "runningNodeCount": 0, - "idleNodeCount": 0, - "unusableNodeCount": 0, - "leavingNodeCount": 0, - "preemptedNodeCount": 0 - }, - "enableNodePublicIp": true - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json deleted file mode 100644 index 9fe4ed60705d..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "ComputeInstance", - "provisioningState": "Succeeded", - "properties": { - "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", - "applicationSharingPolicy": "Shared", - "sshSettings": { - "sshPublicAccess": "Enabled", - "adminUserName": "azureuser", - "sshPort": 22 - }, - "computeInstanceAuthorizationType": "personal", - "personalComputeInstanceSettings": { - "assignedUser": { - "objectId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - } - }, - "createdBy": { - "userName": "foobar@microsoft.com", - "userOrgId": "00000000-0000-0000-0000-000000000000", - "userId": "00000000-0000-0000-0000-000000000000" - }, - "connectivityEndpoints": { - "publicIpAddress": "10.0.0.1", - "privateIpAddress": "10.0.0.1" - }, - "applications": [ - { - "displayName": "Jupyter", - "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" - } - ], - "errors": null, - "state": "Running" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json deleted file mode 100644 index 1f50b7c24ecc..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - }, - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute1234", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Succeeded" - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json deleted file mode 100644 index 16e0b4b8f0f0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json +++ /dev/null @@ -1,157 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01", - "serviceName": "service123" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", - "type": "Microsoft.MachineLearningServices/workspaces/services", - "name": "service123", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "properties": { - "computeType": "AKS", - "containerResourceRequirements": { - "cpu": 0.1, - "memoryInGB": 0.5, - "gpu": null, - "fpga": null - }, - "maxConcurrentRequestsPerContainer": 1, - "maxQueueWaitMs": 500, - "computeName": "my-aks-compute", - "namespace": "azureml-workspaces123", - "numReplicas": 1, - "dataCollection": { - "eventHubEnabled": false, - "storageEnabled": false - }, - "appInsightsEnabled": true, - "autoScaler": { - "autoscaleEnabled": false, - "minReplicas": null, - "maxReplicas": null, - "targetUtilization": null, - "refreshPeriodInSeconds": null - }, - "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", - "scoringTimeoutMs": null, - "livenessProbeRequirements": { - "failureThreshold": 3, - "successThreshold": 1, - "timeoutSeconds": 120, - "periodSeconds": 5, - "initialDelaySeconds": 310 - }, - "authEnabled": true, - "aadAuthEnabled": false, - "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", - "modelConfigMap": { - "accountContext": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "accountName": "workspaces123", - "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" - }, - "models": { - "sklearn_regression_model1.pkl": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" - } - }, - "modelsInfo": { - "sklearn_regression_model1.pkl": { - "2": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", - "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" - } - } - } - }, - "environmentImageRequest": { - "driverProgram": "score.py", - "assets": [ - { - "id": null, - "mimeType": "application/x-python", - "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", - "unpack": false - } - ], - "modelIds": [ - "sklearn_regression_model1.pkl:2" - ], - "environment": { - "name": "AzureML-Scikit-learn-0.20.3", - "version": "3", - "python": { - "interpreterPath": "python", - "userManagedDependencies": false, - "condaDependencies": { - "channels": [ - "conda-forge" - ], - "dependencies": [ - "python=3.6.2", - { - "pip": [ - "azureml-core==1.0.69", - "azureml-defaults==1.0.69", - "azureml-telemetry==1.0.69", - "azureml-train-restclients-hyperdrive==1.0.69", - "azureml-train-core==1.0.69", - "scikit-learn==0.20.3", - "scipy==1.2.1", - "numpy==1.16.2", - "joblib==0.13.2" - ] - } - ], - "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" - }, - "baseCondaEnvironment": null - }, - "environmentVariables": { - "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" - }, - "docker": { - "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", - "baseDockerfile": null, - "baseImageRegistry": { - "address": null - } - }, - "spark": { - "repositories": [], - "packages": [], - "precachePackages": true - }, - "inferencingStackVersion": null - } - }, - "description": null, - "kvTags": {}, - "properties": { - "hasInferenceSchema": "False", - "hasHttps": "False" - }, - "state": "Healthy" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json deleted file mode 100644 index 9fa009beb772..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json +++ /dev/null @@ -1,282 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", - "type": "Microsoft.MachineLearningServices/workspaces/services", - "name": "service123", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "properties": { - "computeType": "AKS", - "containerResourceRequirements": { - "cpu": 0.1, - "memoryInGB": 0.5, - "gpu": null, - "fpga": null - }, - "maxConcurrentRequestsPerContainer": 1, - "maxQueueWaitMs": 500, - "computeName": "my-aks-compute", - "namespace": "azureml-workspaces123", - "numReplicas": 1, - "dataCollection": { - "eventHubEnabled": false, - "storageEnabled": false - }, - "appInsightsEnabled": true, - "autoScaler": { - "autoscaleEnabled": false, - "minReplicas": null, - "maxReplicas": null, - "targetUtilization": null, - "refreshPeriodInSeconds": null - }, - "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", - "scoringTimeoutMs": null, - "livenessProbeRequirements": { - "failureThreshold": 3, - "successThreshold": 1, - "timeoutSeconds": 120, - "periodSeconds": 5, - "initialDelaySeconds": 310 - }, - "authEnabled": true, - "aadAuthEnabled": false, - "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", - "modelConfigMap": { - "accountContext": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "accountName": "workspaces123", - "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" - }, - "models": { - "sklearn_regression_model1.pkl": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" - } - }, - "modelsInfo": { - "sklearn_regression_model1.pkl": { - "2": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", - "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" - } - } - } - }, - "environmentImageRequest": { - "driverProgram": "score.py", - "assets": [ - { - "id": null, - "mimeType": "application/x-python", - "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", - "unpack": false - } - ], - "modelIds": [ - "sklearn_regression_model1.pkl:2" - ], - "environment": { - "name": "AzureML-Scikit-learn-0.20.3", - "version": "3", - "python": { - "interpreterPath": "python", - "userManagedDependencies": false, - "condaDependencies": { - "channels": [ - "conda-forge" - ], - "dependencies": [ - "python=3.6.2", - { - "pip": [ - "azureml-core==1.0.69", - "azureml-defaults==1.0.69", - "azureml-telemetry==1.0.69", - "azureml-train-restclients-hyperdrive==1.0.69", - "azureml-train-core==1.0.69", - "scikit-learn==0.20.3", - "scipy==1.2.1", - "numpy==1.16.2", - "joblib==0.13.2" - ] - } - ], - "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" - }, - "baseCondaEnvironment": null - }, - "environmentVariables": { - "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" - }, - "docker": { - "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", - "baseDockerfile": null, - "baseImageRegistry": { - "address": null - } - }, - "spark": { - "repositories": [], - "packages": [], - "precachePackages": true - }, - "inferencingStackVersion": null - } - }, - "description": null, - "kvTags": {}, - "properties": { - "hasInferenceSchema": "False", - "hasHttps": "False" - }, - "state": "Healthy" - } - }, - { - "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", - "type": "Microsoft.MachineLearningServices/workspaces/services", - "name": "service456", - "properties": { - "computeType": "ACI", - "containerResourceRequirements": { - "cpu": 0.1, - "memoryInGB": 0.5, - "gpu": null, - "fpga": null - }, - "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", - "location": "eastus2", - "authEnabled": true, - "sslEnabled": false, - "appInsightsEnabled": true, - "dataCollection": { - "eventHubEnabled": false, - "storageEnabled": false - }, - "sslCertificate": "", - "sslKey": "", - "cname": null, - "publicIp": "52.177.232.98", - "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", - "modelConfigMap": { - "accountContext": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "accountName": "workspaces123", - "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" - }, - "models": { - "sklearn_regression_model1.pkl": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" - } - }, - "modelsInfo": { - "sklearn_regression_model1.pkl": { - "2": { - "version": 2, - "id": "sklearn_regression_model1.pkl:2", - "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", - "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" - } - } - } - }, - "environmentImageRequest": { - "driverProgram": "score.py", - "assets": [ - { - "id": null, - "mimeType": "application/x-python", - "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", - "unpack": false - } - ], - "modelIds": [ - "sklearn_regression_model1.pkl:2" - ], - "environment": { - "name": "AzureML-Scikit-learn-0.20.3", - "version": "3", - "python": { - "interpreterPath": "python", - "userManagedDependencies": false, - "condaDependencies": { - "channels": [ - "conda-forge" - ], - "dependencies": [ - "python=3.6.2", - { - "pip": [ - "azureml-core==1.0.69", - "azureml-defaults==1.0.69", - "azureml-telemetry==1.0.69", - "azureml-train-restclients-hyperdrive==1.0.69", - "azureml-train-core==1.0.69", - "scikit-learn==0.20.3", - "scipy==1.2.1", - "numpy==1.16.2", - "joblib==0.13.2" - ] - } - ], - "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" - }, - "baseCondaEnvironment": null - }, - "environmentVariables": { - "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" - }, - "docker": { - "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", - "baseDockerfile": null, - "baseImageRegistry": { - "address": null - } - }, - "spark": { - "repositories": [], - "packages": [], - "precachePackages": true - }, - "inferencingStackVersion": null - } - }, - "description": null, - "kvTags": {}, - "properties": { - "hasInferenceSchema": "False", - "hasHttps": "False" - }, - "state": "Healthy" - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json deleted file mode 100644 index 593ced4b17f0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "identity": { - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { - "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - } - } - }, - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description", - "encryption": { - "status": "Enabled", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" - }, - "keyVaultProperties": { - "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", - "identityClientId": "" - } - }, - "hbiWorkspace": false, - "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", - "privateLinkCount": 0, - "allowPublicAccessWhenBehindVnet": false, - "imageBuildCompute": "testcompute", - "privateEndpointConnections": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", - "name": "testprivatelinkconnection", - "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved", - "actionsRequired": "None" - } - } - } - ], - "sharedPrivateLinkResources": [ - { - "name": "testcosmosdbresource", - "properties": { - "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", - "groupId": "Sql", - "requestMessage": "Please approve", - "status": "Approved" - } - } - ] - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json deleted file mode 100644 index 9c8ea2587b37..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "connectionName": "connection-1", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", - "name": "connection-1", - "type": "Microsoft.MachineLearningServices/workspaces/connections", - "properties": { - "category": "ACR", - "target": "www.facebook.com", - "authType": "PAT", - "value": "secrets" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json deleted file mode 100644 index 5ee3757f2018..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", - "name": "testworkspace1", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName 1", - "description": "test description" - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json deleted file mode 100644 index 066261e0c0a9..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description" - } - } - ], - "nextLink": "nextLink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json deleted file mode 100644 index 93b7281ad70c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "computeType": "AKS", - "userKubeConfig": "user kube config...", - "adminKubeConfig": "admin kube config...", - "imagePullSecretName": "the image pull secret name" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json deleted file mode 100644 index d2aa56f56020..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "notebookResourceId": "94350843095843059", - "hostName": "Host product name", - "publicDns": "resource.notebooks.azure.net", - "tokenType": "Bearer", - "expiresIn": 28800.0, - "scope": "aznb_identity" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json deleted file mode 100644 index 4abc178d2897..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "primaryAccessKey": null, - "secondaryAccessKey": null - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json deleted file mode 100644 index 01d212d17a90..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "userStorageKey": null - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json deleted file mode 100644 index 9fcb9a44d569..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1", - "workspaceName": "workspace-1", - "api-version": "2021-04-01", - "target": "www.facebook.com", - "category": "ACR" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", - "name": "connection-1", - "type": "Microsoft.MachineLearningServices/workspaces/connections", - "properties": { - "category": "ACR", - "target": "www.facebook.com", - "authType": "PAT", - "value": "secrets" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", - "name": "connection-2", - "type": "Microsoft.MachineLearningServices/workspaces/connections", - "properties": { - "category": "ACR", - "target": "www.facebook.com", - "authType": "PAT", - "value": "secrets" - } - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json deleted file mode 100644 index 3ad2001d73a1..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "userStorageKey": null, - "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", - "appInsightsInstrumentationKey": null, - "containerRegistryCredentials": { - "location": null, - "username": "testdemoworkjmjmeykp", - "passwords": [ - { - "name": "password", - "value": "" - }, - { - "name": "password2", - "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" - } - ] - }, - "notebookAccessKeys": { - "primaryAccessKey": null, - "secondaryAccessKey": null - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json deleted file mode 100644 index 10b2d05e1594..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json deleted file mode 100644 index 14ed35e2d8c2..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json deleted file mode 100644 index 0f541acd48a5..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json deleted file mode 100644 index cfcd3c6a0a65..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json deleted file mode 100644 index cfcd3c6a0a65..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01" - }, - "responses": { - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json deleted file mode 100644 index 5472e4dd1829..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "properties": { - "agentCount": 4 - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "description": "some compute", - "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", - "computeType": "AKS", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json deleted file mode 100644 index aa6d97c43858..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-04-01", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "AmlCompute", - "description": "some compute", - "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus2", - "properties": { - "description": "some compute", - "computeType": "AmlCompute", - "provisioningState": "Updating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json deleted file mode 100644 index 6d6387350f36..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "location": "eastus", - "api-version": "2021-04-01", - "parameters": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 100, - "unit": "Count" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 200, - "unit": "Count" - } - ] - } - }, - "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", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 100, - "unit": "Count", - "status": "Success" - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", - "type": "Microsoft.MachineLearningServices/workspaces/quotas", - "limit": 200, - "unit": "Count", - "status": "Success" - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json deleted file mode 100644 index 94a938bc46e3..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01", - "parameters": { - "properties": { - "friendlyName": "New friendly name", - "description": "new description" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "identity": { - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "type": "SystemAssigned" - }, - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "New friendly name", - "description": "new description" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json deleted file mode 100644 index 9d97638f0312..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "rg-1234", - "workspaceName": "testworkspace", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-04-01", - "monitor": "true" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json deleted file mode 100644 index 832e9bcc718f..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "rg-1234", - "workspaceName": "testworkspace", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-04-01", - "monitor": "true" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", - "name": "{privateEndpointConnectionName}", - "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved", - "actionsRequired": "None" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json deleted file mode 100644 index f2be95d4b53a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "rg-1234", - "workspaceName": "testworkspace", - "api-version": "2021-04-01", - "monitor": "true" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", - "name": "amlworkspace", - "type": "Microsoft.Storage/workspaces/privateLinkResources", - "properties": { - "groupId": "amlworkspace", - "requiredMembers": [ - "default" - ] - } - } - ] - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json deleted file mode 100644 index b70e6f184550..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "api-version": "2021-04-01" - }, - "responses": { - "200": { - "body": { - "resourceId": "aabbccddee112233445566778899", - "fqdn": "testnotebook.notebooks.azure.com", - "notebookPreparationError": { - "statusCode": 500, - "errorMessage": "general error" - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json deleted file mode 100644 index 292c8cc49442..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "rg-1234", - "workspaceName": "testworkspace", - "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-04-01", - "monitor": "true", - "properties": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", - "name": "{privateEndpointConnectionName}", - "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-Approved", - "actionsRequired": "None" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json deleted file mode 100644 index 065988f41539..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ /dev/null @@ -1,6599 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Machine Learning Workspaces", - "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", - "version": "2021-04-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow.", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": { - "/providers/Microsoft.MachineLearningServices/operations": { - "get": { - "tags": [ - "Operation" - ], - "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" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Gets the properties of the specified machine learning workspace.", - "operationId": "Workspaces_Get", - "x-ms-examples": { - "Get Workspace": { - "$ref": "./examples/getWorkspace.json" - } - }, - "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" - } - } - } - }, - "put": { - "tags": [ - "Workspaces" - ], - "description": "Creates or updates a workspace with the specified parameters.", - "operationId": "Workspaces_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Workspace": { - "$ref": "./examples/createWorkspace.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters for creating or updating a machine learning workspace.", - "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" - } - }, - "202": { - "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" - } - } - } - }, - "delete": { - "tags": [ - "Workspaces" - ], - "description": "Deletes a machine learning workspace.", - "operationId": "Workspaces_Delete", - "x-ms-examples": { - "Delete Workspace": { - "$ref": "./examples/deleteWorkspace.json" - } - }, - "x-ms-long-running-operation": true, - "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." - }, - "202": { - "description": "The request was accepted; 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" - } - } - } - }, - "patch": { - "tags": [ - "Workspaces" - ], - "description": "Updates a machine learning workspace with the specified parameters.", - "operationId": "Workspaces_Update", - "x-ms-examples": { - "Update Workspace": { - "$ref": "./examples/updateWorkspace.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The parameters for updating a machine learning workspace.", - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Lists all enabled features for a workspace", - "operationId": "WorkspaceFeatures_List", - "x-ms-examples": { - "List Workspace features": { - "$ref": "./examples/ListWorkspaceFeatures.json" - } - }, - "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/ListAmlUserFeatureResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Lists all the available machine learning workspaces under the specified resource group.", - "operationId": "Workspaces_ListByResourceGroup", - "x-ms-examples": { - "Get Workspaces by Resource Group": { - "$ref": "./examples/getWorkspacesByResourceGroup.json" - } - }, - "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" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { - "post": { - "tags": [ - "Workspaces" - ], - "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", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listWorkspaceKeys.json" - } - }, - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { - "post": { - "tags": [ - "Workspaces" - ], - "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", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Resync Workspace Keys": { - "$ref": "./examples/resyncWorkspaceKeys.json" - } - }, - "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." - }, - "202": { - "description": "The request was accepted; the request was well-formed and received properly." - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { - "get": { - "tags": [ - "Usage" - ], - "operationId": "Usages_List", - "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location for which resource usage is queried.", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ListUsagesResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List Usages": { - "$ref": "./examples/ListUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { - "get": { - "tags": [ - "VirtualMachineSizes" - ], - "operationId": "VirtualMachineSizes_List", - "description": "Returns supported VM Sizes in a location", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location upon which virtual-machine-sizes is queried.", - "pattern": "^[-\\w\\._]+$" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VirtualMachineSizeListResult" - } - } - }, - "x-ms-examples": { - "List VM Sizes": { - "$ref": "./examples/ListVMSizesResult.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { - "post": { - "tags": [ - "Quota" - ], - "operationId": "Quotas_Update", - "description": "Update quota for each VM family in workspace.", - "parameters": [ - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location for update quota is queried.", - "pattern": "^[-\\w\\._]+$" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/QuotaUpdateParameters" - }, - "description": "Quota update parameters." - }, - { - "$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" - } - } - }, - "x-ms-examples": { - "update quotas": { - "$ref": "./examples/updateQuota.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { - "get": { - "tags": [ - "Quota" - ], - "operationId": "Quotas_List", - "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location for which resource usage is queried.", - "pattern": "^[-\\w\\._]+$" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ListWorkspaceQuotas" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List workspace quotas by VMFamily": { - "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Lists all the available machine learning workspaces under the specified subscription.", - "operationId": "Workspaces_ListBySubscription", - "x-ms-examples": { - "Get Workspaces by subscription": { - "$ref": "./examples/getWorkspacesBySubscription.json" - } - }, - "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" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { - "get": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "operationId": "MachineLearningCompute_ListByWorkspace", - "description": "Gets computes in specified workspace.", - "x-ms-examples": { - "Get Computes": { - "$ref": "./examples/getComputes.json" - } - }, - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { - "get": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_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.", - "x-ms-examples": { - "Get a AKS Compute": { - "$ref": "./examples/getAKSCompute.json" - }, - "Get a AML Compute": { - "$ref": "./examples/getAmlCompute.json" - }, - "Get an ComputeInstance": { - "$ref": "./examples/getComputeInstance.json" - } - }, - "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" - } - } - } - }, - "put": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_CreateOrUpdate", - "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.", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create a AML Compute": { - "$ref": "./examples/createBasicAmlCompute.json" - }, - "Create an ComputeInstance Compute with minimal inputs": { - "$ref": "./examples/createComputeInstanceMinimal.json" - }, - "Create an ComputeInstance Compute": { - "$ref": "./examples/createComputeInstance.json" - }, - "Create AKS Compute": { - "$ref": "./examples/createBasicAKSCompute.json" - }, - "Create a DataFactory Compute": { - "$ref": "./examples/createBasicDataFactoryCompute.json" - }, - "Update a AML Compute": { - "$ref": "./examples/updateAmlCompute.json" - }, - "Update a AKS Compute": { - "$ref": "./examples/updateAKSCompute.json" - } - }, - "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" - } - } - } - }, - "patch": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_Update", - "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a AmlCompute Compute": { - "$ref": "./examples/patchAmlCompute.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ComputeNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/ClusterUpdateParameters" - }, - "description": "Additional parameters for cluster update." - } - ], - "responses": { - "200": { - "description": "Compute update initiated.", - "schema": { - "$ref": "#/definitions/ComputeResource" - } - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "delete": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_Delete", - "description": "Deletes specified Machine Learning compute.", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete Compute": { - "$ref": "./examples/deleteCompute.json" - } - }, - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { - "post": { - "tags": [ - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_ListNodes", - "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", - "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" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink", - "itemName": "nodes" - }, - "x-ms-examples": { - "Get compute nodes information for a compute": { - "$ref": "./examples/amlComputeListNodes.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { - "post": { - "tags": [ - "Workspaces" - ], - "description": "return notebook access token and refresh token", - "operationId": "Workspaces_ListNotebookAccessToken", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listNotebookAccessToken.json" - } - }, - "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/NotebookAccessTokenResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { - "post": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_ListKeys", - "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", - "x-ms-examples": { - "List AKS Compute Keys": { - "$ref": "./examples/listKeysAKSCompute.json" - } - }, - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { - "post": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_Start", - "description": "Posts a start action to a compute instance", - "x-ms-examples": { - "Start ComputeInstance Compute": { - "$ref": "./examples/startComputeInstance.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ComputeNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "202": { - "description": "Success." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { - "post": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_Stop", - "description": "Posts a stop action to a compute instance", - "x-ms-examples": { - "Stop ComputeInstance Compute": { - "$ref": "./examples/stopComputeInstance.json" - } - }, - "x-ms-long-running-operation": true, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ComputeNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "202": { - "description": "Success." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { - "post": { - "tags": [ - "OperationalizationClusters", - "MachineLearningComputes" - ], - "operationId": "MachineLearningCompute_Restart", - "description": "Posts a restart action to a compute instance", - "x-ms-examples": { - "Restart ComputeInstance Compute": { - "$ref": "./examples/restartComputeInstance.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ComputeNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { - "get": { - "tags": [ - "WorkspaceSkus" - ], - "description": "Lists all skus with associated features", - "operationId": "Workspace_ListSkus", - "x-ms-examples": { - "List Skus": { - "$ref": "./examples/ListSkus.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/SkuListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "get": { - "tags": [ - "WorkspacePrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Get", - "description": "Gets the specified private endpoint connection associated with the workspace.", - "x-ms-examples": { - "WorkspaceGetPrivateEndpointConnection": { - "$ref": "./examples/workspaceGetPrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Get the private endpoint connection properties successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "put": { - "tags": [ - "WorkspacePrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Put", - "description": "Update the state of specified private endpoint connection associated with the workspace.", - "x-ms-examples": { - "WorkspacePutPrivateEndpointConnection": { - "$ref": "./examples/workspacePutPrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "name": "properties", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "The private endpoint connection properties." - } - ], - "responses": { - "200": { - "description": "OK -- Update the private endpoint connection properties successfully.", - "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "delete": { - "tags": [ - "WorkspacePrivateEndpointConnections" - ], - "operationId": "PrivateEndpointConnections_Delete", - "description": "Deletes the specified private endpoint connection associated with the workspace.", - "x-ms-examples": { - "WorkspaceDeletePrivateEndpointConnection": { - "$ref": "./examples/workspaceDeletePrivateEndpointConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/PrivateEndpointConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK -- Delete the private endpoint connection successfully." - }, - "204": { - "description": "No Content -- The private endpoint connection does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { - "get": { - "tags": [ - "WorkspacePrivateLinkResources" - ], - "operationId": "PrivateLinkResources_ListByWorkspace", - "description": "Gets the private link resources that need to be created for a workspace.", - "x-ms-examples": { - "WorkspaceListPrivateLinkResources": { - "$ref": "./examples/workspaceListPrivateLinkResources.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved private link resources.", - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services": { - "get": { - "tags": [ - "MachineLearningServices" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "operationId": "MachineLearningService_ListByWorkspace", - "description": "Gets services in specified workspace.", - "x-ms-examples": { - "Get Services": { - "$ref": "./examples/getServices.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/PaginationParameter" - }, - { - "$ref": "#/parameters/ModelIdParameter" - }, - { - "$ref": "#/parameters/ModelNameParameter" - }, - { - "$ref": "#/parameters/WebServiceTagParameter" - }, - { - "$ref": "#/parameters/WebServiceTagsParameter" - }, - { - "$ref": "#/parameters/WebServicePropertiesParameter" - }, - { - "$ref": "#/parameters/WebServiceRunIdParameter" - }, - { - "$ref": "#/parameters/WebServiceExpandParameter" - }, - { - "$ref": "#/parameters/WebServiceOrderByParameter" - } - ], - "responses": { - "200": { - "description": "The response includes a paginated array of Machine Learning services 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/PaginatedServiceList" - } - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services/{serviceName}": { - "get": { - "tags": [ - "MachineLearningServices" - ], - "operationId": "MachineLearningService_Get", - "description": "Get a Service by name.", - "x-ms-examples": { - "Get Service": { - "$ref": "./examples/getService.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/WebServiceNameParameter" - }, - { - "in": "query", - "name": "expand", - "description": "Set to True to include Model details.", - "type": "boolean", - "default": false - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "delete": { - "tags": [ - "MachineLearningServices" - ], - "operationId": "MachineLearningService_Delete", - "description": "Delete a specific Service..", - "x-ms-examples": { - "Delete Service": { - "$ref": "./examples/deleteService.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/WebServiceNameParameter" - } - ], - "responses": { - "200": { - "description": "The resource exists and was deleted successfully." - }, - "204": { - "description": "The resource does not exist and the request was well formed." - }, - "default": { - "description": "Error response describing why the request failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "put": { - "tags": [ - "MachineLearningServices" - ], - "description": "Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.", - "operationId": "MachineLearningService_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create Or Update service": { - "$ref": "./examples/createOrUpdateService.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/WebServiceNameParameter" - }, - { - "in": "body", - "name": "properties", - "description": "The payload that is used to create or update the Service.", - "required": true, - "schema": { - "$ref": "#/definitions/CreateServiceRequest" - } - } - ], - "responses": { - "200": { - "description": "Service creation or update initiated.", - "schema": { - "$ref": "#/definitions/ServiceResource" - } - }, - "201": { - "description": "Service creation or update initiated.", - "headers": { - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { - "post": { - "tags": [ - "ProxyOperations" - ], - "operationId": "Notebooks_Prepare", - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Prepare Notebook": { - "$ref": "./examples/workspacePrepareNotebook.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/NotebookResourceInfo" - } - }, - "202": { - "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" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { - "post": { - "tags": [ - "ProxyOperations" - ], - "operationId": "StorageAccount_ListKeys", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listStorageAccountKeys.json" - } - }, - "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/ListStorageAccountKeysResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { - "post": { - "tags": [ - "ProxyOperations" - ], - "operationId": "Notebooks_ListKeys", - "x-ms-examples": { - "List Workspace Keys": { - "$ref": "./examples/listNotebookKeys.json" - } - }, - "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/ListNotebookKeysResult" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { - "get": { - "tags": [ - "WorkspaceConnections" - ], - "x-ms-pageable": { - "nextLinkName": null - }, - "x-ms-examples": { - "ListWorkspaceConnections": { - "$ref": "./examples/listWorkspaceConnections.json" - } - }, - "operationId": "WorkspaceConnections_List", - "description": "List all connections under a AML workspace.", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "$ref": "#/parameters/TargetParameter" - }, - { - "$ref": "#/parameters/CategoryParameter" - } - ], - "responses": { - "200": { - "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { - "put": { - "tags": [ - "WorkspaceConnections" - ], - "operationId": "WorkspaceConnections_Create", - "description": "Add a new workspace connection.", - "x-ms-examples": { - "CreateWorkspaceConnection": { - "$ref": "./examples/createWorkspaceConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The object for creating or updating a new workspace connection", - "required": true, - "schema": { - "$ref": "#/definitions/WorkspaceConnectionDto" - } - } - ], - "responses": { - "200": { - "description": "Successfully created the workspace connection.", - "schema": { - "$ref": "#/definitions/WorkspaceConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "get": { - "tags": [ - "WorkspaceConnections" - ], - "operationId": "WorkspaceConnections_Get", - "description": "Get the detail of a workspace connection.", - "x-ms-examples": { - "GetWorkspaceConnection": { - "$ref": "./examples/getWorkspaceConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the detail of the linked workspace.", - "schema": { - "$ref": "#/definitions/WorkspaceConnection" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - }, - "delete": { - "tags": [ - "WorkspaceConnections" - ], - "operationId": "WorkspaceConnections_Delete", - "description": "Delete a workspace connection.", - "x-ms-examples": { - "DeleteWorkspaceConnection": { - "$ref": "./examples/deleteWorkspaceConnection.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ConnectionName" - }, - { - "$ref": "#/parameters/APIVersionParameter" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the workspace connection." - }, - "204": { - "description": "Specific workspace connection not found." - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/MachineLearningServiceError" - } - } - } - } - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "description": "Azure subscription identifier.", - "in": "path", - "type": "string", - "required": true - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "description": "Name of the resource group in which workspace is located.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "WorkspaceNameParameter": { - "name": "workspaceName", - "description": "Name of Azure Machine Learning workspace.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "ComputeNameParameter": { - "name": "computeName", - "description": "Name of the Azure Machine Learning compute.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "AsyncOperationIdParameter": { - "name": "asyncOperationId", - "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "LocationParameter": { - "name": "location", - "description": "The name of the Azure location/region.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "APIVersionParameter": { - "in": "query", - "name": "api-version", - "type": "string", - "description": "Version of Azure Machine Learning resource provider API.", - "required": true - }, - "PaginationParameter": { - "in": "query", - "name": "$skip", - "type": "string", - "description": "Continuation token for pagination.", - "required": false, - "x-ms-parameter-location": "method" - }, - "ComputeDefinitionParameter": { - "in": "body", - "name": "parameters", - "description": "Payload with Machine Learning compute definition.", - "required": true, - "schema": { - "$ref": "#/definitions/ComputeResource" - }, - "x-ms-parameter-location": "method" - }, - "ComputeTypeParameter": { - "in": "query", - "name": "compute-type", - "type": "string", - "description": "Type of compute to filter by.", - "required": false, - "x-ms-parameter-location": "method" - }, - "UnderlyingResourceActionParameter": { - "in": "query", - "name": "underlyingResourceAction", - "type": "string", - "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", - "required": true, - "enum": [ - "Delete", - "Detach" - ], - "x-ms-enum": { - "name": "UnderlyingResourceAction", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "PrivateEndpointConnectionName": { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint connection associated with the workspace", - "x-ms-parameter-location": "method" - }, - "ModelIdParameter": { - "in": "query", - "name": "modelId", - "type": "string", - "description": "The Model Id.", - "required": false, - "x-ms-parameter-location": "method" - }, - "ModelNameParameter": { - "in": "query", - "name": "modelName", - "type": "string", - "description": "The Model name.", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceNameParameter": { - "name": "serviceName", - "description": "Name of the Azure Machine Learning service.", - "in": "path", - "type": "string", - "required": true, - "x-ms-parameter-location": "method" - }, - "WebServiceTagParameter": { - "in": "query", - "name": "tag", - "type": "string", - "description": "The object tag.", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceCountParameter": { - "in": "query", - "name": "count", - "type": "integer", - "format": "int32", - "description": "The number of items to retrieve in a page.", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceTagsParameter": { - "in": "query", - "name": "tags", - "type": "string", - "description": "A set of tags with which to filter the returned services. It is a comma separated string of tags key or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServicePropertiesParameter": { - "in": "query", - "name": "properties", - "type": "string", - "description": "A set of properties with which to filter the returned services. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceRunIdParameter": { - "in": "query", - "name": "runId", - "type": "string", - "description": "runId for model associated with service.", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceExpandParameter": { - "in": "query", - "name": "expand", - "type": "boolean", - "description": "Set to True to include Model details.", - "required": false, - "x-ms-parameter-location": "method" - }, - "WebServiceOrderByParameter": { - "in": "query", - "name": "orderby", - "type": "string", - "description": "The option to order the response.", - "required": false, - "default": "UpdatedAtDesc", - "enum": [ - "CreatedAtDesc", - "CreatedAtAsc", - "UpdatedAtDesc", - "UpdatedAtAsc" - ], - "x-ms-enum": { - "name": "OrderString", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - }, - "ConnectionName": { - "name": "connectionName", - "in": "path", - "required": true, - "type": "string", - "description": "Friendly name of the workspace connection", - "x-ms-parameter-location": "method" - }, - "TargetParameter": { - "in": "query", - "name": "target", - "type": "string", - "description": "Target of the workspace connection.", - "required": false, - "x-ms-parameter-location": "method" - }, - "CategoryParameter": { - "in": "query", - "name": "category", - "type": "string", - "description": "Category of the workspace connection.", - "required": false, - "x-ms-parameter-location": "method" - } - }, - "definitions": { - "Operation": { - "description": "Azure Machine Learning workspace REST API operation", - "type": "object", - "properties": { - "name": { - "description": "Operation name: {provider}/{resource}/{operation}", - "type": "string" - }, - "display": { - "description": "Display name of operation", - "properties": { - "provider": { - "description": "The resource provider name: Microsoft.MachineLearningExperimentation", - "type": "string" - }, - "resource": { - "description": "The resource on which the operation is performed.", - "type": "string" - }, - "operation": { - "description": "The operation that users can perform.", - "type": "string" - }, - "description": { - "description": "The description for the operation.", - "type": "string" - } - } - } - } - }, - "OperationListResult": { - "description": "An array of operations supported by the resource provider.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Operation" - }, - "description": "List of AML workspace operations supported by the AML workspace resource provider." - } - } - }, - "Workspace": { - "type": "object", - "description": "An object that represents a machine learning workspace.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkspaceProperties", - "description": "The properties of the machine learning workspace.", - "x-ms-client-flatten": true - } - } - }, - "WorkspaceProperties": { - "type": "object", - "description": "The properties of a machine learning workspace.", - "properties": { - "workspaceId": { - "description": "The immutable id associated with this workspace.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "The description of this workspace.", - "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" - }, - "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" - }, - "storageAccount": { - "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", - "type": "string" - }, - "discoveryUrl": { - "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", - "type": "string" - }, - "provisioningState": { - "type": "string", - "enum": [ - "Unknown", - "Updating", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true, - "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." - }, - "encryption": { - "$ref": "#/definitions/EncryptionProperty", - "description": "The encryption settings of Azure ML workspace." - }, - "hbiWorkspace": { - "type": "boolean", - "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", - "default": false - }, - "serviceProvisionedResourceGroup": { - "type": "string", - "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", - "readOnly": true - }, - "privateLinkCount": { - "type": "integer", - "format": "int32", - "description": "Count of private connections in the workspace", - "readOnly": true - }, - "imageBuildCompute": { - "description": "The compute name for image build", - "type": "string" - }, - "allowPublicAccessWhenBehindVnet": { - "type": "boolean", - "description": "The flag to indicate whether to allow public access when behind VNet.", - "default": false - }, - "privateEndpointConnections": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - }, - "description": "The list of private endpoint connections in the workspace." - }, - "sharedPrivateLinkResources": { - "type": "array", - "items": { - "$ref": "#/definitions/SharedPrivateLinkResource" - }, - "description": "The list of shared private link resources in this workspace." - }, - "notebookInfo": { - "readOnly": true, - "$ref": "#/definitions/NotebookResourceInfo", - "description": "The notebook info of Azure ML workspace." - }, - "serviceManagedResourcesSettings": { - "$ref": "#/definitions/ServiceManagedResourcesSettings", - "description": "The service managed resource settings." - }, - "primaryUserAssignedIdentity": { - "description": "The user assigned identity resource id that represents the workspace identity.", - "type": "string" - }, - "subscriptionState": { - "readOnly": true, - "$ref": "#/definitions/SubscriptionState" - }, - "subscriptionStatusChangeTimeStampUtc": { - "type": "string", - "readOnly": true, - "format": "date-time", - "title": "Subscription state change time.", - "description": "The time at which the subscription state changed." - }, - "tenantId": { - "description": "The tenant id associated with this workspace.", - "type": "string", - "readOnly": true - } - } - }, - "WorkspaceUpdateParameters": { - "description": "The parameters for updating a machine learning workspace.", - "properties": { - "tags": { - "description": "The resource tags for the machine learning workspace.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The sku of the workspace." - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "properties": { - "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", - "description": "The properties that the machine learning workspace will be updated with.", - "x-ms-client-flatten": true - } - } - }, - "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" - }, - "imageBuildCompute": { - "description": "The compute name for image build", - "type": "string" - }, - "serviceManagedResourcesSettings": { - "$ref": "#/definitions/ServiceManagedResourcesSettings", - "description": "The service managed resource settings." - }, - "primaryUserAssignedIdentity": { - "description": "The user assigned identity resource id that represents the workspace identity.", - "type": "string" - } - } - }, - "AmlUserFeature": { - "description": "Features enabled for a workspace", - "type": "object", - "properties": { - "id": { - "description": "Specifies the feature ID", - "type": "string" - }, - "displayName": { - "description": "Specifies the feature name ", - "type": "string" - }, - "description": { - "description": "Describes the feature for user experience", - "type": "string" - } - } - }, - "ListAmlUserFeatureResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/AmlUserFeature" - }, - "description": "The list of AML user facing features." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." - } - }, - "description": "The List Aml user feature operation response." - }, - "UsageName": { - "properties": { - "value": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "localizedValue": { - "readOnly": true, - "type": "string", - "description": "The localized name of the resource." - } - }, - "description": "The Usage Names." - }, - "Usage": { - "type": "object", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource ID." - }, - "amlWorkspaceLocation": { - "readOnly": true, - "type": "string", - "description": "Region of the AML workspace in the id." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource type." - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "An enum describing the unit of usage measurement.", - "enum": [ - "Count" - ], - "x-ms-enum": { - "name": "UsageUnit", - "modelAsString": true - } - }, - "currentValue": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The current usage of the resource." - }, - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "description": "The maximum permitted usage of the resource." - }, - "name": { - "readOnly": true, - "$ref": "#/definitions/UsageName", - "description": "The name of the type of usage." - } - }, - "description": "Describes AML Resource Usage." - }, - "ListUsagesResult": { - "properties": { - "value": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - }, - "description": "The list of AML resource usages." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "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." - } - }, - "description": "The List Usages operation response." - }, - "VirtualMachineSize": { - "properties": { - "name": { - "type": "string", - "title": "Virtual Machine size name", - "description": "The name of the virtual machine size.", - "readOnly": true - }, - "family": { - "type": "string", - "title": "Virtual Machine family name", - "description": "The family name of the virtual machine size.", - "readOnly": true - }, - "vCPUs": { - "type": "integer", - "format": "int32", - "title": "Number of vPUs", - "description": "The number of vCPUs supported by the virtual machine size.", - "readOnly": true - }, - "gpus": { - "type": "integer", - "format": "int32", - "title": "Number of gPUs", - "description": "The number of gPUs supported by the virtual machine size.", - "readOnly": true - }, - "osVhdSizeMB": { - "type": "integer", - "format": "int32", - "title": "OS VHD Disk size", - "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", - "readOnly": true - }, - "maxResourceVolumeMB": { - "type": "integer", - "format": "int32", - "title": "Resource volume size", - "description": "The resource volume size, in MB, allowed by the virtual machine size.", - "readOnly": true - }, - "memoryGB": { - "type": "number", - "format": "double", - "title": "Memory size", - "description": "The amount of memory, in GB, supported by the virtual machine size.", - "readOnly": true - }, - "lowPriorityCapable": { - "type": "boolean", - "title": "Low priority capable", - "description": "Specifies if the virtual machine size supports low priority VMs.", - "readOnly": true - }, - "premiumIO": { - "type": "boolean", - "title": "Premium IO supported", - "description": "Specifies if the virtual machine size supports premium IO.", - "readOnly": true - }, - "estimatedVMPrices": { - "title": "Estimated VM prices", - "description": "The estimated price information for using a VM.", - "$ref": "#/definitions/EstimatedVMPrices" - } - }, - "description": "Describes the properties of a VM size." - }, - "EstimatedVMPrices": { - "properties": { - "billingCurrency": { - "type": "string", - "title": "Billing currency", - "description": "Three lettered code specifying the currency of the VM price. Example: USD", - "enum": [ - "USD" - ], - "x-ms-enum": { - "name": "BillingCurrency", - "modelAsString": true - } - }, - "unitOfMeasure": { - "type": "string", - "title": "Unit of time measure", - "description": "The unit of time measurement for the specified VM price. Example: OneHour", - "enum": [ - "OneHour" - ], - "x-ms-enum": { - "name": "UnitOfMeasure", - "modelAsString": true - } - }, - "values": { - "type": "array", - "items": { - "$ref": "#/definitions/EstimatedVMPrice" - }, - "title": "List of estimated VM prices.", - "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." - } - }, - "required": [ - "billingCurrency", - "unitOfMeasure", - "values" - ], - "description": "The estimated price info for using a VM." - }, - "EstimatedVMPrice": { - "properties": { - "retailPrice": { - "type": "number", - "format": "double", - "title": "Retail price", - "description": "The price charged for using the VM." - }, - "osType": { - "type": "string", - "title": "OS type", - "description": "Operating system type used by the VM.", - "enum": [ - "Linux", - "Windows" - ], - "x-ms-enum": { - "name": "VMPriceOSType", - "modelAsString": true - } - }, - "vmTier": { - "type": "string", - "title": "VM tier", - "description": "The type of the VM.", - "enum": [ - "Standard", - "LowPriority", - "Spot" - ], - "x-ms-enum": { - "name": "VMTier", - "modelAsString": true - } - } - }, - "required": [ - "retailPrice", - "osType", - "vmTier" - ], - "description": "The estimated price info for using a VM of a particular OS type, tier, etc." - }, - "VirtualMachineSizeListResult": { - "properties": { - "amlCompute": { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualMachineSize" - }, - "description": "The list of virtual machine sizes supported by AmlCompute." - } - }, - "description": "The List Virtual Machine size operation response." - }, - "WorkspaceListResult": { - "description": "The result of a request to list machine learning workspaces.", - "properties": { - "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.", - "type": "array", - "items": { - "$ref": "#/definitions/Workspace" - } - }, - "nextLink": { - "description": "The URI that can be used to request the next list of machine learning workspaces.", - "type": "string" - } - } - }, - "QuotaBaseProperties": { - "properties": { - "id": { - "type": "string", - "description": "Specifies the resource ID." - }, - "type": { - "type": "string", - "description": "Specifies the resource type." - }, - "limit": { - "type": "integer", - "format": "int64", - "title": "Limit.", - "description": "The maximum permitted quota of the resource." - }, - "unit": { - "type": "string", - "description": "An enum describing the unit of quota measurement.", - "enum": [ - "Count" - ], - "x-ms-enum": { - "name": "QuotaUnit", - "modelAsString": true - } - } - }, - "description": "The properties for Quota update or retrieval." - }, - "QuotaUpdateParameters": { - "properties": { - "value": { - "description": "The list for update quota.", - "type": "array", - "items": { - "$ref": "#/definitions/QuotaBaseProperties" - } - }, - "location": { - "description": "Region of workspace quota to be updated.", - "type": "string" - } - }, - "description": "Quota update parameters." - }, - "UpdateWorkspaceQuotasResult": { - "properties": { - "value": { - "description": "The list of workspace quota update result.", - "items": { - "$ref": "#/definitions/UpdateWorkspaceQuotas" - }, - "readOnly": true, - "type": "array" - }, - "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" - } - }, - "description": "The result of update workspace quota." - }, - "UpdateWorkspaceQuotas": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource ID." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource type." - }, - "limit": { - "type": "integer", - "format": "int64", - "title": "Limit.", - "description": "The maximum permitted quota of the resource." - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "An enum describing the unit of quota measurement.", - "enum": [ - "Count" - ], - "x-ms-enum": { - "name": "QuotaUnit", - "modelAsString": true - } - }, - "status": { - "type": "string", - "readOnly": false, - "title": "Update Workspace Quota Status.", - "description": "Status of update workspace quota.", - "enum": [ - "Undefined", - "Success", - "Failure", - "InvalidQuotaBelowClusterMinimum", - "InvalidQuotaExceedsSubscriptionLimit", - "InvalidVMFamilyName", - "OperationNotSupportedForSku", - "OperationNotEnabledForRegion" - ], - "x-ms-enum": { - "name": "status", - "modelAsString": true - } - } - }, - "description": "The properties for update Quota response." - }, - "ResourceName": { - "properties": { - "value": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "localizedValue": { - "readOnly": true, - "type": "string", - "description": "The localized name of the resource." - } - }, - "description": "The Resource Name." - }, - "ResourceQuota": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource ID." - }, - "amlWorkspaceLocation": { - "readOnly": true, - "type": "string", - "description": "Region of the AML workspace in the id." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Specifies the resource type." - }, - "name": { - "$ref": "#/definitions/ResourceName", - "description": "Name of the resource.", - "readOnly": true - }, - "limit": { - "readOnly": true, - "type": "integer", - "format": "int64", - "title": "Limit.", - "description": "The maximum permitted quota of the resource." - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "An enum describing the unit of quota measurement.", - "enum": [ - "Count" - ], - "x-ms-enum": { - "name": "QuotaUnit", - "modelAsString": true - } - } - }, - "description": "The quota assigned to a resource." - }, - "ListWorkspaceQuotas": { - "properties": { - "value": { - "description": "The list of Workspace Quotas by VM Family", - "items": { - "$ref": "#/definitions/ResourceQuota" - }, - "readOnly": true, - "type": "array" - }, - "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" - } - }, - "description": "The List WorkspaceQuotasByVMFamily operation response." - }, - "Identity": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "SystemAssigned,UserAssigned", - "UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedIdentities", - "description": "The user assigned identities associated with the resource." - } - }, - "description": "Identity for the resource." - }, - "UserAssignedIdentities": { - "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - } - }, - "UserAssignedIdentity": { - "description": "User Assigned Identity", - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of the user assigned identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of the user assigned identity." - }, - "clientId": { - "readOnly": true, - "type": "string", - "description": "The clientId(aka appId) of the user assigned identity." - } - } - }, - "Resource": { - "description": "Azure Resource Manager resource envelope.", - "x-ms-azure-resource": true, - "properties": { - "id": { - "description": "Specifies the resource ID.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Specifies the name of the resource.", - "type": "string", - "readOnly": true - }, - "identity": { - "$ref": "#/definitions/Identity", - "description": "The identity of the resource." - }, - "location": { - "description": "Specifies the location of the resource.", - "type": "string" - }, - "type": { - "description": "Specifies the type of the resource.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Contains resource tags defined as key/value pairs.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "The sku of the workspace." - }, - "systemData": { - "$ref": "#/definitions/systemData" - } - } - }, - "systemData": { - "description": "Metadata pertaining to creation and last modification of the resource.", - "type": "object", - "readOnly": true, - "properties": { - "createdBy": { - "type": "string", - "description": "The identity that created the resource." - }, - "createdByType": { - "type": "string", - "description": "The type of identity that created the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } - }, - "createdAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource creation (UTC)." - }, - "lastModifiedBy": { - "type": "string", - "description": "The identity that last modified the resource." - }, - "lastModifiedByType": { - "type": "string", - "description": "The type of identity that last modified the resource.", - "enum": [ - "User", - "Application", - "ManagedIdentity", - "Key" - ], - "x-ms-enum": { - "name": "createdByType", - "modelAsString": true - } - }, - "lastModifiedAt": { - "type": "string", - "format": "date-time", - "description": "The timestamp of resource last modification (UTC)" - } - } - }, - "ResourceId": { - "properties": { - "id": { - "type": "string", - "description": "The ID of the resource" - } - }, - "required": [ - "id" - ], - "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", - "x-ms-azure-resource": true - }, - "ListWorkspaceKeysResult": { - "type": "object", - "properties": { - "userStorageKey": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - }, - "userStorageResourceId": { - "readOnly": true, - "type": "string" - }, - "appInsightsInstrumentationKey": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - }, - "containerRegistryCredentials": { - "readOnly": true, - "$ref": "#/definitions/RegistryListCredentialsResult" - }, - "notebookAccessKeys": { - "readOnly": true, - "$ref": "#/definitions/ListNotebookKeysResult" - } - } - }, - "NotebookAccessTokenResult": { - "type": "object", - "properties": { - "notebookResourceId": { - "readOnly": true, - "type": "string" - }, - "hostName": { - "readOnly": true, - "type": "string" - }, - "publicDns": { - "readOnly": true, - "type": "string" - }, - "accessToken": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - }, - "tokenType": { - "readOnly": true, - "type": "string" - }, - "expiresIn": { - "readOnly": true, - "type": "integer", - "format": "int32" - }, - "refreshToken": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - }, - "scope": { - "readOnly": true, - "type": "string" - } - } - }, - "RegistryListCredentialsResult": { - "type": "object", - "properties": { - "location": { - "readOnly": true, - "type": "string" - }, - "username": { - "readOnly": true, - "type": "string" - }, - "passwords": { - "type": "array", - "items": { - "$ref": "#/definitions/Password" - } - } - } - }, - "Password": { - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string" - }, - "value": { - "readOnly": true, - "type": "string" - } - } - }, - "PaginatedComputeResourcesList": { - "type": "object", - "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", - "properties": { - "value": { - "type": "array", - "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", - "items": { - "$ref": "#/definitions/ComputeResource" - } - }, - "nextLink": { - "type": "string", - "description": "A continuation link (absolute URI) to the next page of results in the list." - } - } - }, - "ComputeResource": { - "type": "object", - "description": "Machine Learning compute object wrapped into ARM resource envelope.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - }, - { - "type": "object", - "properties": { - "properties": { - "description": "Compute properties", - "$ref": "#/definitions/Compute" - } - } - } - ] - }, - "Compute": { - "type": "object", - "description": "Machine Learning compute object.", - "discriminator": "computeType", - "properties": { - "computeType": { - "description": "The type of compute", - "$ref": "#/definitions/ComputeType" - }, - "computeLocation": { - "description": "Location for the underlying compute", - "type": "string" - }, - "provisioningState": { - "type": "string", - "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", - "enum": [ - "Unknown", - "Updating", - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Canceled" - ], - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - }, - "readOnly": true - }, - "description": { - "type": "string", - "description": "The description of the Machine Learning compute." - }, - "createdOn": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "The time at which the compute was created." - }, - "modifiedOn": { - "type": "string", - "readOnly": true, - "format": "date-time", - "description": "The time at which the compute was last modified." - }, - "resourceId": { - "type": "string", - "description": "ARM resource id of the underlying compute" - }, - "provisioningErrors": { - "type": "array", - "description": "Errors during provisioning", - "items": { - "$ref": "#/definitions/MachineLearningServiceError" - }, - "readOnly": true - }, - "isAttachedCompute": { - "type": "boolean", - "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 - } - }, - "required": [ - "computeType" - ] - }, - "AKS": { - "description": "A Machine Learning compute based on AKS.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "description": "AKS properties", - "properties": { - "clusterFqdn": { - "description": "Cluster full qualified domain name", - "type": "string" - }, - "systemServices": { - "type": "array", - "description": "System services", - "items": { - "$ref": "#/definitions/SystemService" - }, - "readOnly": true - }, - "agentCount": { - "description": "Number of agents", - "type": "integer", - "format": "int32", - "minimum": 0 - }, - "agentVmSize": { - "description": "Agent virtual machine size", - "type": "string" - }, - "clusterPurpose": { - "description": "Intended usage of the cluster", - "type": "string", - "default": "FastProd", - "enum": [ - "FastProd", - "DenseProd", - "DevTest" - ], - "x-ms-enum": { - "name": "ClusterPurpose", - "modelAsString": true - } - }, - "sslConfiguration": { - "description": "SSL configuration", - "$ref": "#/definitions/SslConfiguration" - }, - "aksNetworkingConfiguration": { - "description": "AKS networking configuration for vnet", - "$ref": "#/definitions/AksNetworkingConfiguration" - }, - "LoadBalancerType": { - "description": "Load Balancer Type", - "type": "string", - "default": "PublicIp", - "enum": [ - "PublicIp", - "InternalLoadBalancer" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - } - }, - "LoadBalancerSubnet": { - "description": "Load Balancer Subnet", - "type": "string" - } - } - } - } - } - ], - "x-ms-discriminator-value": "AKS" - }, - "AmlCompute": { - "description": "An Azure Machine Learning compute.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "description": "AML Compute properties", - "properties": { - "osType": { - "description": "Compute OS Type", - "type": "string", - "default": "Linux", - "enum": [ - "Linux", - "Windows" - ], - "x-ms-enum": { - "name": "OsType", - "modelAsString": true - } - }, - "vmSize": { - "description": "Virtual Machine Size", - "type": "string" - }, - "vmPriority": { - "description": "Virtual Machine priority", - "type": "string", - "enum": [ - "Dedicated", - "LowPriority" - ], - "x-ms-enum": { - "name": "VmPriority", - "modelAsString": true - } - }, - "virtualMachineImage": { - "description": "Virtual Machine image for AML Compute - windows only", - "$ref": "#/definitions/VirtualMachineImage" - }, - "isolatedNetwork": { - "description": "Network is isolated or not", - "type": "boolean" - }, - "scaleSettings": { - "description": "Scale settings for AML Compute", - "$ref": "#/definitions/ScaleSettings" - }, - "userAccountCredentials": { - "title": "User account credentials.", - "description": "Credentials for an administrator user account that will be created on each compute node.", - "$ref": "#/definitions/UserAccountCredentials" - }, - "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" - }, - "remoteLoginPortPublicAccess": { - "type": "string", - "default": "NotSpecified", - "title": "Close remote Login Access Port", - "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" - ], - "x-ms-enum": { - "name": "remoteLoginPortPublicAccess", - "modelAsString": true - } - }, - "allocationState": { - "type": "string", - "readOnly": true, - "title": "Allocation state.", - "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" - ], - "x-ms-enum": { - "name": "AllocationState", - "modelAsString": true - } - }, - "allocationStateTransitionTime": { - "type": "string", - "readOnly": true, - "format": "date-time", - "title": "Allocation state transition time.", - "description": "The time at which the compute entered its current allocation state." - }, - "errors": { - "readOnly": true, - "title": "Errors.", - "description": "Collection of errors encountered by various compute nodes during node setup.", - "type": "array", - "items": { - "$ref": "#/definitions/MachineLearningServiceError" - } - }, - "currentNodeCount": { - "type": "integer", - "readOnly": true, - "format": "int32", - "title": "Current node count.", - "description": "The number of compute nodes currently assigned to the compute." - }, - "targetNodeCount": { - "type": "integer", - "readOnly": true, - "format": "int32", - "title": "Target node count.", - "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." - }, - "nodeStateCounts": { - "title": "Node state counts.", - "description": "Counts of various node states on the compute.", - "readOnly": true, - "$ref": "#/definitions/NodeStateCounts" - }, - "enableNodePublicIp": { - "type": "boolean", - "default": true, - "title": "Enable node public IP.", - "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." - } - } - } - } - } - ], - "x-ms-discriminator-value": "AmlCompute" - }, - "ComputeInstance": { - "description": "An Azure Machine Learning compute instance.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "description": "Compute Instance properties", - "type": "object", - "properties": { - "vmSize": { - "description": "Virtual Machine Size", - "type": "string" - }, - "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" - }, - "applicationSharingPolicy": { - "type": "string", - "default": "Shared", - "title": "Sharing policy for applications on this compute instance", - "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", - "enum": [ - "Personal", - "Shared" - ], - "x-ms-enum": { - "name": "applicationSharingPolicy", - "modelAsString": true - } - }, - "sshSettings": { - "description": "Specifies policy and settings for SSH access.", - "$ref": "#/definitions/ComputeInstanceSshSettings" - }, - "connectivityEndpoints": { - "readOnly": true, - "description": "Describes all connectivity endpoints available for this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" - }, - "applications": { - "type": "array", - "readOnly": true, - "description": "Describes available applications and their endpoints on this ComputeInstance.", - "items": { - "$ref": "#/definitions/ComputeInstanceApplication" - } - }, - "createdBy": { - "readOnly": true, - "description": "Describes information on user who created this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceCreatedBy" - }, - "errors": { - "readOnly": true, - "title": "Errors.", - "description": "Collection of errors encountered on this ComputeInstance.", - "type": "array", - "items": { - "$ref": "#/definitions/MachineLearningServiceError" - } - }, - "state": { - "description": "The current state of this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceState", - "readOnly": true - }, - "computeInstanceAuthorizationType": { - "type": "string", - "title": "Compute Instance Authorization type.", - "description": "The Compute Instance Authorization type. Available values are personal (default).", - "default": "personal", - "enum": [ - "personal" - ], - "x-ms-enum": { - "name": "ComputeInstanceAuthorizationType", - "modelAsString": true - } - }, - "personalComputeInstanceSettings": { - "title": "Personal Compute Instance settings.", - "description": "Settings for a personal compute instance.", - "$ref": "#/definitions/PersonalComputeInstanceSettings" - }, - "setupScripts": { - "description": "Details of customized scripts to execute for setting up the cluster.", - "$ref": "#/definitions/SetupScripts" - }, - "lastOperation": { - "description": "The last operation on ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceLastOperation", - "readOnly": true - } - } - } - } - } - ], - "x-ms-discriminator-value": "ComputeInstance" - }, - "VirtualMachine": { - "description": "A Machine Learning compute based on Azure Virtual Machines.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": { - "virtualMachineSize": { - "description": "Virtual Machine size", - "type": "string" - }, - "sshPort": { - "description": "Port open for ssh connections.", - "type": "integer", - "format": "int32" - }, - "address": { - "description": "Public IP address of the virtual machine.", - "type": "string" - }, - "administratorAccount": { - "description": "Admin credentials for virtual machine", - "$ref": "#/definitions/VirtualMachineSshCredentials" - }, - "isNotebookInstanceCompute": { - "description": "Indicates whether this compute will be used for running notebooks.", - "type": "boolean" - } - } - } - } - } - ], - "x-ms-discriminator-value": "VirtualMachine" - }, - "HDInsight": { - "description": "A HDInsight compute.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": { - "sshPort": { - "description": "Port open for ssh connections on the master node of the cluster.", - "type": "integer", - "format": "int32" - }, - "address": { - "description": "Public IP address of the master node of the cluster.", - "type": "string" - }, - "administratorAccount": { - "description": "Admin credentials for master node of the cluster", - "$ref": "#/definitions/VirtualMachineSshCredentials" - } - } - } - } - } - ], - "x-ms-discriminator-value": "HDInsight" - }, - "DataFactory": { - "description": "A DataFactory compute.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - } - ], - "x-ms-discriminator-value": "DataFactory" - }, - "Databricks": { - "description": "A DataFactory compute.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": { - "databricksAccessToken": { - "description": "Databricks access token", - "type": "string" - }, - "workspaceUrl": { - "description": "Workspace Url", - "type": "string" - } - } - } - } - } - ], - "x-ms-discriminator-value": "Databricks" - }, - "DataLakeAnalytics": { - "description": "A DataLakeAnalytics compute.", - "allOf": [ - { - "$ref": "#/definitions/Compute" - }, - { - "type": "object", - "properties": { - "properties": { - "type": "object", - "properties": { - "dataLakeStoreAccountName": { - "description": "DataLake Store Account Name", - "type": "string" - } - } - } - } - } - ], - "x-ms-discriminator-value": "DataLakeAnalytics" - }, - "ServicePrincipalCredentials": { - "type": "object", - "description": "Service principal credentials.", - "properties": { - "clientId": { - "description": "Client Id", - "type": "string" - }, - "clientSecret": { - "description": "Client secret", - "type": "string" - } - }, - "required": [ - "clientId", - "clientSecret" - ] - }, - "SystemService": { - "type": "object", - "description": "A system service running on a compute.", - "properties": { - "systemServiceType": { - "description": "The type of this system service.", - "readOnly": true, - "type": "string" - }, - "publicIpAddress": { - "type": "string", - "description": "Public IP address", - "readOnly": true - }, - "version": { - "description": "The version for this type.", - "readOnly": true, - "type": "string" - } - } - }, - "SslConfiguration": { - "type": "object", - "description": "The ssl configuration for scoring", - "properties": { - "status": { - "description": "Enable or disable ssl for scoring", - "type": "string", - "enum": [ - "Disabled", - "Enabled", - "Auto" - ] - }, - "cert": { - "description": "Cert data", - "type": "string" - }, - "key": { - "description": "Key data", - "type": "string" - }, - "cname": { - "description": "CNAME of the cert", - "type": "string" - }, - "leafDomainLabel": { - "description": "Leaf domain label of public endpoint", - "type": "string" - }, - "overwriteExistingDomain": { - "description": "Indicates whether to overwrite existing domain label.", - "type": "boolean" - } - } - }, - "AksNetworkingConfiguration": { - "type": "object", - "description": "Advance configuration for AKS networking", - "properties": { - "subnetId": { - "description": "Virtual network subnet resource ID the compute nodes belong to", - "type": "string" - }, - "serviceCidr": { - "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", - "type": "string" - }, - "dnsServiceIP": { - "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]?)$", - "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", - "type": "string" - }, - "dockerBridgeCidr": { - "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", - "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.", - "type": "string" - } - } - }, - "UserAccountCredentials": { - "properties": { - "adminUserName": { - "type": "string", - "title": "User name.", - "description": "Name of the administrator user account which can be used to SSH to nodes." - }, - "adminUserSshPublicKey": { - "type": "string", - "title": "SSH public key.", - "description": "SSH public key of the administrator user account." - }, - "adminUserPassword": { - "type": "string", - "title": "Password.", - "description": "Password of the administrator user account." - } - }, - "required": [ - "adminUserName" - ], - "description": "Settings for user account that gets created on each on the nodes of a compute." - }, - "ScaleSettings": { - "type": "object", - "description": "scale settings for AML Compute", - "properties": { - "maxNodeCount": { - "description": "Max number of nodes to use", - "type": "integer", - "format": "int32" - }, - "minNodeCount": { - "description": "Min number of nodes to use", - "type": "integer", - "format": "int32", - "default": 0 - }, - "nodeIdleTimeBeforeScaleDown": { - "type": "string", - "format": "duration", - "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." - } - }, - "required": [ - "maxNodeCount" - ] - }, - "VirtualMachineImage": { - "type": "object", - "description": "Virtual Machine image for Windows AML Compute", - "properties": { - "id": { - "description": "Virtual Machine image path", - "type": "string" - } - }, - "required": [ - "id" - ] - }, - "NodeStateCounts": { - "properties": { - "idleNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Idle node count.", - "description": "Number of compute nodes in idle state." - }, - "runningNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Running node count.", - "description": "Number of compute nodes which are running jobs." - }, - "preparingNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Preparing node count.", - "description": "Number of compute nodes which are being prepared." - }, - "unusableNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Unusable node count.", - "description": "Number of compute nodes which are in unusable state." - }, - "leavingNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Leaving node count.", - "description": "Number of compute nodes which are leaving the amlCompute." - }, - "preemptedNodeCount": { - "readOnly": true, - "type": "integer", - "format": "int32", - "title": "Preempted node count.", - "description": "Number of compute nodes which are in preempted state." - } - }, - "description": "Counts of various compute node states on the amlCompute." - }, - "ClusterUpdateProperties": { - "properties": { - "scaleSettings": { - "$ref": "#/definitions/ScaleSettings", - "title": "Scale settings.", - "description": "Desired scale settings for the amlCompute." - } - }, - "description": "The properties of a amlCompute that need to be updated." - }, - "ClusterUpdateParameters": { - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ClusterUpdateProperties", - "description": "The properties of the amlCompute." - } - }, - "description": "AmlCompute update parameters." - }, - "ComputeNodesInformation": { - "type": "object", - "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", - "discriminator": "computeType", - "properties": { - "computeType": { - "description": "The type of compute", - "$ref": "#/definitions/ComputeType" - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The continuation token." - } - }, - "required": [ - "computeType" - ] - }, - "AmlComputeNodesInformation": { - "description": "Compute node information related to a AmlCompute.", - "allOf": [ - { - "$ref": "#/definitions/ComputeNodesInformation" - }, - { - "type": "object", - "properties": { - "nodes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/AmlComputeNodeInformation" - }, - "description": "The collection of returned AmlCompute nodes details." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The continuation token." - } - } - } - ], - "x-ms-discriminator-value": "AmlCompute" - }, - "AmlComputeNodeInformation": { - "description": "Compute node information related to a AmlCompute.", - "properties": { - "nodeId": { - "readOnly": true, - "type": "string", - "title": "Node ID.", - "description": "ID of the compute node." - }, - "privateIpAddress": { - "readOnly": true, - "type": "string", - "title": "Private IP address.", - "description": "Private IP address of the compute node." - }, - "publicIpAddress": { - "readOnly": true, - "type": "string", - "title": "Public IP address.", - "description": "Public IP address of the compute node." - }, - "port": { - "readOnly": true, - "type": "number", - "format": "int32", - "title": "Port.", - "description": "SSH port number of the node." - }, - "nodeState": { - "readOnly": true, - "type": "string", - "enum": [ - "idle", - "running", - "preparing", - "unusable", - "leaving", - "preempted" - ], - "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", - "x-ms-enum": { - "name": "nodeState", - "modelAsString": true - } - }, - "runId": { - "readOnly": true, - "type": "string", - "title": "Run ID.", - "description": "ID of the Experiment running on the node, if any else null." - } - }, - "x-ms-discriminator-value": "AmlCompute" - }, - "VirtualMachineSshCredentials": { - "type": "object", - "description": "Admin credentials for virtual machine", - "properties": { - "username": { - "description": "Username of admin account", - "type": "string" - }, - "password": { - "description": "Password of admin account", - "type": "string" - }, - "publicKeyData": { - "description": "Public key data", - "type": "string" - }, - "privateKeyData": { - "description": "Private key data", - "type": "string" - } - } - }, - "ComputeSecrets": { - "type": "object", - "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", - "discriminator": "computeType", - "properties": { - "computeType": { - "description": "The type of compute", - "$ref": "#/definitions/ComputeType" - } - }, - "required": [ - "computeType" - ] - }, - "AksComputeSecrets": { - "description": "Secrets related to a Machine Learning compute based on AKS.", - "allOf": [ - { - "$ref": "#/definitions/ComputeSecrets" - }, - { - "type": "object", - "properties": { - "userKubeConfig": { - "type": "string", - "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." - }, - "adminKubeConfig": { - "type": "string", - "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." - }, - "imagePullSecretName": { - "type": "string", - "description": "Image registry pull secret." - } - } - } - ], - "x-ms-discriminator-value": "AKS" - }, - "VirtualMachineSecrets": { - "description": "Secrets related to a Machine Learning compute based on AKS.", - "allOf": [ - { - "$ref": "#/definitions/ComputeSecrets" - }, - { - "type": "object", - "properties": { - "administratorAccount": { - "description": "Admin credentials for virtual machine.", - "$ref": "#/definitions/VirtualMachineSshCredentials" - } - } - } - ], - "x-ms-discriminator-value": "VirtualMachine" - }, - "DatabricksComputeSecrets": { - "description": "Secrets related to a Machine Learning compute based on Databricks.", - "allOf": [ - { - "$ref": "#/definitions/ComputeSecrets" - }, - { - "type": "object", - "properties": { - "databricksAccessToken": { - "description": "access token for databricks account.", - "type": "string" - } - } - } - ], - "x-ms-discriminator-value": "Databricks" - }, - "ComputeType": { - "type": "string", - "description": "The type of compute", - "enum": [ - "AKS", - "AmlCompute", - "ComputeInstance", - "DataFactory", - "VirtualMachine", - "HDInsight", - "Databricks", - "DataLakeAnalytics", - "SynapseSpark" - ], - "x-ms-enum": { - "name": "ComputeType", - "modelAsString": true - } - }, - "SubscriptionState": { - "type": "string", - "description": "The state AzureML workspace's subscription", - "enum": [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ], - "x-ms-enum": { - "name": "SubscriptionState", - "modelAsString": false - } - }, - "MachineLearningServiceError": { - "type": "object", - "description": "Wrapper for error response to follow ARM guidelines.", - "properties": { - "error": { - "description": "The error response.", - "$ref": "#/definitions/ErrorResponse", - "readOnly": true - } - } - }, - "ErrorResponse": { - "type": "object", - "description": "Error response information.", - "properties": { - "code": { - "type": "string", - "description": "Error code.", - "readOnly": true - }, - "message": { - "type": "string", - "description": "Error message.", - "readOnly": true - }, - "target": { - "type": "string", - "description": "The target of the particular error", - "readOnly": true - }, - "details": { - "type": "array", - "description": "An array of error detail objects.", - "items": { - "$ref": "#/definitions/ErrorDetail" - }, - "readOnly": true - } - } - }, - "ErrorDetail": { - "type": "object", - "description": "Error detail information.", - "properties": { - "code": { - "type": "string", - "description": "Error code." - }, - "message": { - "type": "string", - "description": "Error message." - } - }, - "required": [ - "code", - "message" - ] - }, - "SKUCapability": { - "description": "Features/user capabilities associated with the sku", - "type": "object", - "properties": { - "name": { - "description": "Capability/Feature ID", - "type": "string" - }, - "value": { - "description": "Details about the feature/capability", - "type": "string" - } - } - }, - "ResourceSkuLocationInfo": { - "properties": { - "location": { - "readOnly": true, - "type": "string", - "description": "Location of the SKU" - }, - "zones": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "List of availability zones where the SKU is supported." - }, - "zoneDetails": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ResourceSkuZoneDetails" - }, - "description": "Details of capabilities available to a SKU in specific zones." - } - } - }, - "ResourceSkuZoneDetails": { - "properties": { - "name": { - "type": "array", - "readOnly": true, - "items": { - "type": "string" - }, - "description": "The set of zones that the SKU is available in with the specified capabilities." - }, - "capabilities": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/SKUCapability" - }, - "description": "A list of capabilities that are available for the SKU in the specified list of zones." - } - }, - "description": "Describes The zonal capabilities of a SKU." - }, - "WorkspaceSku": { - "description": "Describes Workspace Sku details and features", - "type": "object", - "properties": { - "locations": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." - }, - "locationInfo": { - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/ResourceSkuLocationInfo" - }, - "description": "A list of locations and availability zones in those locations where the SKU is available." - }, - "tier": { - "description": "Sku Tier like Basic or Enterprise", - "type": "string", - "readOnly": true - }, - "resourceType": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "capabilities": { - "description": "List of features/user capabilities associated with the sku", - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/SKUCapability" - }, - "readOnly": true - }, - "restrictions": { - "type": "array", - "items": { - "$ref": "#/definitions/Restriction" - }, - "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." - } - } - }, - "Restriction": { - "properties": { - "type": { - "readOnly": true, - "type": "string", - "description": "The type of restrictions. As of now only possible value for this is location." - }, - "values": { - "readOnly": true, - "type": "array", - "items": { - "type": "string" - }, - "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." - }, - "reasonCode": { - "type": "string", - "enum": [ - "NotSpecified", - "NotAvailableForRegion", - "NotAvailableForSubscription" - ], - "x-ms-enum": { - "name": "ReasonCode", - "modelAsString": true - }, - "description": "The reason for the restriction." - } - }, - "description": "The restriction because of which SKU cannot be used." - }, - "SkuListResult": { - "description": "List of skus with features", - "type": "object", - "properties": { - "value": { - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/WorkspaceSku" - } - }, - "nextLink": { - "type": "string", - "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" - } - } - }, - "Sku": { - "description": "Sku of the resource", - "type": "object", - "properties": { - "name": { - "description": "Name of the sku", - "type": "string" - }, - "tier": { - "description": "Tier of the sku like Basic or Enterprise", - "type": "string" - } - } - }, - "PrivateEndpointConnection": { - "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - }, - "subnetArmId": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Subnet resource that private endpoint links to" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected", - "Timeout" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateLinkResource": { - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "SharedPrivateLinkResource": { - "properties": { - "name": { - "description": "Unique name of the private link.", - "type": "string" - }, - "properties": { - "$ref": "#/definitions/SharedPrivateLinkResourceProperty", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - } - }, - "SharedPrivateLinkResourceProperty": { - "properties": { - "privateLinkResourceId": { - "description": "The resource id that private link links to.", - "type": "string" - }, - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requestMessage": { - "description": "Request message.", - "type": "string" - }, - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Properties of a shared private link resource." - }, - "EncryptionProperty": { - "properties": { - "status": { - "description": "Indicates whether or not the encryption is enabled for the workspace.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "EncryptionStatus", - "modelAsString": true - } - }, - "identity": { - "$ref": "#/definitions/IdentityForCmk", - "description": "The identity that will be used to access the key vault for encryption at rest." - }, - "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", - "description": "Customer Key vault properties." - } - }, - "required": [ - "status", - "keyVaultProperties" - ], - "type": "object" - }, - "KeyVaultProperties": { - "properties": { - "keyVaultArmId": { - "description": "The ArmId of the keyVault where the customer owned encryption key is present.", - "type": "string" - }, - "keyIdentifier": { - "description": "Key vault uri to access the encryption key.", - "type": "string" - }, - "identityClientId": { - "description": "For future use - The client id of the identity which will be used to access key vault.", - "type": "string" - } - }, - "required": [ - "keyIdentifier", - "keyVaultArmId" - ], - "type": "object" - }, - "IdentityForCmk": { - "description": "Identity that will be used to access key vault for encryption at rest", - "type": "object", - "properties": { - "userAssignedIdentity": { - "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", - "type": "string" - } - } - }, - "ServiceResource": { - "type": "object", - "description": "Machine Learning service object wrapped into ARM resource envelope.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - }, - { - "type": "object", - "properties": { - "properties": { - "description": "Service properties", - "$ref": "#/definitions/ServiceResponseBase" - } - } - } - ] - }, - "ServiceResponseBase": { - "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)", - "required": [ - "computeType" - ], - "type": "object", - "properties": { - "description": { - "description": "The service description.", - "type": "string" - }, - "kvTags": { - "description": "The service tag dictionary. Tags are mutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "description": "The service property dictionary. Properties are immutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "state": { - "description": "The current state of the service.", - "enum": [ - "Transitioning", - "Healthy", - "Unhealthy", - "Failed", - "Unschedulable" - ], - "type": "string", - "example": "Healthy", - "x-ms-enum": { - "name": "WebServiceState", - "modelAsString": true - }, - "readOnly": true - }, - "error": { - "description": "The error details.", - "allOf": [ - { - "$ref": "#/definitions/MachineLearningServiceError" - } - ], - "readOnly": true - }, - "computeType": { - "description": "The compute environment type for the service.", - "enum": [ - "ACI", - "AKS" - ], - "type": "string", - "example": "AKS", - "x-ms-enum": { - "name": "ComputeEnvironmentType", - "modelAsString": true - } - }, - "deploymentType": { - "description": "The deployment type for the service.", - "enum": [ - "GRPCRealtimeEndpoint", - "HttpRealtimeEndpoint", - "Batch" - ], - "type": "string", - "example": "HttpRealtimeEndpoint", - "x-ms-enum": { - "name": "DeploymentType", - "modelAsString": true - } - } - }, - "discriminator": "computeType" - }, - "PaginatedServiceList": { - "type": "object", - "description": "Paginated list of Machine Learning service objects wrapped in ARM resource envelope.", - "properties": { - "value": { - "readOnly": true, - "type": "array", - "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", - "items": { - "$ref": "#/definitions/ServiceResource" - } - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "A continuation link (absolute URI) to the next page of results in the list." - } - } - }, - "ACIServiceResponse": { - "description": "The response for an ACI service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ServiceResponseBase" - }, - { - "type": "object", - "properties": { - "containerResourceRequirements": { - "description": "The container resource requirements.", - "$ref": "#/definitions/ContainerResourceRequirements" - }, - "scoringUri": { - "description": "The Uri for sending scoring requests.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "The name of the Azure location/region.", - "type": "string" - }, - "authEnabled": { - "description": "Whether or not authentication is enabled on the service.", - "type": "boolean" - }, - "sslEnabled": { - "description": "Whether or not SSL is enabled.", - "type": "boolean" - }, - "appInsightsEnabled": { - "description": "Whether or not Application Insights is enabled.", - "type": "boolean" - }, - "dataCollection": { - "description": "Details of the data collection options specified.", - "allOf": [ - { - "$ref": "#/definitions/ModelDataCollection" - } - ] - }, - "sslCertificate": { - "description": "The public SSL certificate in PEM format to use if SSL is enabled.", - "type": "string" - }, - "sslKey": { - "description": "The public SSL key in PEM format for the certificate.", - "type": "string" - }, - "cname": { - "description": "The CName for the service.", - "type": "string" - }, - "publicIp": { - "description": "The public IP address for the service.", - "type": "string" - }, - "publicFqdn": { - "description": "The public Fqdn for the service.", - "type": "string" - }, - "swaggerUri": { - "description": "The Uri for sending swagger requests.", - "type": "string", - "readOnly": true - }, - "modelConfigMap": { - "description": "Details on the models and configurations.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true - }, - "models": { - "description": "The list of models.", - "type": "array", - "items": { - "$ref": "#/definitions/Model" - } - }, - "environmentImageRequest": { - "description": "The Environment, models and assets used for inferencing.", - "allOf": [ - { - "$ref": "#/definitions/EnvironmentImageResponse" - } - ] - }, - "vnetConfiguration": { - "description": "The virtual network configuration.", - "allOf": [ - { - "$ref": "#/definitions/VnetConfiguration" - } - ] - }, - "encryptionProperties": { - "description": "The encryption properties.", - "allOf": [ - { - "$ref": "#/definitions/EncryptionProperties" - } - ] - } - } - } - ], - "x-ms-discriminator-value": "ACI" - }, - "ContainerResourceRequirements": { - "description": "The resource requirements for the container (cpu and memory).", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "cpuLimit": { - "format": "double", - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "memoryInGB": { - "format": "double", - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "memoryInGBLimit": { - "format": "double", - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "gpu": { - "format": "int32", - "description": "The number of GPU cores in the container.", - "type": "integer" - }, - "fpga": { - "format": "int32", - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer" - } - } - }, - "ModelDataCollection": { - "description": "The Model data collection properties.", - "type": "object", - "properties": { - "eventHubEnabled": { - "description": "Option for enabling/disabling Event Hub.", - "type": "boolean" - }, - "storageEnabled": { - "description": "Option for enabling/disabling storage.", - "type": "boolean" - } - } - }, - "VnetConfiguration": { - "type": "object", - "properties": { - "vnetName": { - "description": "The name of the virtual network.", - "type": "string" - }, - "subnetName": { - "description": "The name of the virtual network subnet.", - "type": "string" - } - } - }, - "EncryptionProperties": { - "type": "object", - "properties": { - "vaultBaseUrl": { - "description": "vault base Url", - "type": "string" - }, - "keyName": { - "description": "Encryption Key name", - "type": "string" - }, - "keyVersion": { - "description": "Encryption Key Version", - "type": "string" - } - }, - "required": [ - "vaultBaseUrl", - "keyName", - "keyVersion" - ] - }, - "Model": { - "description": "An Azure Machine Learning Model.", - "required": [ - "mimeType", - "name", - "url" - ], - "type": "object", - "properties": { - "id": { - "description": "The Model Id.", - "type": "string", - "example": "sklearn_mnist:1" - }, - "name": { - "description": "The Model name.", - "type": "string", - "example": "sklearn_mnist" - }, - "framework": { - "description": "The Model framework.", - "type": "string" - }, - "frameworkVersion": { - "description": "The Model framework version.", - "type": "string" - }, - "version": { - "format": "int64", - "description": "The Model version assigned by Model Management Service.", - "type": "integer", - "example": 1 - }, - "datasets": { - "description": "The list of datasets associated with the model.", - "type": "array", - "items": { - "$ref": "#/definitions/DatasetReference" - } - }, - "url": { - "description": "The URL of the Model. Usually a SAS URL.", - "type": "string" - }, - "mimeType": { - "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml", - "type": "string" - }, - "description": { - "description": "The Model description text.", - "type": "string", - "example": "A mnist model, first version." - }, - "createdTime": { - "format": "date-time", - "description": "The Model creation time (UTC).", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "The Model last modified time (UTC).", - "type": "string" - }, - "unpack": { - "description": "Indicates whether we need to unpack the Model during docker Image creation.", - "type": "boolean" - }, - "parentModelId": { - "description": "The Parent Model Id.", - "type": "string", - "example": "sklearn_mnist_root:1" - }, - "runId": { - "description": "The RunId that created this model.", - "type": "string" - }, - "experimentName": { - "description": "The name of the experiment where this model was created.", - "type": "string" - }, - "kvTags": { - "description": "The Model tag dictionary. Items are mutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "description": "The Model property dictionary. Properties are immutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "derivedModelIds": { - "description": "Models derived from this model", - "type": "array", - "items": { - "type": "string" - } - }, - "sampleInputData": { - "description": "Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", - "type": "string" - }, - "sampleOutputData": { - "description": "Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", - "type": "string" - }, - "resourceRequirements": { - "description": "Resource requirements for the model", - "$ref": "#/definitions/ContainerResourceRequirements" - } - } - }, - "EnvironmentImageRequest": { - "description": "Request to create a Docker image based on Environment.", - "type": "object", - "properties": { - "driverProgram": { - "description": "The name of the driver file.", - "type": "string" - }, - "assets": { - "description": "The list of assets.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageAsset" - } - }, - "modelIds": { - "description": "The list of model Ids.", - "type": "array", - "items": { - "type": "string" - } - }, - "models": { - "description": "The list of models.", - "type": "array", - "items": { - "$ref": "#/definitions/Model" - } - }, - "environment": { - "description": "The details of the AZURE ML environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelEnvironmentDefinition" - } - ] - }, - "environmentReference": { - "description": "The unique identifying details of the AZURE ML environment.", - "allOf": [ - { - "$ref": "#/definitions/EnvironmentReference" - } - ] - } - } - }, - "EnvironmentImageResponse": { - "description": "Request to create a Docker image based on Environment.", - "type": "object", - "properties": { - "driverProgram": { - "description": "The name of the driver file.", - "type": "string" - }, - "assets": { - "description": "The list of assets.", - "type": "array", - "items": { - "$ref": "#/definitions/ImageAsset" - } - }, - "modelIds": { - "description": "The list of model Ids.", - "type": "array", - "items": { - "type": "string" - } - }, - "models": { - "description": "The list of models.", - "type": "array", - "items": { - "$ref": "#/definitions/Model" - } - }, - "environment": { - "description": "The details of the AZURE ML environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelEnvironmentDefinitionResponse" - } - ] - }, - "environmentReference": { - "description": "The unique identifying details of the AZURE ML environment.", - "allOf": [ - { - "$ref": "#/definitions/EnvironmentReference" - } - ] - } - } - }, - "ImageAsset": { - "description": "An Image asset.", - "type": "object", - "properties": { - "id": { - "description": "The Asset Id.", - "type": "string" - }, - "mimeType": { - "description": "The mime type.", - "type": "string" - }, - "url": { - "description": "The Url of the Asset.", - "type": "string" - }, - "unpack": { - "description": "Whether the Asset is unpacked.", - "type": "boolean" - } - } - }, - "ModelEnvironmentDefinition": { - "type": "object", - "properties": { - "name": { - "description": "The name of the environment.", - "type": "string", - "example": "mydevenvironment" - }, - "version": { - "description": "The environment version.", - "type": "string", - "example": "1" - }, - "python": { - "description": "Settings for a Python environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelPythonSection" - } - ] - }, - "environmentVariables": { - "description": "Definition of environment variables to be defined in the environment.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "docker": { - "description": "The definition of a Docker container.", - "allOf": [ - { - "$ref": "#/definitions/ModelDockerSection" - } - ] - }, - "spark": { - "description": "The configuration for a Spark environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelSparkSection" - } - ] - }, - "r": { - "description": "Settings for a R environment.", - "allOf": [ - { - "$ref": "#/definitions/RSection" - } - ] - }, - "inferencingStackVersion": { - "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", - "type": "string", - "example": "latest" - } - } - }, - "ModelEnvironmentDefinitionResponse": { - "type": "object", - "properties": { - "name": { - "description": "The name of the environment.", - "type": "string", - "example": "mydevenvironment" - }, - "version": { - "description": "The environment version.", - "type": "string", - "example": "1" - }, - "python": { - "description": "Settings for a Python environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelPythonSection" - } - ] - }, - "environmentVariables": { - "description": "Definition of environment variables to be defined in the environment.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "docker": { - "description": "The definition of a Docker container.", - "allOf": [ - { - "$ref": "#/definitions/ModelDockerSectionResponse" - } - ] - }, - "spark": { - "description": "The configuration for a Spark environment.", - "allOf": [ - { - "$ref": "#/definitions/ModelSparkSection" - } - ] - }, - "r": { - "description": "Settings for a R environment.", - "allOf": [ - { - "$ref": "#/definitions/RSectionResponse" - } - ] - }, - "inferencingStackVersion": { - "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", - "type": "string", - "example": "latest" - } - } - }, - "EnvironmentReference": { - "type": "object", - "properties": { - "name": { - "description": "Name of the environment.", - "type": "string" - }, - "version": { - "description": "Version of the environment.", - "type": "string" - } - } - }, - "ModelPythonSection": { - "type": "object", - "properties": { - "interpreterPath": { - "description": "The python interpreter path to use if an environment build is not required. The path specified gets used to call the user script.", - "type": "string" - }, - "userManagedDependencies": { - "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.", - "type": "boolean" - }, - "condaDependencies": { - "description": "A JObject containing Conda dependencies.", - "type": "object" - }, - "baseCondaEnvironment": { - "type": "string" - } - } - }, - "ContainerRegistry": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "username": { - "type": "string", - "x-ms-secret": true - }, - "password": { - "type": "string", - "x-ms-secret": true - } - } - }, - "ContainerRegistryResponse": { - "type": "object", - "properties": { - "address": { - "type": "string" - } - } - }, - "ModelDockerSection": { - "type": "object", - "properties": { - "baseImage": { - "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", - "type": "string", - "example": "ubuntu:latest" - }, - "baseDockerfile": { - "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", - "type": "string", - "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" - }, - "baseImageRegistry": { - "description": "Image registry that contains the base image.", - "allOf": [ - { - "$ref": "#/definitions/ContainerRegistry" - } - ] - } - } - }, - "ModelDockerSectionResponse": { - "type": "object", - "properties": { - "baseImage": { - "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", - "type": "string", - "example": "ubuntu:latest" - }, - "baseDockerfile": { - "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", - "type": "string", - "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" - }, - "baseImageRegistry": { - "description": "Image registry that contains the base image.", - "allOf": [ - { - "$ref": "#/definitions/ContainerRegistryResponse" - } - ] - } - } - }, - "SparkMavenPackage": { - "type": "object", - "properties": { - "group": { - "type": "string" - }, - "artifact": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, - "ModelSparkSection": { - "type": "object", - "properties": { - "repositories": { - "description": "The list of spark repositories.", - "type": "array", - "items": { - "type": "string" - } - }, - "packages": { - "description": "The Spark packages to use.", - "type": "array", - "items": { - "$ref": "#/definitions/SparkMavenPackage" - } - }, - "precachePackages": { - "description": "Whether to precache the packages.", - "type": "boolean" - } - } - }, - "RCranPackage": { - "type": "object", - "properties": { - "name": { - "description": "The package name.", - "type": "string" - }, - "repository": { - "description": "The repository name.", - "type": "string" - } - } - }, - "RGitHubPackage": { - "type": "object", - "properties": { - "repository": { - "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", - "type": "string" - }, - "authToken": { - "description": "Personal access token to install from a private repo", - "type": "string", - "x-ms-secret": true - } - } - }, - "RGitHubPackageResponse": { - "type": "object", - "properties": { - "repository": { - "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", - "type": "string" - } - } - }, - "RSection": { - "type": "object", - "properties": { - "rVersion": { - "description": "The version of R to be installed", - "type": "string" - }, - "userManaged": { - "description": "Indicates whether the environment is managed by user or by AzureML.", - "type": "boolean" - }, - "rscriptPath": { - "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", - "type": "string" - }, - "snapshotDate": { - "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", - "type": "string" - }, - "cranPackages": { - "description": "The CRAN packages to use.", - "type": "array", - "items": { - "$ref": "#/definitions/RCranPackage" - } - }, - "gitHubPackages": { - "description": "The packages directly from GitHub.", - "type": "array", - "items": { - "$ref": "#/definitions/RGitHubPackage" - } - }, - "customUrlPackages": { - "description": "The packages from custom urls.", - "type": "array", - "items": { - "type": "string" - } - }, - "bioConductorPackages": { - "description": "The packages from Bioconductor.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "RSectionResponse": { - "type": "object", - "properties": { - "rVersion": { - "description": "The version of R to be installed", - "type": "string" - }, - "userManaged": { - "description": "Indicates whether the environment is managed by user or by AzureML.", - "type": "boolean" - }, - "rscriptPath": { - "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", - "type": "string" - }, - "snapshotDate": { - "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", - "type": "string" - }, - "cranPackages": { - "description": "The CRAN packages to use.", - "type": "array", - "items": { - "$ref": "#/definitions/RCranPackage" - } - }, - "gitHubPackages": { - "description": "The packages directly from GitHub.", - "type": "array", - "items": { - "$ref": "#/definitions/RGitHubPackageResponse" - } - }, - "customUrlPackages": { - "description": "The packages from custom urls.", - "type": "array", - "items": { - "type": "string" - } - }, - "bioConductorPackages": { - "description": "The packages from Bioconductor.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DatasetReference": { - "description": "The dataset reference object.", - "type": "object", - "properties": { - "name": { - "description": "The name of the dataset reference.", - "type": "string" - }, - "id": { - "description": "The id of the dataset reference.", - "type": "string" - } - } - }, - "AKSVariantResponse": { - "description": "The response for an AKS variant.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ServiceResponseBase" - }, - { - "type": "object", - "properties": { - "isDefault": { - "description": "Is this the default variant.", - "type": "boolean" - }, - "trafficPercentile": { - "format": "float", - "description": "The amount of traffic variant receives.", - "type": "number", - "example": 100 - }, - "type": { - "description": "The type of the variant.", - "enum": [ - "Control", - "Treatment" - ], - "type": "string", - "example": "Control", - "x-ms-enum": { - "name": "VariantType", - "modelAsString": true - } - } - } - } - ], - "x-ms-discriminator-value": "Custom" - }, - "AutoScaler": { - "description": "The Auto Scaler properties.", - "type": "object", - "properties": { - "autoscaleEnabled": { - "description": "Option to enable/disable auto scaling.", - "type": "boolean" - }, - "minReplicas": { - "format": "int32", - "description": "The minimum number of replicas to scale down to.", - "type": "integer", - "example": 1 - }, - "maxReplicas": { - "format": "int32", - "description": "The maximum number of replicas in the cluster.", - "type": "integer", - "example": 3 - }, - "targetUtilization": { - "format": "int32", - "description": "The target utilization percentage to use for determining whether to scale the cluster.", - "type": "integer", - "example": 70 - }, - "refreshPeriodInSeconds": { - "format": "int32", - "description": "The amount of seconds to wait between auto scale updates.", - "type": "integer", - "example": 120 - } - } - }, - "AKSReplicaStatus": { - "type": "object", - "properties": { - "desiredReplicas": { - "format": "int32", - "description": "The desired number of replicas.", - "type": "integer", - "example": 2 - }, - "updatedReplicas": { - "format": "int32", - "description": "The number of updated replicas.", - "type": "integer", - "example": 1 - }, - "availableReplicas": { - "format": "int32", - "description": "The number of available replicas.", - "type": "integer", - "example": 1 - }, - "error": { - "description": "The error details.", - "allOf": [ - { - "$ref": "#/definitions/MachineLearningServiceError" - } - ] - } - } - }, - "LivenessProbeRequirements": { - "description": "The liveness probe requirements.", - "type": "object", - "properties": { - "failureThreshold": { - "format": "int32", - "description": "The number of failures to allow before returning an unhealthy status.", - "type": "integer" - }, - "successThreshold": { - "format": "int32", - "description": "The number of successful probes before returning a healthy status.", - "type": "integer" - }, - "timeoutSeconds": { - "format": "int32", - "description": "The probe timeout in seconds.", - "type": "integer" - }, - "periodSeconds": { - "format": "int32", - "description": "The length of time between probes in seconds.", - "type": "integer" - }, - "initialDelaySeconds": { - "format": "int32", - "description": "The delay before the first probe in seconds.", - "type": "integer" - } - } - }, - "AKSServiceResponse": { - "description": "The response for an AKS service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AKSVariantResponse" - }, - { - "type": "object", - "properties": { - "models": { - "description": "The list of models.", - "type": "array", - "items": { - "$ref": "#/definitions/Model" - } - }, - "containerResourceRequirements": { - "description": "The container resource requirements.", - "$ref": "#/definitions/ContainerResourceRequirements" - }, - "maxConcurrentRequestsPerContainer": { - "format": "int32", - "description": "The maximum number of concurrent requests per container.", - "type": "integer", - "example": 100 - }, - "maxQueueWaitMs": { - "format": "int32", - "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", - "type": "integer", - "example": 250 - }, - "computeName": { - "description": "The name of the compute resource.", - "type": "string" - }, - "namespace": { - "description": "The Kubernetes namespace of the deployment.", - "type": "string", - "example": "default" - }, - "numReplicas": { - "format": "int32", - "description": "The number of replicas on the cluster.", - "type": "integer", - "example": 1 - }, - "dataCollection": { - "description": "Details of the data collection options specified.", - "allOf": [ - { - "$ref": "#/definitions/ModelDataCollection" - } - ] - }, - "appInsightsEnabled": { - "description": "Whether or not Application Insights is enabled.", - "type": "boolean" - }, - "autoScaler": { - "description": "The auto scaler properties.", - "allOf": [ - { - "$ref": "#/definitions/AutoScaler" - } - ] - }, - "scoringUri": { - "description": "The Uri for sending scoring requests.", - "type": "string", - "readOnly": true - }, - "deploymentStatus": { - "description": "The deployment status.", - "readOnly": true, - "allOf": [ - { - "$ref": "#/definitions/AKSReplicaStatus" - } - ] - }, - "scoringTimeoutMs": { - "format": "int32", - "description": "The scoring timeout in milliseconds.", - "type": "integer", - "example": 100 - }, - "livenessProbeRequirements": { - "description": "The liveness probe requirements.", - "allOf": [ - { - "$ref": "#/definitions/LivenessProbeRequirements" - } - ] - }, - "authEnabled": { - "description": "Whether or not authentication is enabled.", - "type": "boolean" - }, - "aadAuthEnabled": { - "description": "Whether or not AAD authentication is enabled.", - "type": "boolean" - }, - "swaggerUri": { - "description": "The Uri for sending swagger requests.", - "type": "string", - "readOnly": true - }, - "modelConfigMap": { - "description": "Details on the models and configurations.", - "type": "object", - "additionalProperties": { - "type": "object" - }, - "readOnly": true - }, - "environmentImageRequest": { - "description": "The Environment, models and assets used for inferencing.", - "allOf": [ - { - "$ref": "#/definitions/EnvironmentImageResponse" - } - ] - } - } - } - ], - "x-ms-discriminator-value": "AKS" - }, - "AuthKeys": { - "type": "object", - "properties": { - "primaryKey": { - "description": "The primary key.", - "type": "string" - }, - "secondaryKey": { - "description": "The secondary key.", - "type": "string" - } - } - }, - "CreateServiceRequest": { - "description": "The base class for creating a service.", - "required": [ - "computeType" - ], - "type": "object", - "properties": { - "description": { - "description": "The description of the service.", - "type": "string" - }, - "kvTags": { - "description": "The service tag dictionary. Tags are mutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "properties": { - "description": "The service properties dictionary. Properties are immutable.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "keys": { - "description": "The authentication keys.", - "allOf": [ - { - "$ref": "#/definitions/AuthKeys" - } - ] - }, - "computeType": { - "description": "The compute environment type for the service.", - "enum": [ - "ACI", - "AKS" - ], - "type": "string", - "example": "AKS", - "x-ms-enum": { - "name": "ComputeEnvironmentType", - "modelAsString": true - } - }, - "environmentImageRequest": { - "description": "The Environment, models and assets needed for inferencing.", - "allOf": [ - { - "$ref": "#/definitions/EnvironmentImageRequest" - } - ] - }, - "location": { - "description": "The name of the Azure location/region.", - "type": "string" - } - }, - "discriminator": "computeType" - }, - "ACIServiceCreateRequest": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CreateServiceRequest" - }, - { - "type": "object", - "properties": { - "containerResourceRequirements": { - "description": "The container resource requirements.", - "$ref": "#/definitions/ContainerResourceRequirements" - }, - "authEnabled": { - "description": "Whether or not authentication is enabled on the service.", - "default": false, - "type": "boolean" - }, - "sslEnabled": { - "description": "Whether or not SSL is enabled.", - "default": false, - "type": "boolean" - }, - "appInsightsEnabled": { - "description": "Whether or not Application Insights is enabled.", - "default": false, - "type": "boolean" - }, - "dataCollection": { - "description": "Details of the data collection options specified.", - "allOf": [ - { - "$ref": "#/definitions/ModelDataCollection" - } - ] - }, - "sslCertificate": { - "description": "The public SSL certificate in PEM format to use if SSL is enabled.", - "type": "string" - }, - "sslKey": { - "description": "The public SSL key in PEM format for the certificate.", - "type": "string" - }, - "cname": { - "description": "The CName for the service.", - "type": "string" - }, - "dnsNameLabel": { - "description": "The Dns label for the service.", - "type": "string" - }, - "vnetConfiguration": { - "description": "The virtual network configuration.", - "allOf": [ - { - "$ref": "#/definitions/VnetConfiguration" - } - ] - }, - "encryptionProperties": { - "description": "The encryption properties.", - "allOf": [ - { - "$ref": "#/definitions/EncryptionProperties" - } - ] - } - } - } - ], - "x-ms-discriminator-value": "ACI" - }, - "AKSServiceCreateRequest": { - "description": "The request to create an AKS service.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CreateEndpointVariantRequest" - }, - { - "type": "object", - "properties": { - "numReplicas": { - "format": "int32", - "description": "The number of replicas on the cluster.", - "type": "integer", - "example": 1 - }, - "dataCollection": { - "description": "Details of the data collection options specified.", - "allOf": [ - { - "$ref": "#/definitions/ModelDataCollection" - } - ] - }, - "computeName": { - "description": "The name of the compute resource.", - "type": "string" - }, - "appInsightsEnabled": { - "description": "Whether or not Application Insights is enabled.", - "type": "boolean" - }, - "autoScaler": { - "description": "The auto scaler properties.", - "allOf": [ - { - "$ref": "#/definitions/AutoScaler" - } - ] - }, - "containerResourceRequirements": { - "description": "The container resource requirements.", - "$ref": "#/definitions/ContainerResourceRequirements" - }, - "maxConcurrentRequestsPerContainer": { - "format": "int32", - "description": "The maximum number of concurrent requests per container.", - "type": "integer", - "example": 100 - }, - "maxQueueWaitMs": { - "format": "int32", - "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", - "type": "integer", - "example": 250 - }, - "namespace": { - "description": "Kubernetes namespace for the service.", - "type": "string", - "example": "default" - }, - "scoringTimeoutMs": { - "format": "int32", - "description": "The scoring timeout in milliseconds.", - "type": "integer", - "example": 100 - }, - "authEnabled": { - "description": "Whether or not authentication is enabled.", - "type": "boolean" - }, - "livenessProbeRequirements": { - "description": "The liveness probe requirements.", - "allOf": [ - { - "$ref": "#/definitions/LivenessProbeRequirements" - } - ] - }, - "aadAuthEnabled": { - "description": "Whether or not AAD authentication is enabled.", - "type": "boolean" - } - } - } - ], - "x-ms-discriminator-value": "AKS" - }, - "CreateEndpointVariantRequest": { - "description": "The Variant properties.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CreateServiceRequest" - }, - { - "type": "object", - "properties": { - "isDefault": { - "description": "Is this the default variant.", - "type": "boolean" - }, - "trafficPercentile": { - "format": "float", - "description": "The amount of traffic variant receives.", - "type": "number", - "example": 100 - }, - "type": { - "description": "The type of the variant.", - "enum": [ - "Control", - "Treatment" - ], - "type": "string", - "example": "Control", - "x-ms-enum": { - "name": "VariantType", - "modelAsString": true - } - } - } - } - ], - "x-ms-discriminator-value": "Custom" - }, - "ComputeInstanceSshSettings": { - "type": "object", - "description": "Specifies policy and settings for SSH access.", - "properties": { - "sshPublicAccess": { - "type": "string", - "default": "Disabled", - "title": "Access policy for SSH", - "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "sshPublicAccess", - "modelAsString": true - } - }, - "adminUserName": { - "type": "string", - "readOnly": true, - "description": "Describes the admin user name." - }, - "sshPort": { - "type": "integer", - "format": "int32", - "readOnly": true, - "description": "Describes the port for connecting through SSH." - }, - "adminPublicKey": { - "type": "string", - "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." - } - } - }, - "ComputeInstanceState": { - "type": "string", - "description": "Current state of an ComputeInstance.", - "enum": [ - "Creating", - "CreateFailed", - "Deleting", - "Running", - "Restarting", - "JobRunning", - "SettingUp", - "SetupFailed", - "Starting", - "Stopped", - "Stopping", - "UserSettingUp", - "UserSetupFailed", - "Unknown", - "Unusable" - ], - "x-ms-enum": { - "name": "ComputeInstanceState", - "modelAsString": true - } - }, - "ComputeInstanceLastOperation": { - "type": "object", - "description": "The last operation on ComputeInstance.", - "properties": { - "operationName": { - "type": "string", - "description": "Name of the last operation.", - "enum": [ - "Create", - "Start", - "Stop", - "Restart", - "Reimage", - "Delete" - ], - "x-ms-enum": { - "name": "OperationName", - "modelAsString": true - } - }, - "operationTime": { - "type": "string", - "format": "date-time", - "description": "Time of the last operation." - }, - "operationStatus": { - "type": "string", - "description": "Operation status.", - "enum": [ - "InProgress", - "Succeeded", - "CreateFailed", - "StartFailed", - "StopFailed", - "RestartFailed", - "ReimageFailed", - "DeleteFailed" - ], - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": true - } - } - } - }, - "ComputeInstanceApplication": { - "type": "object", - "description": "Defines an Aml Instance application and its connectivity endpoint URI.", - "properties": { - "displayName": { - "type": "string", - "description": "Name of the ComputeInstance application." - }, - "endpointUri": { - "type": "string", - "description": "Application' endpoint URI." - } - } - }, - "ComputeInstanceConnectivityEndpoints": { - "type": "object", - "readOnly": true, - "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", - "properties": { - "publicIpAddress": { - "type": "string", - "readOnly": true, - "description": "Public IP Address of this ComputeInstance." - }, - "privateIpAddress": { - "type": "string", - "readOnly": true, - "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." - } - } - }, - "ComputeInstanceCreatedBy": { - "type": "object", - "readOnly": true, - "description": "Describes information on user who created this ComputeInstance.", - "properties": { - "userName": { - "type": "string", - "readOnly": true, - "description": "Name of the user." - }, - "userOrgId": { - "type": "string", - "readOnly": true, - "description": "Uniquely identifies user' Azure Active Directory organization." - }, - "userId": { - "type": "string", - "readOnly": true, - "description": "Uniquely identifies the user within his/her organization." - } - } - }, - "PersonalComputeInstanceSettings": { - "type": "object", - "properties": { - "assignedUser": { - "$ref": "#/definitions/AssignedUser", - "title": "Assigned User.", - "description": "A user explicitly assigned to a personal compute instance." - } - }, - "description": "Settings for a personal compute instance." - }, - "AssignedUser": { - "type": "object", - "description": "A user that can be assigned to a compute instance.", - "properties": { - "objectId": { - "type": "string", - "description": "User’s AAD Object Id." - }, - "tenantId": { - "type": "string", - "description": "User’s AAD Tenant Id." - } - }, - "required": [ - "objectId", - "tenantId" - ] - }, - "ServiceManagedResourcesSettings": { - "type": "object", - "properties": { - "cosmosDb": { - "$ref": "#/definitions/CosmosDbSettings", - "description": "The settings for the service managed cosmosdb account." - } - } - }, - "CosmosDbSettings": { - "type": "object", - "properties": { - "collectionsThroughput": { - "type": "integer", - "format": "int32", - "description": "The throughput of the collections in cosmosdb database" - } - } - }, - "NotebookResourceInfo": { - "type": "object", - "properties": { - "fqdn": { - "type": "string" - }, - "resourceId": { - "type": "string", - "description": "the data plane resourceId that used to initialize notebook component" - }, - "notebookPreparationError": { - "$ref": "#/definitions/NotebookPreparationError", - "description": "The error that occurs when preparing notebook." - } - } - }, - "NotebookPreparationError": { - "type": "object", - "properties": { - "errorMessage": { - "type": "string" - }, - "statusCode": { - "format": "int32", - "type": "integer" - } - } - }, - "ListNotebookKeysResult": { - "type": "object", - "properties": { - "primaryAccessKey": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - }, - "secondaryAccessKey": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - } - } - }, - "ListStorageAccountKeysResult": { - "type": "object", - "properties": { - "userStorageKey": { - "readOnly": true, - "type": "string", - "x-ms-secret": true - } - } - }, - "PaginatedWorkspaceConnectionsList": { - "type": "object", - "description": "Paginated list of Workspace connection objects.", - "properties": { - "value": { - "type": "array", - "description": "An array of Workspace connection objects.", - "items": { - "$ref": "#/definitions/WorkspaceConnection" - } - }, - "nextLink": { - "type": "string", - "description": "A continuation link (absolute URI) to the next page of results in the list." - } - } - }, - "WorkspaceConnection": { - "x-ms-azure-resource": true, - "description": "Workspace connection.", - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ResourceId of the workspace connection.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Friendly name of the workspace connection.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type of workspace connection.", - "readOnly": true - }, - "properties": { - "type": "object", - "description": "Properties of workspace connection.", - "$ref": "#/definitions/WorkspaceConnectionProps", - "x-ms-client-flatten": true - } - } - }, - "WorkspaceConnectionDto": { - "type": "object", - "description": "object used for creating workspace connection.", - "properties": { - "name": { - "description": "Friendly name of the workspace connection", - "type": "string" - }, - "properties": { - "type": "object", - "description": "Properties of workspace connection.", - "$ref": "#/definitions/WorkspaceConnectionProps", - "x-ms-client-flatten": true - } - } - }, - "WorkspaceConnectionProps": { - "type": "object", - "description": "Workspace Connection specific properties.", - "properties": { - "category": { - "description": "Category of the workspace connection.", - "type": "string" - }, - "target": { - "description": "Target of the workspace connection.", - "type": "string" - }, - "authType": { - "description": "Authorization type of the workspace connection.", - "type": "string" - }, - "value": { - "description": "Value details of the workspace connection.", - "type": "string" - }, - "valueFormat": { - "description": "format for the workspace connection value", - "type": "string", - "enum": [ - "JSON" - ], - "x-ms-enum": { - "name": "ValueFormat", - "modelAsString": true - } - } - } - }, - "SetupScripts": { - "type": "object", - "description": "Details of customized scripts to execute for setting up the cluster.", - "properties": { - "scripts": { - "description": "Customized setup scripts", - "$ref": "#/definitions/ScriptsToExecute" - } - } - }, - "ScriptsToExecute": { - "type": "object", - "description": "Customized setup scripts", - "properties": { - "startupScript": { - "description": "Script that's run every time the machine starts.", - "$ref": "#/definitions/ScriptReference" - }, - "creationScript": { - "description": "Script that's run only once during provision of the compute.", - "$ref": "#/definitions/ScriptReference" - } - } - }, - "ScriptReference": { - "type": "object", - "description": "Script reference", - "properties": { - "scriptSource": { - "description": "The storage source of the script: inline, workspace.", - "type": "string" - }, - "scriptData": { - "description": "The location of scripts in the mounted volume.", - "type": "string" - }, - "scriptArguments": { - "description": "Optional command line arguments passed to the script to run.", - "type": "string" - }, - "timeout": { - "description": "Optional time period passed to timeout command.", - "type": "string" - } - } - } - } -} From 1222658525ec014cb5e87aee8fa889c0f73c7704 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Mon, 5 Apr 2021 22:33:23 -0700 Subject: [PATCH 053/211] only change api version --- .../stable/2021-04-01/examples/ListSkus.json | 79 + .../2021-04-01/examples/ListUsages.json | 400 + .../examples/ListVMSizesResult.json | 348 + .../examples/ListWorkspaceFeatures.json | 26 + .../ListWorkspaceQuotasByVMFamily.json | 415 ++ .../examples/amlComputeListNodes.json | 34 + .../examples/createBasicAKSCompute.json | 44 + .../examples/createBasicAmlCompute.json | 60 + .../createBasicDataFactoryCompute.json | 44 + .../examples/createComputeInstance.json | 59 + .../createComputeInstanceMinimal.json | 47 + .../examples/createOrUpdateService.json | 225 + .../2021-04-01/examples/createWorkspace.json | 169 + .../examples/createWorkspaceConnection.json | 33 + .../2021-04-01/examples/deleteCompute.json | 19 + .../2021-04-01/examples/deleteService.json | 13 + .../2021-04-01/examples/deleteWorkspace.json | 13 + .../examples/deleteWorkspaceConnection.json | 13 + .../2021-04-01/examples/getAKSCompute.json | 25 + .../2021-04-01/examples/getAmlCompute.json | 52 + .../examples/getComputeInstance.json | 58 + .../2021-04-01/examples/getComputes.json | 41 + .../2021-04-01/examples/getService.json | 157 + .../2021-04-01/examples/getServices.json | 282 + .../2021-04-01/examples/getWorkspace.json | 88 + .../examples/getWorkspaceConnection.json | 24 + .../getWorkspacesByResourceGroup.json | 54 + .../examples/getWorkspacesBySubscription.json | 53 + .../examples/listKeysAKSCompute.json | 19 + .../examples/listNotebookAccessToken.json | 20 + .../2021-04-01/examples/listNotebookKeys.json | 16 + .../examples/listStorageAccountKeys.json | 15 + .../examples/listWorkspaceConnections.json | 40 + .../examples/listWorkspaceKeys.json | 35 + .../2021-04-01/examples/patchAmlCompute.json | 36 + .../examples/restartComputeInstance.json | 12 + .../examples/resyncWorkspaceKeys.json | 11 + .../examples/startComputeInstance.json | 12 + .../examples/stopComputeInstance.json | 12 + .../2021-04-01/examples/updateAKSCompute.json | 53 + .../2021-04-01/examples/updateAmlCompute.json | 54 + .../2021-04-01/examples/updateQuota.json | 45 + .../2021-04-01/examples/updateWorkspace.json | 46 + ...kspaceDeletePrivateEndpointConnection.json | 14 + ...workspaceGetPrivateEndpointConnection.json | 30 + .../workspaceListPrivateLinkResources.json | 28 + .../examples/workspacePrepareNotebook.json | 21 + ...workspacePutPrivateEndpointConnection.json | 38 + .../2021-04-01/machineLearningServices.json | 6513 +++++++++++++++++ 49 files changed, 9945 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json new file mode 100644 index 000000000000..b278654e9d24 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListSkus.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "workspaces", + "name": "Basic", + "tier": "Basic", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "capabilities": [ + { + "name": "automatedml_readhyperdrivesdk", + "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" + }, + { + "name": "workspace_upgradeworkspacesdk", + "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" + } + ], + "restrictions": [] + }, + { + "resourceType": "workspaces", + "name": "Enterprise", + "tier": "Enterprise", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ] + } + ] + } + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ], + "restrictions": [] + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json new file mode 100644 index 000000000000..77970b4c0002 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListUsages.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json new file mode 100644 index 000000000000..67c43915df17 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListVMSizesResult.json @@ -0,0 +1,348 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2021-04-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "amlCompute": [ + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.09, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.23, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + } + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.24, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.08, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.06, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.16, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_M32-8ms", + "family": "standardMSFamily", + "vCPUs": 32, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1024000, + "memoryGB": 875, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 8.43, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 1.23, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 3.37, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 6.15, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.43, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.9, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.08, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.28, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.51, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.22, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.09, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 2.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.36, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.87, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.49, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json new file mode 100644 index 000000000000..45bc14282ce4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceFeatures.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-04-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "automatedml_createeditexperimentsui", + "displayName": "Create edit experiments UI", + "description": "Create, edit or delete AutoML experiments in the SDK" + }, + { + "id": "workspace_upgradeworkspaceui", + "displayName": "Upgrade workspace UI", + "description": "Upgrade workspace from Basic to enterprise from the UI" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json new file mode 100644 index 000000000000..3b3ad33a2397 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/ListWorkspaceQuotasByVMFamily.json @@ -0,0 +1,415 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quota", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json new file mode 100644 index 000000000000..f769623a5e7b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/amlComputeListNodes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AmlCompute", + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50000, + "nodeState": "running", + "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50001, + "nodeState": "idle" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json new file mode 100644 index 000000000000..9585ffacc15b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json new file mode 100644 index 000000000000..fc56e0855973 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicAmlCompute.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" + }, + "isolatedNetwork": false, + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "NotSpecified", + "enableNodePublicIp": true + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json new file mode 100644 index 000000000000..fad53bdc7598 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createBasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json new file mode 100644 index 000000000000..6d3b484b5d7a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json new file mode 100644 index 000000000000..f3dc554563a8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createComputeInstanceMinimal.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json new file mode 100644 index 000000000000..16a2c8444327 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json @@ -0,0 +1,225 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01", + "serviceName": "service456", + "properties": { + "computeType": "ACI", + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://storage/azureml/score.py", + "unpack": false + } + ], + "models": [ + { + "name": "sklearn_regression_model.pkl", + "url": "aml://storage/azureml/sklearn_regression_model.pkl", + "mimeType": "application/x-python" + } + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null, + "username": null, + "password": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "containerResourceRequirements": { + "cpu": 1, + "memoryInGB": 1 + }, + "location": "eastus2", + "authEnabled": true, + "appInsightsEnabled": true + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Transitioning" + } + } + }, + "201": { + "description": "The request was accepted.", + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json new file mode 100644 index 000000000000..05cd79741447 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json @@ -0,0 +1,169 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": {} + } + }, + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json new file mode 100644 index 000000000000..048a72c9ddee --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspaceConnection.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-04-01", + "parameters": { + "name": "connection-1", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json new file mode 100644 index 000000000000..661c6f32341c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json new file mode 100644 index 000000000000..8f0c3e18fa3f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteService.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "serviceName": "service123", + "api-version": "2021-04-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json new file mode 100644 index 000000000000..16629317b7bd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspace.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json new file mode 100644 index 000000000000..2bef74cf4ca3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/deleteWorkspaceConnection.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-04-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json new file mode 100644 index 000000000000..173a2628e1f4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json new file mode 100644 index 000000000000..116337af2009 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json new file mode 100644 index 000000000000..9fe4ed60705d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "ComputeInstance", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Shared", + "sshSettings": { + "sshPublicAccess": "Enabled", + "adminUserName": "azureuser", + "sshPort": 22 + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "createdBy": { + "userName": "foobar@microsoft.com", + "userOrgId": "00000000-0000-0000-0000-000000000000", + "userId": "00000000-0000-0000-0000-000000000000" + }, + "connectivityEndpoints": { + "publicIpAddress": "10.0.0.1", + "privateIpAddress": "10.0.0.1" + }, + "applications": [ + { + "displayName": "Jupyter", + "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" + } + ], + "errors": null, + "state": "Running" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json new file mode 100644 index 000000000000..1f50b7c24ecc --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json new file mode 100644 index 000000000000..c398a964daba --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01", + "serviceName": "service123" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json new file mode 100644 index 000000000000..11faafd579b2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json @@ -0,0 +1,282 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service123", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service123", + "systemData": { + "createdBy": "string", + "createdByType": "application", + "createdAt": "2020-02-03T01:01:01.1075056Z", + "lastModifiedBy": "string", + "lastModifiedByType": "application", + "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" + }, + "properties": { + "computeType": "AKS", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "maxConcurrentRequestsPerContainer": 1, + "maxQueueWaitMs": 500, + "computeName": "my-aks-compute", + "namespace": "azureml-workspaces123", + "numReplicas": 1, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "appInsightsEnabled": true, + "autoScaler": { + "autoscaleEnabled": false, + "minReplicas": null, + "maxReplicas": null, + "targetUtilization": null, + "refreshPeriodInSeconds": null + }, + "scoringUri": "http://192.168.1.5:80/api/v1/service/service123/score", + "scoringTimeoutMs": null, + "livenessProbeRequirements": { + "failureThreshold": 3, + "successThreshold": 1, + "timeoutSeconds": 120, + "periodSeconds": 5, + "initialDelaySeconds": 310 + }, + "authEnabled": true, + "aadAuthEnabled": false, + "swaggerUri": "http://192.168.1.5/api/v1/service/service123/swagger.json", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + }, + { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/services/service456", + "type": "Microsoft.MachineLearningServices/workspaces/services", + "name": "service456", + "properties": { + "computeType": "ACI", + "containerResourceRequirements": { + "cpu": 0.1, + "memoryInGB": 0.5, + "gpu": null, + "fpga": null + }, + "scoringUri": "http://ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io/score", + "location": "eastus2", + "authEnabled": true, + "sslEnabled": false, + "appInsightsEnabled": true, + "dataCollection": { + "eventHubEnabled": false, + "storageEnabled": false + }, + "sslCertificate": "", + "sslKey": "", + "cname": null, + "publicIp": "52.177.232.98", + "publicFqdn": "ddde8e29-3e3a-42d2-980d-8fb7e005ab81.eastus2.azurecontainer.io", + "modelConfigMap": { + "accountContext": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "accountName": "workspaces123", + "workspaceId": "57b243e8-3d24-4427-90e0-8dc47f41c387" + }, + "models": { + "sklearn_regression_model1.pkl": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc" + } + }, + "modelsInfo": { + "sklearn_regression_model1.pkl": { + "2": { + "version": 2, + "id": "sklearn_regression_model1.pkl:2", + "internalId": "3ab27a5b0d0e48d99f18a5195cc258bc", + "dataCollectorStoragePath": "/modeldata/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/testrg123/workspaces123/service123/sklearn_regression_model1.pkl/2/" + } + } + } + }, + "environmentImageRequest": { + "driverProgram": "score.py", + "assets": [ + { + "id": null, + "mimeType": "application/x-python", + "url": "aml://artifact/LocalUpload/200518T200218a1a8c0af/score.py", + "unpack": false + } + ], + "modelIds": [ + "sklearn_regression_model1.pkl:2" + ], + "environment": { + "name": "AzureML-Scikit-learn-0.20.3", + "version": "3", + "python": { + "interpreterPath": "python", + "userManagedDependencies": false, + "condaDependencies": { + "channels": [ + "conda-forge" + ], + "dependencies": [ + "python=3.6.2", + { + "pip": [ + "azureml-core==1.0.69", + "azureml-defaults==1.0.69", + "azureml-telemetry==1.0.69", + "azureml-train-restclients-hyperdrive==1.0.69", + "azureml-train-core==1.0.69", + "scikit-learn==0.20.3", + "scipy==1.2.1", + "numpy==1.16.2", + "joblib==0.13.2" + ] + } + ], + "name": "azureml_ae1acbe6e1e6aabbad900b53c491a17c" + }, + "baseCondaEnvironment": null + }, + "environmentVariables": { + "EXAMPLE_ENV_VAR": "EXAMPLE_VALUE" + }, + "docker": { + "baseImage": "mcr.microsoft.com/azureml/base:openmpi3.1.2-ubuntu16.04", + "baseDockerfile": null, + "baseImageRegistry": { + "address": null + } + }, + "spark": { + "repositories": [], + "packages": [], + "precachePackages": true + }, + "inferencingStackVersion": null + } + }, + "description": null, + "kvTags": {}, + "properties": { + "hasInferenceSchema": "False", + "hasHttps": "False" + }, + "state": "Healthy" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json new file mode 100644 index 000000000000..4597f56f07f7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", + "privateLinkCount": 0, + "allowPublicAccessWhenBehindVnet": false, + "imageBuildCompute": "testcompute", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", + "name": "testprivatelinkconnection", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ], + "sharedPrivateLinkResources": [ + { + "name": "testcosmosdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json new file mode 100644 index 000000000000..9c8ea2587b37 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspaceConnection.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json new file mode 100644 index 000000000000..c1e9ee976875 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Basic", + "tier": "Basic" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json new file mode 100644 index 000000000000..8370fa226327 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json new file mode 100644 index 000000000000..93b7281ad70c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listKeysAKSCompute.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json new file mode 100644 index 000000000000..d2aa56f56020 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookAccessToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "notebookResourceId": "94350843095843059", + "hostName": "Host product name", + "publicDns": "resource.notebooks.azure.net", + "tokenType": "Bearer", + "expiresIn": 28800.0, + "scope": "aznb_identity" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json new file mode 100644 index 000000000000..4abc178d2897 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listNotebookKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json new file mode 100644 index 000000000000..01d212d17a90 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listStorageAccountKeys.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json new file mode 100644 index 000000000000..9fcb9a44d569 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceConnections.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2021-04-01", + "target": "www.facebook.com", + "category": "ACR" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", + "name": "connection-2", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json new file mode 100644 index 000000000000..3ad2001d73a1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/listWorkspaceKeys.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null, + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + }, + "notebookAccessKeys": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json new file mode 100644 index 000000000000..10b2d05e1594 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/patchAmlCompute.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json new file mode 100644 index 000000000000..14ed35e2d8c2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/restartComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json new file mode 100644 index 000000000000..585b3c161259 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json new file mode 100644 index 000000000000..cfcd3c6a0a65 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/startComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json new file mode 100644 index 000000000000..cfcd3c6a0a65 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/stopComputeInstance.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json new file mode 100644 index 000000000000..5472e4dd1829 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAKSCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json new file mode 100644 index 000000000000..aa6d97c43858 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateAmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-04-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "description": "some compute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json new file mode 100644 index 000000000000..6d6387350f36 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateQuota.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-04-01", + "parameters": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count" + } + ] + } + }, + "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", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count", + "status": "Success" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count", + "status": "Success" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json new file mode 100644 index 000000000000..f4335d220fa8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01", + "parameters": { + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, + "sku": { + "name": "Enterprise", + "tier": "Enterprise" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "New friendly name", + "description": "new description" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..9d97638f0312 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-04-01", + "monitor": "true" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..832e9bcc718f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceGetPrivateEndpointConnection.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-04-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json new file mode 100644 index 000000000000..f2be95d4b53a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspaceListPrivateLinkResources.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "api-version": "2021-04-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", + "name": "amlworkspace", + "type": "Microsoft.Storage/workspaces/privateLinkResources", + "properties": { + "groupId": "amlworkspace", + "requiredMembers": [ + "default" + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json new file mode 100644 index 000000000000..b70e6f184550 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePrepareNotebook.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "resourceId": "aabbccddee112233445566778899", + "fqdn": "testnotebook.notebooks.azure.com", + "notebookPreparationError": { + "statusCode": 500, + "errorMessage": "general error" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json new file mode 100644 index 000000000000..292c8cc49442 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/workspacePutPrivateEndpointConnection.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-04-01", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json new file mode 100644 index 000000000000..932a3b0cb7bb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -0,0 +1,6513 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2021-04-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { + "$ref": "./examples/getWorkspace.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Workspace": { + "$ref": "./examples/createWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "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" + } + }, + "202": { + "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" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { + "$ref": "./examples/deleteWorkspace.json" + } + }, + "x-ms-long-running-operation": true, + "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." + }, + "202": { + "description": "The request was accepted; 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" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { + "$ref": "./examples/updateWorkspace.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all enabled features for a workspace", + "operationId": "WorkspaceFeatures_List", + "x-ms-examples": { + "List Workspace features": { + "$ref": "./examples/ListWorkspaceFeatures.json" + } + }, + "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/ListAmlUserFeatureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { + "$ref": "./examples/getWorkspacesByResourceGroup.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listWorkspaceKeys.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "Resync Workspace Keys": { + "$ref": "./examples/resyncWorkspaceKeys.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/ListUsages.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/ListVMSizesResult.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { + "post": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_Update", + "description": "Update quota for each VM family in workspace.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for update quota is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaUpdateParameters" + }, + "description": "Quota update parameters." + }, + { + "$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" + } + } + }, + "x-ms-examples": { + "update quotas": { + "$ref": "./examples/updateQuota.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { + "get": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_List", + "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListWorkspaceQuotas" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List workspace quotas by VMFamily": { + "$ref": "./examples/ListWorkspaceQuotasByVMFamily.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { + "$ref": "./examples/getWorkspacesBySubscription.json" + } + }, + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningCompute_ListByWorkspace", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { + "$ref": "./examples/getComputes.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_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.", + "x-ms-examples": { + "Get a AKS Compute": { + "$ref": "./examples/getAKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/getAmlCompute.json" + }, + "Get an ComputeInstance": { + "$ref": "./examples/getComputeInstance.json" + } + }, + "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" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_CreateOrUpdate", + "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.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { + "$ref": "./examples/createBasicAmlCompute.json" + }, + "Create an ComputeInstance Compute with minimal inputs": { + "$ref": "./examples/createComputeInstanceMinimal.json" + }, + "Create an ComputeInstance Compute": { + "$ref": "./examples/createComputeInstance.json" + }, + "Create AKS Compute": { + "$ref": "./examples/createBasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/createBasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/updateAmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/updateAKSCompute.json" + } + }, + "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" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { + "$ref": "./examples/patchAmlCompute.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { + "$ref": "./examples/deleteCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "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" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "nodes" + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/amlComputeListNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "return notebook access token and refresh token", + "operationId": "Workspaces_ListNotebookAccessToken", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookAccessToken.json" + } + }, + "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/NotebookAccessTokenResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { + "$ref": "./examples/listKeysAKSCompute.json" + } + }, + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Start", + "description": "Posts a start action to a compute instance", + "x-ms-examples": { + "Start ComputeInstance Compute": { + "$ref": "./examples/startComputeInstance.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Stop", + "description": "Posts a stop action to a compute instance", + "x-ms-examples": { + "Stop ComputeInstance Compute": { + "$ref": "./examples/stopComputeInstance.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "MachineLearningCompute_Restart", + "description": "Posts a restart action to a compute instance", + "x-ms-examples": { + "Restart ComputeInstance Compute": { + "$ref": "./examples/restartComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "get": { + "tags": [ + "WorkspaceSkus" + ], + "description": "Lists all skus with associated features", + "operationId": "ListSkus", + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/ListSkus.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceGetPrivateEndpointConnection": { + "$ref": "./examples/workspaceGetPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Put", + "description": "Update the state of specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspacePutPrivateEndpointConnection": { + "$ref": "./examples/workspacePutPrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceDeletePrivateEndpointConnection": { + "$ref": "./examples/workspaceDeletePrivateEndpointConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByWorkspace", + "description": "Gets the private link resources that need to be created for a workspace.", + "x-ms-examples": { + "WorkspaceListPrivateLinkResources": { + "$ref": "./examples/workspaceListPrivateLinkResources.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "MachineLearningService_ListByWorkspace", + "description": "Gets services in specified workspace.", + "x-ms-examples": { + "Get Services": { + "$ref": "./examples/getServices.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/PaginationParameter" + }, + { + "$ref": "#/parameters/ModelIdParameter" + }, + { + "$ref": "#/parameters/ModelNameParameter" + }, + { + "$ref": "#/parameters/WebServiceTagParameter" + }, + { + "$ref": "#/parameters/WebServiceTagsParameter" + }, + { + "$ref": "#/parameters/WebServicePropertiesParameter" + }, + { + "$ref": "#/parameters/WebServiceRunIdParameter" + }, + { + "$ref": "#/parameters/WebServiceExpandParameter" + }, + { + "$ref": "#/parameters/WebServiceOrderByParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Machine Learning services 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/PaginatedServiceList" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/services/{serviceName}": { + "get": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Get", + "description": "Get a Service by name.", + "x-ms-examples": { + "Get Service": { + "$ref": "./examples/getService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "query", + "name": "expand", + "description": "Set to True to include Model details.", + "type": "boolean", + "default": false + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "MachineLearningServices" + ], + "operationId": "MachineLearningService_Delete", + "description": "Delete a specific Service..", + "x-ms-examples": { + "Delete Service": { + "$ref": "./examples/deleteService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + } + ], + "responses": { + "200": { + "description": "The resource exists and was deleted successfully." + }, + "204": { + "description": "The resource does not exist and the request was well formed." + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "put": { + "tags": [ + "MachineLearningServices" + ], + "description": "Creates or updates service. This call will update a service if it exists. This is a nonrecoverable operation. If your intent is to create a new service, do a GET first to verify that it does not exist yet.", + "operationId": "MachineLearningService_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Or Update service": { + "$ref": "./examples/createOrUpdateService.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/WebServiceNameParameter" + }, + { + "in": "body", + "name": "properties", + "description": "The payload that is used to create or update the Service.", + "required": true, + "schema": { + "$ref": "#/definitions/CreateServiceRequest" + } + } + ], + "responses": { + "200": { + "description": "Service creation or update initiated.", + "schema": { + "$ref": "#/definitions/ServiceResource" + } + }, + "201": { + "description": "Service creation or update initiated.", + "headers": { + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_Prepare", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Notebook": { + "$ref": "./examples/workspacePrepareNotebook.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NotebookResourceInfo" + } + }, + "202": { + "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" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "StorageAccount_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listStorageAccountKeys.json" + } + }, + "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/ListStorageAccountKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Notebooks_ListKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/listNotebookKeys.json" + } + }, + "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/ListNotebookKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { + "get": { + "tags": [ + "WorkspaceConnections" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ListWorkspaceConnections": { + "$ref": "./examples/listWorkspaceConnections.json" + } + }, + "operationId": "WorkspaceConnections_List", + "description": "List all connections under a AML workspace.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "$ref": "#/parameters/TargetParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { + "put": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Create", + "description": "Add a new workspace connection.", + "x-ms-examples": { + "CreateWorkspaceConnection": { + "$ref": "./examples/createWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a new workspace connection", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceConnectionDto" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the workspace connection.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "get": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Get", + "description": "Get the detail of a workspace connection.", + "x-ms-examples": { + "GetWorkspaceConnection": { + "$ref": "./examples/getWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked workspace.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + }, + "delete": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Delete", + "description": "Delete a workspace connection.", + "x-ms-examples": { + "DeleteWorkspaceConnection": { + "$ref": "./examples/deleteWorkspaceConnection.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "#/parameters/APIVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the workspace connection." + }, + "204": { + "description": "Specific workspace connection not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/MachineLearningServiceError" + } + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "description": "Azure subscription identifier.", + "in": "path", + "type": "string", + "required": true + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "description": "Name of the resource group in which workspace is located.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "APIVersionParameter": { + "in": "query", + "name": "api-version", + "type": "string", + "description": "Version of Azure Machine Learning resource provider API.", + "required": true + }, + "PaginationParameter": { + "in": "query", + "name": "$skip", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace", + "x-ms-parameter-location": "method" + }, + "ModelIdParameter": { + "in": "query", + "name": "modelId", + "type": "string", + "description": "The Model Id.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ModelNameParameter": { + "in": "query", + "name": "modelName", + "type": "string", + "description": "The Model name.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceNameParameter": { + "name": "serviceName", + "description": "Name of the Azure Machine Learning service.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "WebServiceTagParameter": { + "in": "query", + "name": "tag", + "type": "string", + "description": "The object tag.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceCountParameter": { + "in": "query", + "name": "count", + "type": "integer", + "format": "int32", + "description": "The number of items to retrieve in a page.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceTagsParameter": { + "in": "query", + "name": "tags", + "type": "string", + "description": "A set of tags with which to filter the returned services. It is a comma separated string of tags key or tags key=value Example: tagKey1,tagKey2,tagKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServicePropertiesParameter": { + "in": "query", + "name": "properties", + "type": "string", + "description": "A set of properties with which to filter the returned services. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceRunIdParameter": { + "in": "query", + "name": "runId", + "type": "string", + "description": "runId for model associated with service.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceExpandParameter": { + "in": "query", + "name": "expand", + "type": "boolean", + "description": "Set to True to include Model details.", + "required": false, + "x-ms-parameter-location": "method" + }, + "WebServiceOrderByParameter": { + "in": "query", + "name": "orderby", + "type": "string", + "description": "The option to order the response.", + "required": false, + "default": "UpdatedAtDesc", + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "ConnectionName": { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the workspace connection", + "x-ms-parameter-location": "method" + }, + "TargetParameter": { + "in": "query", + "name": "target", + "type": "string", + "description": "Target of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "in": "query", + "name": "category", + "type": "string", + "description": "Category of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "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" + }, + "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" + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of Azure ML workspace." + }, + "hbiWorkspace": { + "type": "boolean", + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", + "default": false + }, + "serviceProvisionedResourceGroup": { + "type": "string", + "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", + "readOnly": true + }, + "privateLinkCount": { + "type": "integer", + "format": "int32", + "description": "Count of private connections in the workspace", + "readOnly": true + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "allowPublicAccessWhenBehindVnet": { + "type": "boolean", + "description": "The flag to indicate whether to allow public access when behind VNet.", + "default": false + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of private endpoint connections in the workspace." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + }, + "description": "The list of shared private link resources in this workspace." + }, + "notebookInfo": { + "readOnly": true, + "$ref": "#/definitions/NotebookResourceInfo", + "description": "The notebook info of Azure ML workspace." + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "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" + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + } + } + }, + "AmlUserFeature": { + "description": "Features enabled for a workspace", + "type": "object", + "properties": { + "id": { + "description": "Specifies the feature ID", + "type": "string" + }, + "displayName": { + "description": "Specifies the feature name ", + "type": "string" + }, + "description": { + "description": "Describes the feature for user experience", + "type": "string" + } + } + }, + "ListAmlUserFeatureResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlUserFeature" + }, + "description": "The list of AML user facing features." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." + } + }, + "description": "The List Aml user feature operation response." + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "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." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "gpus": { + "type": "integer", + "format": "int32", + "title": "Number of gPUs", + "description": "The number of gPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" + } + }, + "description": "Describes the properties of a VM size." + }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, + "VirtualMachineSizeListResult": { + "properties": { + "amlCompute": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "QuotaBaseProperties": { + "properties": { + "id": { + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The properties for Quota update or retrieval." + }, + "QuotaUpdateParameters": { + "properties": { + "value": { + "description": "The list for update quota.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaBaseProperties" + } + }, + "location": { + "description": "Region of workspace quota to be updated.", + "type": "string" + } + }, + "description": "Quota update parameters." + }, + "UpdateWorkspaceQuotasResult": { + "properties": { + "value": { + "description": "The list of workspace quota update result.", + "items": { + "$ref": "#/definitions/UpdateWorkspaceQuotas" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The result of update workspace quota." + }, + "UpdateWorkspaceQuotas": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + }, + "status": { + "type": "string", + "readOnly": false, + "title": "Update Workspace Quota Status.", + "description": "Status of update workspace quota.", + "enum": [ + "Undefined", + "Success", + "Failure", + "InvalidQuotaBelowClusterMinimum", + "InvalidQuotaExceedsSubscriptionLimit", + "InvalidVMFamilyName", + "OperationNotSupportedForSku", + "OperationNotEnabledForRegion" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + }, + "description": "The properties for update Quota response." + }, + "ResourceName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Resource Name." + }, + "ResourceQuota": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "name": { + "$ref": "#/definitions/ResourceName", + "description": "Name of the resource.", + "readOnly": true + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The quota assigned to a resource." + }, + "ListWorkspaceQuotas": { + "properties": { + "value": { + "description": "The list of Workspace Quotas by VM Family", + "items": { + "$ref": "#/definitions/ResourceQuota" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The List WorkspaceQuotasByVMFamily operation response." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentities", + "description": "The user assigned identities associated with the resource." + } + }, + "description": "Identity for the resource." + }, + "UserAssignedIdentities": { + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + }, + "UserAssignedIdentity": { + "description": "User Assigned Identity", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the user assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The clientId(aka appId) of the user assigned identity." + } + } + }, + "Resource": { + "description": "Azure Resource Manager resource envelope.", + "x-ms-azure-resource": true, + "properties": { + "id": { + "description": "Specifies the resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Specifies the name of the resource.", + "type": "string", + "readOnly": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "type": { + "description": "Specifies the type of the resource.", + "type": "string", + "readOnly": true + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "#/definitions/SystemData", + "readOnly": true + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + }, + "notebookAccessKeys": { + "readOnly": true, + "$ref": "#/definitions/ListNotebookKeysResult" + } + } + }, + "NotebookAccessTokenResult": { + "type": "object", + "properties": { + "notebookResourceId": { + "readOnly": true, + "type": "string" + }, + "hostName": { + "readOnly": true, + "type": "string" + }, + "publicDns": { + "readOnly": true, + "type": "string" + }, + "accessToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "tokenType": { + "readOnly": true, + "type": "string" + }, + "expiresIn": { + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "refreshToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "scope": { + "readOnly": true, + "type": "string" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ] + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "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 + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 1 + }, + "agentVmSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "clusterPurpose": { + "description": "Intended usage of the cluster", + "type": "string", + "default": "FastProd", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ], + "x-ms-enum": { + "name": "ClusterPurpose", + "modelAsString": true + } + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "ComputeInstance": { + "description": "An Azure Machine Learning compute instance.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "#/definitions/MachineLearningServiceError" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "setupScripts": { + "description": "Details of customized scripts to execute for setting up the cluster.", + "$ref": "#/definitions/SetupScripts" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + } + } + } + } + } + ], + "x-ms-discriminator-value": "ComputeInstance" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + }, + "workspaceUrl": { + "description": "Workspace Url", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "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]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "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.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer", + "format": "int32" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "format": "int32", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ] + }, + "VirtualMachineImage": { + "type": "object", + "description": "Virtual Machine image for Windows AML Compute", + "properties": { + "id": { + "description": "Virtual Machine image path", + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings.", + "description": "Desired scale settings for the amlCompute." + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "ComputeNodesInformation": { + "type": "object", + "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + }, + "required": [ + "computeType" + ] + }, + "AmlComputeNodesInformation": { + "description": "Compute node information related to a AmlCompute.", + "allOf": [ + { + "$ref": "#/definitions/ComputeNodesInformation" + }, + { + "type": "object", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "privateIpAddress": { + "readOnly": true, + "type": "string", + "title": "Private IP address.", + "description": "Private IP address of the compute node." + }, + "publicIpAddress": { + "readOnly": true, + "type": "string", + "title": "Public IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + }, + "nodeState": { + "readOnly": true, + "type": "string", + "enum": [ + "idle", + "running", + "preparing", + "unusable", + "leaving", + "preempted" + ], + "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", + "x-ms-enum": { + "name": "nodeState", + "modelAsString": true + } + }, + "runId": { + "readOnly": true, + "type": "string", + "title": "Run ID.", + "description": "ID of the Experiment running on the node, if any else null." + } + }, + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "AmlCompute", + "ComputeInstance", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "MachineLearningServiceError": { + "type": "object", + "description": "Wrapper for error response to follow ARM guidelines.", + "properties": { + "error": { + "description": "The error response.", + "$ref": "#/definitions/ErrorResponse", + "readOnly": true + } + } + }, + "ErrorResponse": { + "type": "object", + "description": "Error response information.", + "properties": { + "code": { + "type": "string", + "description": "Error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Error message.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "An array of error detail objects.", + "items": { + "$ref": "#/definitions/ErrorDetail" + }, + "readOnly": true + } + } + }, + "ErrorDetail": { + "type": "object", + "description": "Error detail information.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + } + }, + "required": [ + "code", + "message" + ] + }, + "SKUCapability": { + "description": "Features/user capabilities associated with the sku", + "type": "object", + "properties": { + "name": { + "description": "Capability/Feature ID", + "type": "string" + }, + "value": { + "description": "Details about the feature/capability", + "type": "string" + } + } + }, + "ResourceSkuLocationInfo": { + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the SKU" + }, + "zones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of availability zones where the SKU is supported." + }, + "zoneDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "description": "Details of capabilities available to a SKU in specific zones." + } + } + }, + "ResourceSkuZoneDetails": { + "properties": { + "name": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "The set of zones that the SKU is available in with the specified capabilities." + }, + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "A list of capabilities that are available for the SKU in the specified list of zones." + } + }, + "description": "Describes The zonal capabilities of a SKU." + }, + "WorkspaceSku": { + "description": "Describes Workspace Sku details and features", + "type": "object", + "properties": { + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "description": "A list of locations and availability zones in those locations where the SKU is available." + }, + "tier": { + "description": "Sku Tier like Basic or Enterprise", + "type": "string", + "readOnly": true + }, + "resourceType": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "capabilities": { + "description": "List of features/user capabilities associated with the sku", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + } + } + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAvailableForRegion", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "SkuListResult": { + "description": "List of skus with features", + "type": "object", + "properties": { + "value": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/WorkspaceSku" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + } + } + }, + "Sku": { + "description": "Sku of the resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the sku", + "type": "string" + }, + "tier": { + "description": "Tier of the sku like Basic or Enterprise", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + }, + "subnetArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Subnet resource that private endpoint links to" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "SharedPrivateLinkResource": { + "properties": { + "name": { + "description": "Unique name of the private link.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "properties": { + "privateLinkResourceId": { + "description": "The resource id that private link links to.", + "type": "string" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requestMessage": { + "description": "Request message.", + "type": "string" + }, + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "EncryptionProperty": { + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for the workspace.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "identity": { + "$ref": "#/definitions/IdentityForCmk", + "description": "The identity that will be used to access the key vault for encryption at rest." + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "status", + "keyVaultProperties" + ], + "type": "object" + }, + "KeyVaultProperties": { + "properties": { + "keyVaultArmId": { + "description": "The ArmId of the keyVault where the customer owned encryption key is present.", + "type": "string" + }, + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "identityClientId": { + "description": "For future use - The client id of the identity which will be used to access key vault.", + "type": "string" + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ], + "type": "object" + }, + "IdentityForCmk": { + "description": "Identity that will be used to access key vault for encryption at rest", + "type": "object", + "properties": { + "userAssignedIdentity": { + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", + "type": "string" + } + }, + "required": [ + "userAssignedIdentity" + ] + }, + "ServiceResource": { + "type": "object", + "description": "Machine Learning service object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Service properties", + "$ref": "#/definitions/ServiceResponseBase" + } + } + } + ] + }, + "SystemData": { + "description": "Read only system data", + "type": "object", + "properties": { + "createdBy": { + "type": "string", + "description": "An identifier for the identity that created the resource" + }, + "createdByType": { + "$ref": "#/definitions/IdentityType", + "description": "The type of identity that created the resource" + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "An identifier for the identity that last modified the resource" + }, + "lastModifiedByType": { + "$ref": "#/definitions/IdentityType", + "description": "The type of identity that last modified the resource" + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + } + } + }, + "IdentityType": { + "description": "The type of identity that creates/modifies resources", + "type": "string", + "enum": [ + "user", + "application", + "managedIdentity", + "key" + ], + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "ServiceResponseBase": { + "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The service description.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "state": { + "description": "The current state of the service.", + "enum": [ + "Transitioning", + "Healthy", + "Unhealthy", + "Failed", + "Unschedulable" + ], + "type": "string", + "example": "Healthy", + "x-ms-enum": { + "name": "WebServiceState", + "modelAsString": true + }, + "readOnly": true + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/MachineLearningServiceError" + } + ], + "readOnly": true + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "deploymentType": { + "description": "The deployment type for the service.", + "enum": [ + "GRPCRealtimeEndpoint", + "HttpRealtimeEndpoint", + "Batch" + ], + "type": "string", + "example": "HttpRealtimeEndpoint", + "x-ms-enum": { + "name": "DeploymentType", + "modelAsString": true + } + } + }, + "discriminator": "computeType" + }, + "PaginatedServiceList": { + "type": "object", + "description": "Paginated list of Machine Learning service objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "readOnly": true, + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ServiceResource" + } + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ACIServiceResponse": { + "description": "The response for an ACI service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "publicIp": { + "description": "The public IP address for the service.", + "type": "string" + }, + "publicFqdn": { + "description": "The public Fqdn for the service.", + "type": "string" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, + "ModelDataCollection": { + "description": "The Model data collection properties.", + "type": "object", + "properties": { + "eventHubEnabled": { + "description": "Option for enabling/disabling Event Hub.", + "type": "boolean" + }, + "storageEnabled": { + "description": "Option for enabling/disabling storage.", + "type": "boolean" + } + } + }, + "VnetConfiguration": { + "type": "object", + "properties": { + "vnetName": { + "description": "The name of the virtual network.", + "type": "string" + }, + "subnetName": { + "description": "The name of the virtual network subnet.", + "type": "string" + } + } + }, + "EncryptionProperties": { + "type": "object", + "properties": { + "vaultBaseUrl": { + "description": "vault base Url", + "type": "string" + }, + "keyName": { + "description": "Encryption Key name", + "type": "string" + }, + "keyVersion": { + "description": "Encryption Key Version", + "type": "string" + } + }, + "required": [ + "vaultBaseUrl", + "keyName", + "keyVersion" + ] + }, + "Model": { + "description": "An Azure Machine Learning Model.", + "required": [ + "mimeType", + "name", + "url" + ], + "type": "object", + "properties": { + "id": { + "description": "The Model Id.", + "type": "string", + "example": "sklearn_mnist:1" + }, + "name": { + "description": "The Model name.", + "type": "string", + "example": "sklearn_mnist" + }, + "framework": { + "description": "The Model framework.", + "type": "string" + }, + "frameworkVersion": { + "description": "The Model framework version.", + "type": "string" + }, + "version": { + "format": "int64", + "description": "The Model version assigned by Model Management Service.", + "type": "integer", + "example": 1 + }, + "datasets": { + "description": "The list of datasets associated with the model.", + "type": "array", + "items": { + "$ref": "#/definitions/DatasetReference" + } + }, + "url": { + "description": "The URL of the Model. Usually a SAS URL.", + "type": "string" + }, + "mimeType": { + "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml", + "type": "string" + }, + "description": { + "description": "The Model description text.", + "type": "string", + "example": "A mnist model, first version." + }, + "createdTime": { + "format": "date-time", + "description": "The Model creation time (UTC).", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "The Model last modified time (UTC).", + "type": "string" + }, + "unpack": { + "description": "Indicates whether we need to unpack the Model during docker Image creation.", + "type": "boolean" + }, + "parentModelId": { + "description": "The Parent Model Id.", + "type": "string", + "example": "sklearn_mnist_root:1" + }, + "runId": { + "description": "The RunId that created this model.", + "type": "string" + }, + "experimentName": { + "description": "The name of the experiment where this model was created.", + "type": "string" + }, + "kvTags": { + "description": "The Model tag dictionary. Items are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The Model property dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "derivedModelIds": { + "description": "Models derived from this model", + "type": "array", + "items": { + "type": "string" + } + }, + "sampleInputData": { + "description": "Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "sampleOutputData": { + "description": "Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}", + "type": "string" + }, + "resourceRequirements": { + "description": "Resource requirements for the model", + "$ref": "#/definitions/ContainerResourceRequirements" + } + } + }, + "EnvironmentImageRequest": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinition" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "EnvironmentImageResponse": { + "description": "Request to create a Docker image based on Environment.", + "type": "object", + "properties": { + "driverProgram": { + "description": "The name of the driver file.", + "type": "string" + }, + "assets": { + "description": "The list of assets.", + "type": "array", + "items": { + "$ref": "#/definitions/ImageAsset" + } + }, + "modelIds": { + "description": "The list of model Ids.", + "type": "array", + "items": { + "type": "string" + } + }, + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "environment": { + "description": "The details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelEnvironmentDefinitionResponse" + } + ] + }, + "environmentReference": { + "description": "The unique identifying details of the AZURE ML environment.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentReference" + } + ] + } + } + }, + "ImageAsset": { + "description": "An Image asset.", + "type": "object", + "properties": { + "id": { + "description": "The Asset Id.", + "type": "string" + }, + "mimeType": { + "description": "The mime type.", + "type": "string" + }, + "url": { + "description": "The Url of the Asset.", + "type": "string" + }, + "unpack": { + "description": "Whether the Asset is unpacked.", + "type": "boolean" + } + } + }, + "ModelEnvironmentDefinition": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSection" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSection" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "ModelEnvironmentDefinitionResponse": { + "type": "object", + "properties": { + "name": { + "description": "The name of the environment.", + "type": "string", + "example": "mydevenvironment" + }, + "version": { + "description": "The environment version.", + "type": "string", + "example": "1" + }, + "python": { + "description": "Settings for a Python environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelPythonSection" + } + ] + }, + "environmentVariables": { + "description": "Definition of environment variables to be defined in the environment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "docker": { + "description": "The definition of a Docker container.", + "allOf": [ + { + "$ref": "#/definitions/ModelDockerSectionResponse" + } + ] + }, + "spark": { + "description": "The configuration for a Spark environment.", + "allOf": [ + { + "$ref": "#/definitions/ModelSparkSection" + } + ] + }, + "r": { + "description": "Settings for a R environment.", + "allOf": [ + { + "$ref": "#/definitions/RSectionResponse" + } + ] + }, + "inferencingStackVersion": { + "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".", + "type": "string", + "example": "latest" + } + } + }, + "EnvironmentReference": { + "type": "object", + "properties": { + "name": { + "description": "Name of the environment.", + "type": "string" + }, + "version": { + "description": "Version of the environment.", + "type": "string" + } + } + }, + "ModelPythonSection": { + "type": "object", + "properties": { + "interpreterPath": { + "description": "The python interpreter path to use if an environment build is not required. The path specified gets used to call the user script.", + "type": "string" + }, + "userManagedDependencies": { + "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.", + "type": "boolean" + }, + "condaDependencies": { + "description": "A JObject containing Conda dependencies.", + "type": "object" + }, + "baseCondaEnvironment": { + "type": "string" + } + } + }, + "ContainerRegistry": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "username": { + "type": "string", + "x-ms-secret": true + }, + "password": { + "type": "string", + "x-ms-secret": true + } + } + }, + "ContainerRegistryResponse": { + "type": "object", + "properties": { + "address": { + "type": "string" + } + } + }, + "ModelDockerSection": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistry" + } + ] + } + } + }, + "ModelDockerSectionResponse": { + "type": "object", + "properties": { + "baseImage": { + "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.", + "type": "string", + "example": "ubuntu:latest" + }, + "baseDockerfile": { + "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.", + "type": "string", + "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\"" + }, + "baseImageRegistry": { + "description": "Image registry that contains the base image.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryResponse" + } + ] + } + } + }, + "SparkMavenPackage": { + "type": "object", + "properties": { + "group": { + "type": "string" + }, + "artifact": { + "type": "string" + }, + "version": { + "type": "string" + } + } + }, + "ModelSparkSection": { + "type": "object", + "properties": { + "repositories": { + "description": "The list of spark repositories.", + "type": "array", + "items": { + "type": "string" + } + }, + "packages": { + "description": "The Spark packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/SparkMavenPackage" + } + }, + "precachePackages": { + "description": "Whether to precache the packages.", + "type": "boolean" + } + } + }, + "RCranPackage": { + "type": "object", + "properties": { + "name": { + "description": "The package name.", + "type": "string" + }, + "repository": { + "description": "The repository name.", + "type": "string" + } + } + }, + "RGitHubPackage": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + }, + "authToken": { + "description": "Personal access token to install from a private repo", + "type": "string", + "x-ms-secret": true + } + } + }, + "RGitHubPackageResponse": { + "type": "object", + "properties": { + "repository": { + "description": "Repository address in the format username/repo[/subdir][@ref|#pull].", + "type": "string" + } + } + }, + "RSection": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackage" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "RSectionResponse": { + "type": "object", + "properties": { + "rVersion": { + "description": "The version of R to be installed", + "type": "string" + }, + "userManaged": { + "description": "Indicates whether the environment is managed by user or by AzureML.", + "type": "boolean" + }, + "rscriptPath": { + "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script.", + "type": "string" + }, + "snapshotDate": { + "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"", + "type": "string" + }, + "cranPackages": { + "description": "The CRAN packages to use.", + "type": "array", + "items": { + "$ref": "#/definitions/RCranPackage" + } + }, + "gitHubPackages": { + "description": "The packages directly from GitHub.", + "type": "array", + "items": { + "$ref": "#/definitions/RGitHubPackageResponse" + } + }, + "customUrlPackages": { + "description": "The packages from custom urls.", + "type": "array", + "items": { + "type": "string" + } + }, + "bioConductorPackages": { + "description": "The packages from Bioconductor.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "DatasetReference": { + "description": "The dataset reference object.", + "type": "object", + "properties": { + "name": { + "description": "The name of the dataset reference.", + "type": "string" + }, + "id": { + "description": "The id of the dataset reference.", + "type": "string" + } + } + }, + "AKSVariantResponse": { + "description": "The response for an AKS variant.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ServiceResponseBase" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "AutoScaler": { + "description": "The Auto Scaler properties.", + "type": "object", + "properties": { + "autoscaleEnabled": { + "description": "Option to enable/disable auto scaling.", + "type": "boolean" + }, + "minReplicas": { + "format": "int32", + "description": "The minimum number of replicas to scale down to.", + "type": "integer", + "example": 1 + }, + "maxReplicas": { + "format": "int32", + "description": "The maximum number of replicas in the cluster.", + "type": "integer", + "example": 3 + }, + "targetUtilization": { + "format": "int32", + "description": "The target utilization percentage to use for determining whether to scale the cluster.", + "type": "integer", + "example": 70 + }, + "refreshPeriodInSeconds": { + "format": "int32", + "description": "The amount of seconds to wait between auto scale updates.", + "type": "integer", + "example": 120 + } + } + }, + "AKSReplicaStatus": { + "type": "object", + "properties": { + "desiredReplicas": { + "format": "int32", + "description": "The desired number of replicas.", + "type": "integer", + "example": 2 + }, + "updatedReplicas": { + "format": "int32", + "description": "The number of updated replicas.", + "type": "integer", + "example": 1 + }, + "availableReplicas": { + "format": "int32", + "description": "The number of available replicas.", + "type": "integer", + "example": 1 + }, + "error": { + "description": "The error details.", + "allOf": [ + { + "$ref": "#/definitions/MachineLearningServiceError" + } + ] + } + } + }, + "LivenessProbeRequirements": { + "description": "The liveness probe requirements.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "type": "integer" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "type": "integer" + }, + "timeoutSeconds": { + "format": "int32", + "description": "The probe timeout in seconds.", + "type": "integer" + }, + "periodSeconds": { + "format": "int32", + "description": "The length of time between probes in seconds.", + "type": "integer" + }, + "initialDelaySeconds": { + "format": "int32", + "description": "The delay before the first probe in seconds.", + "type": "integer" + } + } + }, + "AKSServiceResponse": { + "description": "The response for an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AKSVariantResponse" + }, + { + "type": "object", + "properties": { + "models": { + "description": "The list of models.", + "type": "array", + "items": { + "$ref": "#/definitions/Model" + } + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "namespace": { + "description": "The Kubernetes namespace of the deployment.", + "type": "string", + "example": "default" + }, + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "scoringUri": { + "description": "The Uri for sending scoring requests.", + "type": "string", + "readOnly": true + }, + "deploymentStatus": { + "description": "The deployment status.", + "readOnly": true, + "allOf": [ + { + "$ref": "#/definitions/AKSReplicaStatus" + } + ] + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + }, + "swaggerUri": { + "description": "The Uri for sending swagger requests.", + "type": "string", + "readOnly": true + }, + "modelConfigMap": { + "description": "Details on the models and configurations.", + "type": "object", + "additionalProperties": { + "type": "object" + }, + "readOnly": true + }, + "environmentImageRequest": { + "description": "The Environment, models and assets used for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageResponse" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AuthKeys": { + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string" + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string" + } + } + }, + "CreateServiceRequest": { + "description": "The base class for creating a service.", + "required": [ + "computeType" + ], + "type": "object", + "properties": { + "description": { + "description": "The description of the service.", + "type": "string" + }, + "kvTags": { + "description": "The service tag dictionary. Tags are mutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "description": "The service properties dictionary. Properties are immutable.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "keys": { + "description": "The authentication keys.", + "allOf": [ + { + "$ref": "#/definitions/AuthKeys" + } + ] + }, + "computeType": { + "description": "The compute environment type for the service.", + "enum": [ + "ACI", + "AKS" + ], + "type": "string", + "example": "AKS", + "x-ms-enum": { + "name": "ComputeEnvironmentType", + "modelAsString": true + } + }, + "environmentImageRequest": { + "description": "The Environment, models and assets needed for inferencing.", + "allOf": [ + { + "$ref": "#/definitions/EnvironmentImageRequest" + } + ] + }, + "location": { + "description": "The name of the Azure location/region.", + "type": "string" + } + }, + "discriminator": "computeType" + }, + "ACIServiceCreateRequest": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "authEnabled": { + "description": "Whether or not authentication is enabled on the service.", + "default": false, + "type": "boolean" + }, + "sslEnabled": { + "description": "Whether or not SSL is enabled.", + "default": false, + "type": "boolean" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "default": false, + "type": "boolean" + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "sslCertificate": { + "description": "The public SSL certificate in PEM format to use if SSL is enabled.", + "type": "string" + }, + "sslKey": { + "description": "The public SSL key in PEM format for the certificate.", + "type": "string" + }, + "cname": { + "description": "The CName for the service.", + "type": "string" + }, + "dnsNameLabel": { + "description": "The Dns label for the service.", + "type": "string" + }, + "vnetConfiguration": { + "description": "The virtual network configuration.", + "allOf": [ + { + "$ref": "#/definitions/VnetConfiguration" + } + ] + }, + "encryptionProperties": { + "description": "The encryption properties.", + "allOf": [ + { + "$ref": "#/definitions/EncryptionProperties" + } + ] + } + } + } + ], + "x-ms-discriminator-value": "ACI" + }, + "AKSServiceCreateRequest": { + "description": "The request to create an AKS service.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateEndpointVariantRequest" + }, + { + "type": "object", + "properties": { + "numReplicas": { + "format": "int32", + "description": "The number of replicas on the cluster.", + "type": "integer", + "example": 1 + }, + "dataCollection": { + "description": "Details of the data collection options specified.", + "allOf": [ + { + "$ref": "#/definitions/ModelDataCollection" + } + ] + }, + "computeName": { + "description": "The name of the compute resource.", + "type": "string" + }, + "appInsightsEnabled": { + "description": "Whether or not Application Insights is enabled.", + "type": "boolean" + }, + "autoScaler": { + "description": "The auto scaler properties.", + "allOf": [ + { + "$ref": "#/definitions/AutoScaler" + } + ] + }, + "containerResourceRequirements": { + "description": "The container resource requirements.", + "$ref": "#/definitions/ContainerResourceRequirements" + }, + "maxConcurrentRequestsPerContainer": { + "format": "int32", + "description": "The maximum number of concurrent requests per container.", + "type": "integer", + "example": 100 + }, + "maxQueueWaitMs": { + "format": "int32", + "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)", + "type": "integer", + "example": 250 + }, + "namespace": { + "description": "Kubernetes namespace for the service.", + "type": "string", + "example": "default" + }, + "scoringTimeoutMs": { + "format": "int32", + "description": "The scoring timeout in milliseconds.", + "type": "integer", + "example": 100 + }, + "authEnabled": { + "description": "Whether or not authentication is enabled.", + "type": "boolean" + }, + "livenessProbeRequirements": { + "description": "The liveness probe requirements.", + "allOf": [ + { + "$ref": "#/definitions/LivenessProbeRequirements" + } + ] + }, + "aadAuthEnabled": { + "description": "Whether or not AAD authentication is enabled.", + "type": "boolean" + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "CreateEndpointVariantRequest": { + "description": "The Variant properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/CreateServiceRequest" + }, + { + "type": "object", + "properties": { + "isDefault": { + "description": "Is this the default variant.", + "type": "boolean" + }, + "trafficPercentile": { + "format": "float", + "description": "The amount of traffic variant receives.", + "type": "number", + "example": 100 + }, + "type": { + "description": "The type of the variant.", + "enum": [ + "Control", + "Treatment" + ], + "type": "string", + "example": "Control", + "x-ms-enum": { + "name": "VariantType", + "modelAsString": true + } + } + } + } + ], + "x-ms-discriminator-value": "Custom" + }, + "ComputeInstanceSshSettings": { + "type": "object", + "description": "Specifies policy and settings for SSH access.", + "properties": { + "sshPublicAccess": { + "type": "string", + "default": "Disabled", + "title": "Access policy for SSH", + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "sshPublicAccess", + "modelAsString": true + } + }, + "adminUserName": { + "type": "string", + "readOnly": true, + "description": "Describes the admin user name." + }, + "sshPort": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "Describes the port for connecting through SSH." + }, + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + } + } + }, + "ComputeInstanceState": { + "type": "string", + "description": "Current state of an ComputeInstance.", + "enum": [ + "Creating", + "CreateFailed", + "Deleting", + "Running", + "Restarting", + "JobRunning", + "SettingUp", + "SetupFailed", + "Starting", + "Stopped", + "Stopping", + "UserSettingUp", + "UserSetupFailed", + "Unknown", + "Unusable" + ], + "x-ms-enum": { + "name": "ComputeInstanceState", + "modelAsString": true + } + }, + "ComputeInstanceLastOperation": { + "type": "object", + "description": "The last operation on ComputeInstance.", + "properties": { + "operationName": { + "type": "string", + "description": "Name of the last operation.", + "enum": [ + "Create", + "Start", + "Stop", + "Restart", + "Reimage", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true + } + }, + "operationTime": { + "type": "string", + "format": "date-time", + "description": "Time of the last operation." + }, + "operationStatus": { + "type": "string", + "description": "Operation status.", + "enum": [ + "InProgress", + "Succeeded", + "CreateFailed", + "StartFailed", + "StopFailed", + "RestartFailed", + "ReimageFailed", + "DeleteFailed" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": true + } + } + } + }, + "ComputeInstanceApplication": { + "type": "object", + "description": "Defines an Aml Instance application and its connectivity endpoint URI.", + "properties": { + "displayName": { + "type": "string", + "description": "Name of the ComputeInstance application." + }, + "endpointUri": { + "type": "string", + "description": "Application' endpoint URI." + } + } + }, + "ComputeInstanceConnectivityEndpoints": { + "type": "object", + "readOnly": true, + "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", + "properties": { + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "Public IP Address of this ComputeInstance." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." + } + } + }, + "ComputeInstanceCreatedBy": { + "type": "object", + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Name of the user." + }, + "userOrgId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies user' Azure Active Directory organization." + }, + "userId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies the user within his/her organization." + } + } + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "$ref": "#/definitions/AssignedUser", + "title": "Assigned User.", + "description": "A user explicitly assigned to a personal compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "AssignedUser": { + "type": "object", + "description": "A user that can be assigned to a compute instance.", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ] + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "$ref": "#/definitions/CosmosDbSettings", + "description": "The settings for the service managed cosmosdb account." + } + } + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "type": "integer", + "format": "int32", + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "NotebookResourceInfo": { + "type": "object", + "properties": { + "fqdn": { + "type": "string" + }, + "resourceId": { + "type": "string", + "description": "the data plane resourceId that used to initialize notebook component" + }, + "notebookPreparationError": { + "$ref": "#/definitions/NotebookPreparationError", + "description": "The error that occurs when preparing notebook." + } + } + }, + "NotebookPreparationError": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "statusCode": { + "format": "int32", + "type": "integer" + } + } + }, + "ListNotebookKeysResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "secondaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "ListStorageAccountKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "PaginatedWorkspaceConnectionsList": { + "type": "object", + "description": "Paginated list of Workspace connection objects.", + "properties": { + "value": { + "type": "array", + "description": "An array of Workspace connection objects.", + "items": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "WorkspaceConnection": { + "x-ms-azure-resource": true, + "description": "Workspace connection.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the workspace connection.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of workspace connection.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionDto": { + "type": "object", + "description": "object used for creating workspace connection.", + "properties": { + "name": { + "description": "Friendly name of the workspace connection", + "type": "string" + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionProps": { + "type": "object", + "description": "Workspace Connection specific properties.", + "properties": { + "category": { + "description": "Category of the workspace connection.", + "type": "string" + }, + "target": { + "description": "Target of the workspace connection.", + "type": "string" + }, + "authType": { + "description": "Authorization type of the workspace connection.", + "type": "string" + }, + "value": { + "description": "Value details of the workspace connection.", + "type": "string" + }, + "valueFormat": { + "description": "format for the workspace connection value", + "type": "string", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "ValueFormat", + "modelAsString": true + } + } + } + }, + "SetupScripts": { + "type": "object", + "description": "Details of customized scripts to execute for setting up the cluster.", + "properties": { + "scripts": { + "description": "Customized setup scripts", + "$ref": "#/definitions/ScriptsToExecute" + } + } + }, + "ScriptsToExecute": { + "type": "object", + "description": "Customized setup scripts", + "properties": { + "startupScript": { + "description": "Script that's run every time the machine starts.", + "$ref": "#/definitions/ScriptReference" + }, + "creationScript": { + "description": "Script that's run only once during provision of the compute.", + "$ref": "#/definitions/ScriptReference" + } + } + }, + "ScriptReference": { + "type": "object", + "description": "Script reference", + "properties": { + "scriptSource": { + "description": "The storage source of the script: inline, workspace.", + "type": "string" + }, + "scriptData": { + "description": "The location of scripts in the mounted volume.", + "type": "string" + }, + "scriptArguments": { + "description": "Optional command line arguments passed to the script to run.", + "type": "string" + }, + "timeout": { + "description": "Optional time period passed to timeout command.", + "type": "string" + } + } + } + } +} From df1a9953ffa71a1509afdcb8a12de522dfae18db Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Mon, 5 Apr 2021 23:04:49 -0700 Subject: [PATCH 054/211] merge changes for 20210401 version --- .../examples/createOrUpdateService.json | 4 +- .../2021-04-01/examples/createWorkspace.json | 12 --- .../2021-04-01/examples/getService.json | 4 +- .../2021-04-01/examples/getServices.json | 4 +- .../2021-04-01/examples/getWorkspace.json | 4 - .../getWorkspacesByResourceGroup.json | 8 -- .../examples/getWorkspacesBySubscription.json | 8 -- .../examples/resyncWorkspaceKeys.json | 3 +- .../2021-04-01/examples/updateWorkspace.json | 8 -- .../2021-04-01/machineLearningServices.json | 94 +++++++++++++++++-- 10 files changed, 95 insertions(+), 54 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json index 16a2c8444327..e61e067bb910 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createOrUpdateService.json @@ -91,10 +91,10 @@ "name": "service456", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json index 05cd79741447..81dc89958504 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/createWorkspace.json @@ -6,10 +6,6 @@ "api-version": "2021-04-01", "parameters": { "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "identity": { "type": "SystemAssigned,UserAssigned", "userAssignedIdentities": { @@ -68,10 +64,6 @@ } } }, - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -125,10 +117,6 @@ } } }, - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json index c398a964daba..16e0b4b8f0f0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getService.json @@ -14,10 +14,10 @@ "name": "service123", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json index 11faafd579b2..9fa009beb772 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getServices.json @@ -15,10 +15,10 @@ "name": "service123", "systemData": { "createdBy": "string", - "createdByType": "application", + "createdByType": "Application", "createdAt": "2020-02-03T01:01:01.1075056Z", "lastModifiedBy": "string", - "lastModifiedByType": "application", + "lastModifiedByType": "Application", "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" }, "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json index 4597f56f07f7..593ced4b17f0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspace.json @@ -24,10 +24,6 @@ } } }, - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json index c1e9ee976875..5ee3757f2018 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesByResourceGroup.json @@ -13,10 +13,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -32,10 +28,6 @@ "name": "testworkspace1", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Basic", - "tier": "Basic" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json index 8370fa226327..066261e0c0a9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getWorkspacesBySubscription.json @@ -12,10 +12,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", @@ -31,10 +27,6 @@ "name": "testworkspace", "type": "Microsoft.MachineLearningServices/workspaces", "location": "eastus2euap", - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json index 585b3c161259..0f541acd48a5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/resyncWorkspaceKeys.json @@ -6,6 +6,7 @@ "api-version": "2021-04-01" }, "responses": { - "200": {} + "200": {}, + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json index f4335d220fa8..94a938bc46e3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/updateWorkspace.json @@ -5,10 +5,6 @@ "workspaceName": "testworkspace", "api-version": "2021-04-01", "parameters": { - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "friendlyName": "New friendly name", "description": "new description" @@ -27,10 +23,6 @@ "tenantId": "00000000-1111-2222-3333-444444444444", "type": "SystemAssigned" }, - "sku": { - "name": "Enterprise", - "tier": "Enterprise" - }, "properties": { "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 932a3b0cb7bb..8596012cdd25 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -398,6 +398,7 @@ ], "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", + "x-ms-long-running-operation": true, "x-ms-examples": { "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" @@ -421,6 +422,9 @@ "200": { "description": "The request was successful; the request was well-formed and received properly." }, + "202": { + "description": "The request was accepted; the request was well-formed and received properly." + }, "default": { "description": "Error response describing why the operation failed", "schema": { @@ -1216,7 +1220,7 @@ "WorkspaceSkus" ], "description": "Lists all skus with associated features", - "operationId": "ListSkus", + "operationId": "Workspace_ListSkus", "x-ms-examples": { "List Skus": { "$ref": "./examples/ListSkus.json" @@ -2369,6 +2373,22 @@ "primaryUserAssignedIdentity": { "description": "The user assigned identity resource id that represents the workspace identity.", "type": "string" + }, + "subscriptionState": { + "readOnly": true, + "$ref": "#/definitions/SubscriptionState" + }, + "subscriptionStatusChangeTimeStampUtc": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Subscription state change time.", + "description": "The time at which the subscription state changed." + }, + "tenantId": { + "description": "The tenant id associated with this workspace.", + "type": "string", + "readOnly": true } } }, @@ -3203,6 +3223,18 @@ "type": "string", "description": "The description of the Machine Learning compute." }, + "createdOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was created." + }, + "modifiedOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was last modified." + }, "resourceId": { "type": "string", "description": "ARM resource id of the underlying compute" @@ -3254,7 +3286,7 @@ "description": "Number of agents", "type": "integer", "format": "int32", - "minimum": 1 + "minimum": 0 }, "agentVmSize": { "description": "Agent virtual machine size", @@ -3281,6 +3313,23 @@ "aksNetworkingConfiguration": { "description": "AKS networking configuration for vnet", "$ref": "#/definitions/AksNetworkingConfiguration" + }, + "LoadBalancerType": { + "description": "Load Balancer Type", + "type": "string", + "default": "PublicIp", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + } + }, + "LoadBalancerSubnet": { + "description": "Load Balancer Subnet", + "type": "string" } } } @@ -3565,6 +3614,10 @@ "administratorAccount": { "description": "Admin credentials for virtual machine", "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + "isNotebookInstanceCompute": { + "description": "Indicates whether this compute will be used for running notebooks.", + "type": "boolean" } } } @@ -3727,6 +3780,14 @@ "cname": { "description": "CNAME of the cert", "type": "string" + }, + "leafDomainLabel": { + "description": "Leaf domain label of public endpoint", + "type": "string" + }, + "overwriteExistingDomain": { + "description": "Indicates whether to overwrite existing domain label.", + "type": "boolean" } } }, @@ -4092,13 +4153,30 @@ "VirtualMachine", "HDInsight", "Databricks", - "DataLakeAnalytics" + "DataLakeAnalytics", + "SynapseSpark" ], "x-ms-enum": { "name": "ComputeType", "modelAsString": true } }, + "SubscriptionState": { + "type": "string", + "description": "The state AzureML workspace's subscription", + "enum": [ + "suspended", + "active", + "expired", + "submitted", + "rejected", + "cancelled" + ], + "x-ms-enum": { + "name": "SubscriptionState", + "modelAsString": false + } + }, "MachineLearningServiceError": { "type": "object", "description": "Wrapper for error response to follow ARM guidelines.", @@ -4124,6 +4202,11 @@ "description": "Error message.", "readOnly": true }, + "target": { + "type": "string", + "description": "The target of the particular error", + "readOnly": true + }, "details": { "type": "array", "description": "An array of error detail objects.", @@ -4566,10 +4649,7 @@ "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", "type": "string" } - }, - "required": [ - "userAssignedIdentity" - ] + } }, "ServiceResource": { "type": "object", From 3da36b8417d8db1cf6da54fe203e8afcd37117bc Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 7 Apr 2021 11:57:26 -0700 Subject: [PATCH 055/211] Add x-ms-discriminator-value for Synapse spark --- .../2021-04-01/machineLearningServices.json | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 8596012cdd25..94d9bc004e38 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3717,6 +3717,67 @@ ], "x-ms-discriminator-value": "DataLakeAnalytics" }, + "SynapseSpark": { + "description": "A SynapseSpark compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "autoScaleProperties": { + "description": "Auto scale properties.", + "$ref": "#/definitions/AutoScaleProperties" + }, + "autoPauseProperties": { + "description": "Auto pause properties.", + "$ref": "#/definitions/AutoPauseProperties" + }, + "sparkVersion": { + "description": "Spark version.", + "type": "string" + }, + "nodeCount": { + "description": "The number of compute nodes currently assigned to the compute.", + "type": "integer", + "format": "int32" + }, + "nodeSize": { + "description": "Node size.", + "type": "string" + }, + "nodeSizeFamily": { + "description": "Node size family.", + "type": "string" + }, + "subscriptionId": { + "description": "Azure subscription identifier.", + "type": "string" + }, + "resourceGroup": { + "description": "Name of the resource group in which workspace is located.", + "type": "string" + }, + "workspaceName": { + "description": "Name of Azure Machine Learning workspace.", + "type": "string" + }, + "poolName": { + "description": "Pool name.", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "SynapseSpark" + }, "ServicePrincipalCredentials": { "type": "object", "description": "Service principal credentials.", @@ -6588,6 +6649,36 @@ "type": "string" } } + }, + "AutoScaleProperties": { + "type": "object", + "description": "Auto scale properties", + "properties": { + "minNodeCount": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "maxNodeCount": { + "format": "int32", + "type": "integer" + } + } + }, + "AutoPauseProperties": { + "type": "object", + "description": "Auto pause properties", + "properties": { + "delayInMinutes": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + } + } } } } From 1d4b80dfc10f0f78c5cee9e186db64f928434ca7 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 7 Apr 2021 12:15:34 -0700 Subject: [PATCH 056/211] camelcase loadbalancer properties --- .../stable/2021-04-01/machineLearningServices.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 94d9bc004e38..5527513152d6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3314,7 +3314,7 @@ "description": "AKS networking configuration for vnet", "$ref": "#/definitions/AksNetworkingConfiguration" }, - "LoadBalancerType": { + "loadBalancerType": { "description": "Load Balancer Type", "type": "string", "default": "PublicIp", @@ -3327,7 +3327,7 @@ "modelAsString": true } }, - "LoadBalancerSubnet": { + "loadBalancerSubnet": { "description": "Load Balancer Subnet", "type": "string" } From cbeffcad1175ebef51cce7b81fcfa2601d0a0d45 Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 7 Apr 2021 12:37:05 -0700 Subject: [PATCH 057/211] add createdOn and Modified on to examples --- .../stable/2021-04-01/examples/getAKSCompute.json | 2 ++ .../stable/2021-04-01/examples/getAmlCompute.json | 2 ++ .../stable/2021-04-01/examples/getComputeInstance.json | 2 ++ .../stable/2021-04-01/examples/getComputes.json | 4 ++++ 4 files changed, 10 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json index 173a2628e1f4..22b32ed47a7f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAKSCompute.json @@ -14,6 +14,8 @@ "name": "compute123", "location": "eastus", "properties": { + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", "computeType": "AKS", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json index 116337af2009..3edda8a526cd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getAmlCompute.json @@ -15,6 +15,8 @@ "location": "eastus2", "properties": { "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "computeType": "AmlCompute", "provisioningState": "Succeeded", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json index 9fe4ed60705d..64cc1ba1f9fc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputeInstance.json @@ -15,6 +15,8 @@ "location": "eastus2", "properties": { "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "computeType": "ComputeInstance", "provisioningState": "Succeeded", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json index 1f50b7c24ecc..657146bbdf03 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/examples/getComputes.json @@ -16,6 +16,8 @@ "location": "eastus", "properties": { "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", "computeType": "AKS", "provisioningState": "Succeeded" @@ -28,6 +30,8 @@ "location": "eastus", "properties": { "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", "computeType": "AKS", "provisioningState": "Succeeded" From 235a15eba7774f6c8e102eef08ffa1ebb8f9e0ed Mon Sep 17 00:00:00 2001 From: "jopet@microsoft.com" Date: Wed, 7 Apr 2021 14:00:52 -0700 Subject: [PATCH 058/211] address AvoidAnonymousTypes error for SynapseSpark --- .../2021-04-01/machineLearningServices.json | 104 +++++++++--------- 1 file changed, 54 insertions(+), 50 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 5527513152d6..d0d09d7c1472 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3724,56 +3724,7 @@ "$ref": "#/definitions/Compute" }, { - "type": "object", - "properties": { - "properties": { - "type": "object", - "description": "AKS properties", - "properties": { - "autoScaleProperties": { - "description": "Auto scale properties.", - "$ref": "#/definitions/AutoScaleProperties" - }, - "autoPauseProperties": { - "description": "Auto pause properties.", - "$ref": "#/definitions/AutoPauseProperties" - }, - "sparkVersion": { - "description": "Spark version.", - "type": "string" - }, - "nodeCount": { - "description": "The number of compute nodes currently assigned to the compute.", - "type": "integer", - "format": "int32" - }, - "nodeSize": { - "description": "Node size.", - "type": "string" - }, - "nodeSizeFamily": { - "description": "Node size family.", - "type": "string" - }, - "subscriptionId": { - "description": "Azure subscription identifier.", - "type": "string" - }, - "resourceGroup": { - "description": "Name of the resource group in which workspace is located.", - "type": "string" - }, - "workspaceName": { - "description": "Name of Azure Machine Learning workspace.", - "type": "string" - }, - "poolName": { - "description": "Pool name.", - "type": "string" - } - } - } - } + "$ref": "#/definitions/SynapseSparkPoolProperties" } ], "x-ms-discriminator-value": "SynapseSpark" @@ -6679,6 +6630,59 @@ "type": "boolean" } } + }, + "SynapseSparkPoolProperties": { + "type": "object", + "description": "Properties specific to Synapse Spark pools.", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "autoScaleProperties": { + "description": "Auto scale properties.", + "$ref": "#/definitions/AutoScaleProperties" + }, + "autoPauseProperties": { + "description": "Auto pause properties.", + "$ref": "#/definitions/AutoPauseProperties" + }, + "sparkVersion": { + "description": "Spark version.", + "type": "string" + }, + "nodeCount": { + "description": "The number of compute nodes currently assigned to the compute.", + "type": "integer", + "format": "int32" + }, + "nodeSize": { + "description": "Node size.", + "type": "string" + }, + "nodeSizeFamily": { + "description": "Node size family.", + "type": "string" + }, + "subscriptionId": { + "description": "Azure subscription identifier.", + "type": "string" + }, + "resourceGroup": { + "description": "Name of the resource group in which workspace is located.", + "type": "string" + }, + "workspaceName": { + "description": "Name of Azure Machine Learning workspace.", + "type": "string" + }, + "poolName": { + "description": "Pool name.", + "type": "string" + } + } + } + } } } } From d45216fed29e4bf190de7a011034c643b6b4b788 Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Wed, 7 Apr 2021 15:18:37 -0700 Subject: [PATCH 059/211] Minor fixes + new property --- .../stable/2021-04-01/machineLearningServices.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index d0d09d7c1472..1bc7aa5e2511 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -3251,6 +3251,10 @@ "type": "boolean", "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 + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." } }, "required": [ @@ -4717,10 +4721,10 @@ "description": "The type of identity that creates/modifies resources", "type": "string", "enum": [ - "user", - "application", - "managedIdentity", - "key" + "User", + "Application", + "ManagedIdentity", + "Key" ], "x-ms-enum": { "name": "IdentityType", From 79f38340793a9b9862fc304ba710679b657df15b Mon Sep 17 00:00:00 2001 From: Suba Selvameena Karunamoorthy Date: Wed, 7 Apr 2021 15:26:30 -0700 Subject: [PATCH 060/211] Remove subscription state. --- .../2021-04-01/machineLearningServices.json | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json index 1bc7aa5e2511..2f6b62c632cf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-04-01/machineLearningServices.json @@ -2374,17 +2374,6 @@ "description": "The user assigned identity resource id that represents the workspace identity.", "type": "string" }, - "subscriptionState": { - "readOnly": true, - "$ref": "#/definitions/SubscriptionState" - }, - "subscriptionStatusChangeTimeStampUtc": { - "type": "string", - "readOnly": true, - "format": "date-time", - "title": "Subscription state change time.", - "description": "The time at which the subscription state changed." - }, "tenantId": { "description": "The tenant id associated with this workspace.", "type": "string", @@ -4177,22 +4166,6 @@ "modelAsString": true } }, - "SubscriptionState": { - "type": "string", - "description": "The state AzureML workspace's subscription", - "enum": [ - "suspended", - "active", - "expired", - "submitted", - "rejected", - "cancelled" - ], - "x-ms-enum": { - "name": "SubscriptionState", - "modelAsString": false - } - }, "MachineLearningServiceError": { "type": "object", "description": "Wrapper for error response to follow ARM guidelines.", From 0c6238ccf5c727518e13915400a4345f1a394d7f Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 9 Jul 2021 11:30:19 -0700 Subject: [PATCH 061/211] copy over from baseline api version 2021-03-01-preview --- .../BatchDeployment/createOrUpdate.json | 234 + .../examples/BatchDeployment/delete.json | 14 + .../examples/BatchDeployment/get.json | 90 + .../examples/BatchDeployment/list.json | 94 + .../examples/BatchDeployment/update.json | 97 + .../BatchEndpoint/createOrUpdate.json | 136 + .../examples/BatchEndpoint/delete.json | 13 + .../examples/BatchEndpoint/get.json | 56 + .../examples/BatchEndpoint/list.json | 61 + .../examples/BatchEndpoint/listKeys.json | 17 + .../examples/BatchEndpoint/update.json | 63 + .../CodeContainer/createOrUpdate.json | 64 + .../examples/CodeContainer/delete.json | 13 + .../examples/CodeContainer/get.json | 33 + .../examples/CodeContainer/list.json | 58 + .../examples/CodeVersion/createOrUpdate.json | 92 + .../examples/CodeVersion/delete.json | 14 + .../2021-07-01/examples/CodeVersion/get.json | 43 + .../2021-07-01/examples/CodeVersion/list.json | 48 + .../Compute/createOrUpdate/AKSCompute.json | 53 + .../Compute/createOrUpdate/AmlCompute.json | 54 + .../createOrUpdate/BasicAKSCompute.json | 44 + .../createOrUpdate/BasicAmlCompute.json | 60 + .../BasicDataFactoryCompute.json | 44 + .../createOrUpdate/ComputeInstance.json | 59 + .../ComputeInstanceMinimal.json | 47 + .../ComputeInstanceWithSchedules.json | 73 + .../2021-07-01/examples/Compute/delete.json | 19 + .../examples/Compute/get/AKSCompute.json | 27 + .../examples/Compute/get/AmlCompute.json | 54 + .../examples/Compute/get/ComputeInstance.json | 60 + .../2021-07-01/examples/Compute/list.json | 45 + .../2021-07-01/examples/Compute/listKeys.json | 19 + .../examples/Compute/listNodes.json | 34 + .../2021-07-01/examples/Compute/patch.json | 36 + .../2021-07-01/examples/Compute/restart.json | 12 + .../2021-07-01/examples/Compute/start.json | 12 + .../2021-07-01/examples/Compute/stop.json | 12 + .../examples/Compute/updateSchedules.json | 36 + .../DataContainer/createOrUpdate.json | 76 + .../examples/DataContainer/delete.json | 13 + .../examples/DataContainer/get.json | 37 + .../examples/DataContainer/list.json | 65 + .../examples/DataVersion/createOrUpdate.json | 95 + .../examples/DataVersion/delete.json | 14 + .../2021-07-01/examples/DataVersion/get.json | 44 + .../2021-07-01/examples/DataVersion/list.json | 48 + .../AzureBlobWAccountKey/createOrUpdate.json | 136 + .../createOrUpdate.json | 139 + .../createOrUpdate.json | 148 + .../AzureFileWAccountKey/createOrUpdate.json | 136 + .../createOrUpdate.json | 142 + .../createOrUpdate.json | 139 + .../2021-07-01/examples/Datastore/delete.json | 13 + .../2021-07-01/examples/Datastore/get.json | 56 + .../2021-07-01/examples/Datastore/list.json | 60 + .../examples/Datastore/listSecrets.json | 17 + .../EnvironmentContainer/createOrUpdate.json | 82 + .../examples/EnvironmentContainer/delete.json | 13 + .../examples/EnvironmentContainer/get.json | 33 + .../examples/EnvironmentContainer/list.json | 38 + .../createOrUpdate.json | 98 + .../delete.json | 14 + .../EnvironmentSpecificationVersion/get.json | 45 + .../EnvironmentSpecificationVersion/list.json | 82 + .../Job/CommandJob/createOrUpdate.json | 181 + .../examples/Job/CommandJob/get.json | 92 + .../examples/Job/CommandJob/list.json | 98 + .../examples/Job/SweepJob/createOrUpdate.json | 217 + .../2021-07-01/examples/Job/SweepJob/get.json | 84 + .../examples/Job/SweepJob/list.json | 90 + .../2021-07-01/examples/Job/cancel.json | 12 + .../2021-07-01/examples/Job/delete.json | 14 + .../examples/LabelingJob/createOrUpdate.json | 275 + .../examples/LabelingJob/delete.json | 13 + .../examples/LabelingJob/exportLabels.json | 24 + .../2021-07-01/examples/LabelingJob/get.json | 111 + .../2021-07-01/examples/LabelingJob/list.json | 115 + .../examples/LabelingJob/pause.json | 12 + .../examples/LabelingJob/resume.json | 13 + .../ModelContainer/createOrUpdate.json | 64 + .../examples/ModelContainer/delete.json | 13 + .../examples/ModelContainer/get.json | 33 + .../examples/ModelContainer/list.json | 38 + .../examples/ModelVersion/createOrUpdate.json | 97 + .../examples/ModelVersion/delete.json | 14 + .../2021-07-01/examples/ModelVersion/get.json | 47 + .../examples/ModelVersion/list.json | 52 + .../examples/Notebook/listKeys.json | 16 + .../2021-07-01/examples/Notebook/prepare.json | 21 + .../K8sOnlineDeployment/createOrUpdate.json | 203 + .../K8sOnlineDeployment/get.json | 77 + .../K8sOnlineDeployment/update.json | 108 + .../createOrUpdate.json | 199 + .../ManagedOnlineDeployment/get.json | 78 + .../ManagedOnlineDeployment/update.json | 110 + .../examples/OnlineDeployment/delete.json | 15 + .../examples/OnlineDeployment/getLogs.json | 21 + .../examples/OnlineDeployment/list.json | 145 + .../OnlineEndpoint/createOrUpdate.json | 125 + .../examples/OnlineEndpoint/delete.json | 14 + .../examples/OnlineEndpoint/get.json | 50 + .../examples/OnlineEndpoint/getToken.json | 19 + .../examples/OnlineEndpoint/list.json | 54 + .../examples/OnlineEndpoint/listKeys.json | 17 + .../OnlineEndpoint/regenerateKeys.json | 17 + .../examples/OnlineEndpoint/update.json | 74 + .../createOrUpdate.json | 38 + .../PrivateEndpointConnection/delete.json | 14 + .../PrivateEndpointConnection/get.json | 30 + .../PrivateEndpointConnection/list.json | 50 + .../examples/PrivateLinkResource/list.json | 28 + .../2021-07-01/examples/Quota/list.json | 415 + .../2021-07-01/examples/Quota/update.json | 45 + .../2021-07-01/examples/Usage/list.json | 400 + .../examples/VirtualMachineSize/list.json | 348 + .../2021-07-01/examples/Workspace/create.json | 157 + .../2021-07-01/examples/Workspace/delete.json | 13 + .../2021-07-01/examples/Workspace/get.json | 84 + .../Workspace/listByResourceGroup.json | 46 + .../Workspace/listBySubscription.json | 45 + .../examples/Workspace/listKeys.json | 35 + .../Workspace/listNotebookAccessToken.json | 20 + .../Workspace/listStorageAccountKeys.json | 15 + .../examples/Workspace/resyncKeys.json | 12 + .../2021-07-01/examples/Workspace/update.json | 38 + .../examples/WorkspaceConnection/create.json | 32 + .../examples/WorkspaceConnection/delete.json | 13 + .../examples/WorkspaceConnection/get.json | 24 + .../examples/WorkspaceConnection/list.json | 40 + .../examples/WorkspaceFeature/list.json | 26 + .../examples/WorkspaceSku/list.json | 79 + .../2021-07-01/machineLearningServices.json | 4835 +++++++++ .../stable/2021-07-01/mfe.json | 9515 +++++++++++++++++ .../stable/2021-07-01/workspaceFeatures.json | 113 + .../stable/2021-07-01/workspaceSkus.json | 230 + 136 files changed, 23635 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json new file mode 100644 index 000000000000..e0665a3471b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json @@ -0,0 +1,234 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json new file mode 100644 index 000000000000..ea9d9cf451e0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json new file mode 100644 index 000000000000..7b8786b625e3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json new file mode 100644 index 000000000000..60fd50774dd4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json new file mode 100644 index 000000000000..47b43f35442c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json new file mode 100644 index 000000000000..7193dc10d7ae --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "keys": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json new file mode 100644 index 000000000000..45104ebc1299 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json new file mode 100644 index 000000000000..48ee8272b3b9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json new file mode 100644 index 000000000000..6912243fd754 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "count": 1 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json new file mode 100644 index 000000000000..ac3d3b432d0a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint" + }, + "responses": { + "200": { + "body": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json new file mode 100644 index 000000000000..06fab02ba585 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json new file mode 100644 index 000000000000..71ebee7ba51b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "body": { + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json new file mode 100644 index 000000000000..9198deab4166 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json new file mode 100644 index 000000000000..6446f2e5fabb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json new file mode 100644 index 000000000000..73e02ca2c0bc --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-08-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer2", + "name": "testContainer2", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-08-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json new file mode 100644 index 000000000000..a8f88ec37b5b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1", + "body": { + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json new file mode 100644 index 000000000000..6bb446d6869e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json new file mode 100644 index 000000000000..054e0b6192b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json new file mode 100644 index 000000000000..72fcc4480273 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json new file mode 100644 index 000000000000..37026eb9cf01 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json new file mode 100644 index 000000000000..1deb507610ef --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "description": "some compute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json new file mode 100644 index 000000000000..c6e2e55ce2b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json new file mode 100644 index 000000000000..f0f4f84724be --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" + }, + "isolatedNetwork": false, + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "NotSpecified", + "enableNodePublicIp": true + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json new file mode 100644 index 000000000000..a65e47b06092 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json new file mode 100644 index 000000000000..f03287c70c29 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json new file mode 100644 index 000000000000..f297720608bf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json new file mode 100644 index 000000000000..eb954d42090e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "schedules": { + "computeStartStop": [ + { + "status": "Enabled", + "action": "Stop", + "triggerType": "Cron", + "cron": { + "expression": "0 18 * * *", + "startTime": "2021-04-23T01:30:00", + "timeZone": "Pacific Standard Time" + } + } + ] + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json new file mode 100644 index 000000000000..add22e2b48cc --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json new file mode 100644 index 000000000000..59a7d4b7009d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json new file mode 100644 index 000000000000..b422464ed390 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "computeType": "AmlCompute", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json new file mode 100644 index 000000000000..3d2d0c42183d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "computeType": "ComputeInstance", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Shared", + "sshSettings": { + "sshPublicAccess": "Enabled", + "adminUserName": "azureuser", + "sshPort": 22 + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "createdBy": { + "userName": "foobar@microsoft.com", + "userOrgId": "00000000-0000-0000-0000-000000000000", + "userId": "00000000-0000-0000-0000-000000000000" + }, + "connectivityEndpoints": { + "publicIpAddress": "10.0.0.1", + "privateIpAddress": "10.0.0.1" + }, + "applications": [ + { + "displayName": "Jupyter", + "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" + } + ], + "errors": null, + "state": "Running" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/list.json new file mode 100644 index 000000000000..657146bbdf03 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/list.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json new file mode 100644 index 000000000000..41de00a059cb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json new file mode 100644 index 000000000000..58892c22ca92 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "computeType": "AmlCompute", + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50000, + "nodeState": "running", + "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50001, + "nodeState": "idle" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json new file mode 100644 index 000000000000..b4088fd335cb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json new file mode 100644 index 000000000000..8647ef440852 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json new file mode 100644 index 000000000000..9f3b7e87c2b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json new file mode 100644 index 000000000000..9f3b7e87c2b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json new file mode 100644 index 000000000000..293bec00382c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-03-01-preview", + "parameters": { + "computeStartStop": [ + { + "status": "Enabled", + "action": "Start", + "triggerType": "Recurrence", + "recurrence": { + "frequency": "Day", + "interval": 1, + "startTime": "2021-04-23T01:30:00", + "timeZone": "Pacific Standard Time", + "schedule": { + "hours": [ + 18 + ], + "minutes": [ + 30 + ], + "weekDays": null + } + } + } + ] + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json new file mode 100644 index 000000000000..bdc677161a55 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123", + "body": { + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json new file mode 100644 index 000000000000..8f4fac7c6b98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json new file mode 100644 index 000000000000..4cb6ef56aa05 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json new file mode 100644 index 000000000000..ec4cd60666d2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datastore123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer124", + "name": "datastore124", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json new file mode 100644 index 000000000000..0723a7cb2785 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1", + "body": { + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "string", + "path": "string", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json new file mode 100644 index 000000000000..015e64c15dba --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json new file mode 100644 index 000000000000..e57de45a9dfe --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json new file mode 100644 index 000000000000..237aaf98a68b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json new file mode 100644 index 000000000000..4256b6a716c7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey", + "secrets": { + "secretsType": "AccountKey", + "key": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json new file mode 100644 index 000000000000..4fc78ee17415 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "storeName": "testStore" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "storeName": "testStore" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "storeName": "testStore" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json new file mode 100644 index 000000000000..c01877c5ce1b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json new file mode 100644 index 000000000000..2147d4985c96 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey", + "secrets": { + "secretsType": "AccountKey", + "key": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json new file mode 100644 index 000000000000..cfc68b024e2a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string", + "secrets": { + "secretsType": "SqlAdmin", + "password": "string" + } + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json new file mode 100644 index 000000000000..605e1811706c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string", + "secrets": { + "secretsType": "SqlAdmin", + "password": "string" + } + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json new file mode 100644 index 000000000000..d953f417799a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json new file mode 100644 index 000000000000..6d9a1ff86179 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json new file mode 100644 index 000000000000..37bf195e3f4e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json new file mode 100644 index 000000000000..ca384be6e731 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": { + "body": { + "secretsType": "AccountKey", + "key": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json new file mode 100644 index 000000000000..e596ec038359 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testEnvironment", + "body": { + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + }, + "systemData": { + "createdAt": "2020-12-04T03:39:11.300Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-04T03:39:11.300Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + }, + "systemData": { + "createdAt": "2020-12-04T03:39:11.301Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-04T03:39:11.301Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json new file mode 100644 index 000000000000..9198deab4166 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json new file mode 100644 index 000000000000..46258d640ce4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testEnvironment" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json new file mode 100644 index 000000000000..2d7de2bcc85e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json new file mode 100644 index 000000000000..581526e4d985 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "version": "1", + "api-version": "2021-03-01-preview", + "body": { + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json new file mode 100644 index 000000000000..11bfc42fbc54 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testContainer", + "version": "1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json new file mode 100644 index 000000000000..09d4f131f6c8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "version": "1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json new file mode 100644 index 000000000000..388d9d8f13f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "2", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "environmentSpecificationType": "Curated", + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json new file mode 100644 index 000000000000..64e43cbdfe63 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json @@ -0,0 +1,181 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob", + "body": { + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json new file mode 100644 index 000000000000..554ab3dff455 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "provisioningState": "Succeeded", + "status": "Running", + "interactionEndpoints": { + "Tracking": { + "jobEndpointType": "Tracking", + "port": null, + "endpoint": "azureml://tracking/endpoint", + "properties": {} + }, + "Studio": { + "jobEndpointType": "Studio", + "port": null, + "endpoint": "https://studio/endpoint", + "properties": {} + } + }, + "output": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", + "path": "path/to/output" + }, + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json new file mode 100644 index 000000000000..43150c34a05f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "jobType": "Command", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "provisioningState": "Succeeded", + "status": "Running", + "interactionEndpoints": { + "Tracking": { + "jobEndpointType": "Tracking", + "port": null, + "endpoint": "azureml://tracking/endpoint", + "properties": {} + }, + "Studio": { + "jobEndpointType": "Studio", + "port": null, + "endpoint": "https://studio/endpoint", + "properties": {} + } + }, + "output": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", + "path": "path/to/output" + }, + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json new file mode 100644 index 000000000000..eda95df628e9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob", + "body": { + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json new file mode 100644 index 000000000000..4e010f6936c1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json new file mode 100644 index 000000000000..599a00dbdda0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "jobType": "Sweep", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json new file mode 100644 index 000000000000..df2eaa220536 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json new file mode 100644 index 000000000000..3eb00d3f546a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json new file mode 100644 index 000000000000..8cdc2d8909b1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json @@ -0,0 +1,275 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob", + "body": { + "properties": { + "jobType": "Labeling", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "labelCategories": { + "myCategory1": { + "displayName": "myCategory1Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + }, + "myCategory2": { + "displayName": "myCategory2Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + } + }, + "jobInstructions": { + "uri": "link/to/instructions" + }, + "datasetConfiguration": { + "assetName": "myAsset", + "incrementalDatasetRefreshEnabled": true, + "datasetVersion": "1" + }, + "mlAssistConfiguration": { + "inferencingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", + "instanceCount": 1 + }, + "trainingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", + "instanceCount": 1 + }, + "mlAssistEnabled": true + }, + "labelingJobMediaProperties": { + "mediaType": "Image" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", + "name": "testLabelingJob", + "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", + "properties": { + "jobType": "Labeling", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "labelCategories": { + "myCategory1": { + "displayName": "myCategory1Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + }, + "myCategory2": { + "displayName": "myCategory2Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + } + }, + "jobInstructions": { + "uri": "link/to/instructions" + }, + "datasetConfiguration": { + "assetName": "myAsset", + "incrementalDatasetRefreshEnabled": true, + "datasetVersion": "1" + }, + "mlAssistConfiguration": { + "inferencingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", + "instanceCount": 1 + }, + "trainingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", + "instanceCount": 1 + }, + "mlAssistEnabled": true + }, + "labelingJobMediaProperties": { + "mediaType": "Image" + }, + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "status": "NotStarted", + "progressMetrics": { + "totalDatapointCount": 0, + "completedDatapointCount": 0, + "skippedDatapointCount": 0, + "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" + }, + "statusMessages": [ + { + "level": "Error", + "code": "string", + "message": "string", + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + } + ], + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + }, + "systemData": { + "createdAt": "2020-12-08T01:23:37.235Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:23:37.235Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", + "name": "testLabelingJob", + "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", + "properties": { + "jobType": "Labeling", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "labelCategories": { + "myCategory1": { + "displayName": "myCategory1Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + }, + "myCategory2": { + "displayName": "myCategory2Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + } + }, + "jobInstructions": { + "uri": "link/to/instructions" + }, + "datasetConfiguration": { + "assetName": "myAsset", + "incrementalDatasetRefreshEnabled": true, + "datasetVersion": "1" + }, + "mlAssistConfiguration": { + "inferencingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", + "instanceCount": 1 + }, + "trainingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", + "instanceCount": 1 + }, + "mlAssistEnabled": true + }, + "labelingJobMediaProperties": { + "mediaType": "Image" + }, + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "status": "NotStarted", + "progressMetrics": { + "totalDatapointCount": 0, + "completedDatapointCount": 0, + "skippedDatapointCount": 0, + "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" + }, + "statusMessages": [ + { + "level": "Error", + "code": "string", + "message": "string", + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + } + ], + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + }, + "systemData": { + "createdAt": "2020-12-08T01:23:37.235Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:23:37.235Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json new file mode 100644 index 000000000000..1ba8bb4c1baf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json new file mode 100644 index 000000000000..9618c15e7951 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob", + "body": { + "format": "Dataset" + } + }, + "responses": { + "200": { + "body": { + "format": "Dataset", + "labelingJobId": "string", + "exportedRowCount": 0, + "startTimeUtc": "2021-02-08T23:34:40.730Z", + "endTimeUtc": "2021-02-08T23:34:40.730Z" + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json new file mode 100644 index 000000000000..543d65f09dd1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob", + "includeJobInstructions": true, + "includeLabelCategories": true + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", + "name": "testLabelingJob", + "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", + "properties": { + "jobType": "Labeling", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "labelCategories": { + "myCategory1": { + "displayName": "myCategory1Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + }, + "myCategory2": { + "displayName": "myCategory2Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + } + }, + "jobInstructions": { + "uri": "link/to/instructions" + }, + "datasetConfiguration": { + "assetName": "myAsset", + "incrementalDatasetRefreshEnabled": true, + "datasetVersion": "1" + }, + "mlAssistConfiguration": { + "inferencingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", + "instanceCount": 1 + }, + "trainingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", + "instanceCount": 1 + }, + "mlAssistEnabled": true + }, + "labelingJobMediaProperties": { + "mediaType": "Image" + }, + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "status": "NotStarted", + "progressMetrics": { + "totalDatapointCount": 0, + "completedDatapointCount": 0, + "skippedDatapointCount": 0, + "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" + }, + "statusMessages": [ + { + "level": "Error", + "code": "string", + "message": "string", + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + } + ], + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + }, + "systemData": { + "createdAt": "2020-12-08T01:23:37.235Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:23:37.235Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json new file mode 100644 index 000000000000..69c756def7da --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken", + "count": "10" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", + "name": "testLabelingJob", + "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", + "properties": { + "jobType": "Labeling", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "labelCategories": { + "myCategory1": { + "displayName": "myCategory1Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + }, + "myCategory2": { + "displayName": "myCategory2Title", + "allowMultiSelect": true, + "classes": { + "myLabelClass1": { + "displayName": "myLabelClass1", + "subclasses": {} + }, + "myLabelClass2": { + "displayName": "myLabelClass2", + "subclasses": {} + } + } + } + }, + "jobInstructions": { + "uri": "link/to/instructions" + }, + "datasetConfiguration": { + "assetName": "myAsset", + "incrementalDatasetRefreshEnabled": true, + "datasetVersion": "1" + }, + "mlAssistConfiguration": { + "inferencingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", + "instanceCount": 1 + }, + "trainingComputeBinding": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", + "instanceCount": 1 + }, + "mlAssistEnabled": true + }, + "labelingJobMediaProperties": { + "mediaType": "Image" + }, + "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", + "status": "NotStarted", + "progressMetrics": { + "totalDatapointCount": 0, + "completedDatapointCount": 0, + "skippedDatapointCount": 0, + "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" + }, + "statusMessages": [ + { + "level": "Error", + "code": "string", + "message": "string", + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + } + ], + "createdTimeUtc": "2020-12-08T01:23:37.234Z" + }, + "systemData": { + "createdAt": "2020-12-08T01:23:37.235Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:23:37.235Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json new file mode 100644 index 000000000000..604eb10453eb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json new file mode 100644 index 000000000000..2d9060120bdf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testLabelingJob" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json new file mode 100644 index 000000000000..9cbbffb51201 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "body": { + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json new file mode 100644 index 000000000000..b27feae6a399 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json new file mode 100644 index 000000000000..882f7bea8801 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json new file mode 100644 index 000000000000..c9b29bd90be7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json new file mode 100644 index 000000000000..7b286b921069 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1", + "body": { + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/999", + "name": "999", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "LocalUpload/12345/some/path" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json new file mode 100644 index 000000000000..006074c8bb12 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "999" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json new file mode 100644 index 000000000000..3f53e8828158 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json new file mode 100644 index 000000000000..076652c890a0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json new file mode 100644 index 000000000000..b714bf5583d5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json new file mode 100644 index 000000000000..be05b7933fbb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "resourceId": "aabbccddee112233445566778899", + "fqdn": "testnotebook.notebooks.azure.com", + "notebookPreparationError": { + "statusCode": 500, + "errorMessage": "general error" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json new file mode 100644 index 000000000000..93263fb1ded9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "K8S", + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json new file mode 100644 index 000000000000..6883341f031c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json new file mode 100644 index 000000000000..abd51f90e041 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto" + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json new file mode 100644 index 000000000000..8592645864d3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json @@ -0,0 +1,199 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "Managed", + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json new file mode 100644 index 000000000000..442ca1f3ee70 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json new file mode 100644 index 000000000000..86048d903773 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto" + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json new file mode 100644 index 000000000000..8fb52c1c3862 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json new file mode 100644 index 000000000000..00e4108887a5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "containerType": "StorageInitializer", + "tail": 0 + } + }, + "responses": { + "200": { + "body": { + "content": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json new file mode 100644 index 000000000000..8fce3fd11e32 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + }, + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json new file mode 100644 index 000000000000..2c3bca23230a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "keys": { + "primaryKey": "string", + "secondaryKey": "string" + }, + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json new file mode 100644 index 000000000000..441d05a10f9c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json new file mode 100644 index 000000000000..efffbb9b8232 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json new file mode 100644 index 000000000000..2e602c96c444 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "accessToken": "string", + "tokenType": "string", + "expiryTimeUtc": 0, + "refreshAfterTimeUtc": 0 + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json new file mode 100644 index 000000000000..930030042af7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json new file mode 100644 index 000000000000..9da4478dae98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json new file mode 100644 index 000000000000..70f21e732c3c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "keyType": "Primary", + "keyValue": "string" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json new file mode 100644 index 000000000000..e2ef99f27303 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json new file mode 100644 index 000000000000..c6e630977a8e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-03-01-preview", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json new file mode 100644 index 000000000000..9dcf8128f7e0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-03-01-preview", + "monitor": "true" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json new file mode 100644 index 000000000000..6c2ee3ff04c6 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-03-01-preview", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json new file mode 100644 index 000000000000..ba184dd346ba --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-03-01-preview", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json new file mode 100644 index 000000000000..a032d8e9e649 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", + "name": "amlworkspace", + "type": "Microsoft.Storage/workspaces/privateLinkResources", + "properties": { + "groupId": "amlworkspace", + "requiredMembers": [ + "default" + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json new file mode 100644 index 000000000000..54e636a63c3d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json @@ -0,0 +1,415 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quota", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json new file mode 100644 index 000000000000..8640a422e99d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-03-01-preview", + "parameters": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count" + } + ] + } + }, + "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", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count", + "status": "Success" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count", + "status": "Success" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json new file mode 100644 index 000000000000..1bf89278a5bd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json new file mode 100644 index 000000000000..cfc64546bfe0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json @@ -0,0 +1,348 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2021-03-01-preview", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_D1_v2", + "family": "standardDv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 51200, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_D2_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 7, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.09, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.23, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + } + }, + { + "name": "Standard_D11_v2", + "family": "standardDv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 102400, + "memoryGB": 14, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.24, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 16384, + "memoryGB": 4, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.08, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.06, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.16, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_M32-8ms", + "family": "standardMSFamily", + "vCPUs": 32, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1024000, + "memoryGB": 875, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 8.43, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 1.23, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 3.37, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 6.15, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NC6", + "family": "standardNCFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.43, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.9, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.08, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_NV6", + "family": "standardNVFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 389120, + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.28, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.51, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.22, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.09, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_ND6s", + "family": "standardNDSFamily", + "vCPUs": 6, + "gpus": 1, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 344064, + "memoryGB": 112, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 2.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.36, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.87, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.49, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json new file mode 100644 index 000000000000..854a7225b1c6 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json @@ -0,0 +1,157 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "parameters": { + "location": "eastus2euap", + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": {} + } + }, + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json new file mode 100644 index 000000000000..629525537333 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json new file mode 100644 index 000000000000..306f17931b98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", + "privateLinkCount": 0, + "allowPublicAccessWhenBehindVnet": false, + "imageBuildCompute": "testcompute", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", + "name": "testprivatelinkconnection", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ], + "sharedPrivateLinkResources": [ + { + "name": "testcosmosdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json new file mode 100644 index 000000000000..36b5c9335b5c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json new file mode 100644 index 000000000000..98c76fe04ec1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json new file mode 100644 index 000000000000..6a75a7357a2a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null, + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + }, + "notebookAccessKeys": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json new file mode 100644 index 000000000000..1e02bb8bf985 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "notebookResourceId": "94350843095843059", + "hostName": "Host product name", + "publicDns": "resource.notebooks.azure.net", + "tokenType": "Bearer", + "expiresIn": 28800.0, + "scope": "aznb_identity" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json new file mode 100644 index 000000000000..b2489c8310bc --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json new file mode 100644 index 000000000000..ad5607a0f414 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json new file mode 100644 index 000000000000..cfaf8e966a91 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "parameters": { + "properties": { + "friendlyName": "New friendly name", + "description": "new description" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "New friendly name", + "description": "new description" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json new file mode 100644 index 000000000000..b9ac8aba6f9c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-03-01-preview", + "parameters": { + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json new file mode 100644 index 000000000000..9af6a18fa37f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json new file mode 100644 index 000000000000..eb63cb4de626 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json new file mode 100644 index 000000000000..bcf7a9fc3dab --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2021-03-01-preview", + "target": "www.facebook.com", + "category": "ACR" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", + "name": "connection-2", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json new file mode 100644 index 000000000000..87d906febb22 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-03-01-preview", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "automatedml_createeditexperimentsui", + "displayName": "Create edit experiments UI", + "description": "Create, edit or delete AutoML experiments in the SDK" + }, + { + "id": "workspace_upgradeworkspaceui", + "displayName": "Upgrade workspace UI", + "description": "Upgrade workspace from Basic to enterprise from the UI" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json new file mode 100644 index 000000000000..4349f3de6716 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2021-03-01-preview", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "workspaces", + "name": "Basic", + "tier": "Basic", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "capabilities": [ + { + "name": "automatedml_readhyperdrivesdk", + "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" + }, + { + "name": "workspace_upgradeworkspacesdk", + "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" + } + ], + "restrictions": [] + }, + { + "resourceType": "workspaces", + "name": "Enterprise", + "tier": "Enterprise", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ] + } + ] + } + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ], + "restrictions": [] + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json new file mode 100644 index 000000000000..d34f75ec32e7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -0,0 +1,4835 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2021-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { + "$ref": "./examples/Workspace/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Workspace": { + "$ref": "./examples/Workspace/create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "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" + } + }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { + "$ref": "./examples/Workspace/delete.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was accepted; 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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { + "$ref": "./examples/Workspace/update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { + "$ref": "./examples/Workspace/listByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Resync Workspace Keys": { + "$ref": "./examples/Workspace/resyncKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was accepted; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/Usage/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/VirtualMachineSize/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { + "post": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_Update", + "description": "Update quota for each VM family in workspace.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for update quota is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaUpdateParameters" + }, + "description": "Quota update parameters." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The operation was successful.", + "schema": { + "$ref": "#/definitions/UpdateWorkspaceQuotasResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "update quotas": { + "$ref": "./examples/Quota/update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { + "get": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_List", + "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListWorkspaceQuotas" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List workspace quotas by VMFamily": { + "$ref": "./examples/Quota/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { + "$ref": "./examples/Workspace/listBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "Compute_List", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { + "$ref": "./examples/Compute/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_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.", + "x-ms-examples": { + "Get a AKS Compute": { + "$ref": "./examples/Compute/get/AKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/Compute/get/AmlCompute.json" + }, + "Get an ComputeInstance": { + "$ref": "./examples/Compute/get/ComputeInstance.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_CreateOrUpdate", + "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.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicAmlCompute.json" + }, + "Create an ComputeInstance Compute with minimal inputs": { + "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceMinimal.json" + }, + "Create an ComputeInstance Compute": { + "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json" + }, + "Create an ComputeInstance Compute with Schedules": { + "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json" + }, + "Create AKS Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json" + }, + "Update a AKS Compute": { + "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { + "$ref": "./examples/Compute/patch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { + "$ref": "./examples/Compute/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "Compute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "nodes" + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/Compute/listNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "return notebook access token and refresh token", + "operationId": "Workspaces_ListNotebookAccessToken", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listNotebookAccessToken.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/NotebookAccessTokenResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { + "$ref": "./examples/Compute/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeSecrets" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Start", + "description": "Posts a start action to a compute instance", + "x-ms-examples": { + "Start ComputeInstance Compute": { + "$ref": "./examples/Compute/start.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Stop", + "description": "Posts a stop action to a compute instance", + "x-ms-examples": { + "Stop ComputeInstance Compute": { + "$ref": "./examples/Compute/stop.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Restart", + "description": "Posts a restart action to a compute instance", + "x-ms-examples": { + "Restart ComputeInstance Compute": { + "$ref": "./examples/Compute/restart.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateSchedules": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "Compute_UpdateSchedules", + "description": "Updates schedules of a compute instance", + "x-ms-examples": { + "Update schedules of ComputeInstance": { + "$ref": "./examples/Compute/updateSchedules.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for updating schedules of specified ComputeInstance.", + "schema": { + "$ref": "#/definitions/ComputeSchedules" + } + } + ], + "responses": { + "200": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_List", + "description": "List all the private endpoint connections associated with the workspace.", + "x-ms-examples": { + "StorageAccountListPrivateEndpointConnections": { + "$ref": "./examples/PrivateEndpointConnection/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceGetPrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspacePutPrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/createOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceDeletePrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "PrivateLinkResources_List", + "description": "Gets the private link resources that need to be created for a workspace.", + "x-ms-examples": { + "WorkspaceListPrivateLinkResources": { + "$ref": "./examples/PrivateLinkResource/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_PrepareNotebook", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Notebook": { + "$ref": "./examples/Notebook/prepare.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NotebookResourceInfo" + } + }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_ListStorageAccountKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listStorageAccountKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListStorageAccountKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_ListNotebookKeys", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Notebook/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListNotebookKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { + "get": { + "tags": [ + "WorkspaceConnections" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ListWorkspaceConnections": { + "$ref": "./examples/WorkspaceConnection/list.json" + } + }, + "operationId": "WorkspaceConnections_List", + "description": "List all connections under a AML workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { + "put": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Create", + "description": "Add a new workspace connection.", + "x-ms-examples": { + "CreateWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a new workspace connection", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the workspace connection.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Get", + "description": "Get the detail of a workspace connection.", + "x-ms-examples": { + "GetWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked workspace.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Delete", + "description": "Delete a workspace connection.", + "x-ms-examples": { + "DeleteWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the workspace connection." + }, + "204": { + "description": "Specific workspace connection not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + } + }, + "parameters": { + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "PaginationParameter": { + "in": "query", + "name": "$skip", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace", + "x-ms-parameter-location": "method" + }, + "ConnectionName": { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the workspace connection", + "x-ms-parameter-location": "method" + }, + "TargetParameter": { + "in": "query", + "name": "target", + "type": "string", + "description": "Target of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "in": "query", + "name": "category", + "type": "string", + "description": "Category of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "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" + }, + "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", + "x-nullable": true + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of Azure ML workspace." + }, + "hbiWorkspace": { + "type": "boolean", + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", + "default": false + }, + "serviceProvisionedResourceGroup": { + "type": "string", + "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", + "readOnly": true + }, + "privateLinkCount": { + "type": "integer", + "format": "int32", + "description": "Count of private connections in the workspace", + "readOnly": true + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "allowPublicAccessWhenBehindVnet": { + "type": "boolean", + "description": "The flag to indicate whether to allow public access when behind VNet.", + "default": false + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of private endpoint connections in the workspace." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + }, + "description": "The list of shared private link resources in this workspace." + }, + "notebookInfo": { + "readOnly": true, + "$ref": "#/definitions/NotebookResourceInfo", + "description": "The notebook info of Azure ML workspace." + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + }, + "tenantId": { + "description": "The tenant id associated with this workspace.", + "type": "string", + "readOnly": true + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "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" + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + } + } + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "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." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "gpus": { + "type": "integer", + "format": "int32", + "title": "Number of gPUs", + "description": "The number of gPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" + } + }, + "description": "Describes the properties of a VM size." + }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, + "VirtualMachineSizeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "QuotaBaseProperties": { + "properties": { + "id": { + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The properties for Quota update or retrieval." + }, + "QuotaUpdateParameters": { + "properties": { + "value": { + "description": "The list for update quota.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaBaseProperties" + } + }, + "location": { + "description": "Region of workspace quota to be updated.", + "type": "string" + } + }, + "description": "Quota update parameters." + }, + "UpdateWorkspaceQuotasResult": { + "properties": { + "value": { + "description": "The list of workspace quota update result.", + "items": { + "$ref": "#/definitions/UpdateWorkspaceQuotas" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The result of update workspace quota." + }, + "UpdateWorkspaceQuotas": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + }, + "status": { + "type": "string", + "readOnly": false, + "title": "Update Workspace Quota Status.", + "description": "Status of update workspace quota.", + "enum": [ + "Undefined", + "Success", + "Failure", + "InvalidQuotaBelowClusterMinimum", + "InvalidQuotaExceedsSubscriptionLimit", + "InvalidVMFamilyName", + "OperationNotSupportedForSku", + "OperationNotEnabledForRegion" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + }, + "description": "The properties for update Quota response." + }, + "ResourceName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Resource Name." + }, + "ResourceQuota": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "name": { + "$ref": "#/definitions/ResourceName", + "description": "Name of the resource.", + "readOnly": true + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The quota assigned to a resource." + }, + "ListWorkspaceQuotas": { + "properties": { + "value": { + "description": "The list of Workspace Quotas by VM Family", + "items": { + "$ref": "#/definitions/ResourceQuota" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The List WorkspaceQuotasByVMFamily operation response." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentities", + "description": "The user assigned identities associated with the resource." + } + }, + "description": "Identity for the resource." + }, + "UserAssignedIdentities": { + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + }, + "UserAssignedIdentity": { + "description": "User Assigned Identity", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the user assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The clientId(aka appId) of the user assigned identity." + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + }, + "notebookAccessKeys": { + "readOnly": true, + "$ref": "#/definitions/ListNotebookKeysResult" + } + } + }, + "NotebookAccessTokenResult": { + "type": "object", + "properties": { + "notebookResourceId": { + "readOnly": true, + "type": "string" + }, + "hostName": { + "readOnly": true, + "type": "string" + }, + "publicDns": { + "readOnly": true, + "type": "string" + }, + "accessToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "tokenType": { + "readOnly": true, + "type": "string" + }, + "expiresIn": { + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "refreshToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "scope": { + "readOnly": true, + "type": "string" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "createdOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was created." + }, + "modifiedOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was last modified." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "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 + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "agentVmSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "clusterPurpose": { + "description": "Intended usage of the cluster", + "type": "string", + "default": "FastProd", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ], + "x-ms-enum": { + "name": "ClusterPurpose", + "modelAsString": true + } + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + }, + "loadBalancerType": { + "description": "Load Balancer Type", + "type": "string", + "default": "PublicIp", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + } + }, + "loadBalancerSubnet": { + "description": "Load Balancer Subnet", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "ComputeInstance": { + "description": "An Azure Machine Learning compute instance.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "setupScripts": { + "description": "Details of customized scripts to execute for setting up the cluster.", + "$ref": "#/definitions/SetupScripts" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + }, + "schedules": { + "description": "The list of schedules to be applied on the compute instance.", + "$ref": "#/definitions/ComputeSchedules" + } + } + } + } + } + ], + "x-ms-discriminator-value": "ComputeInstance" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + "isNotebookInstanceCompute": { + "description": "Indicates whether this compute will be used for running notebooks.", + "type": "boolean" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + }, + "workspaceUrl": { + "description": "Workspace Url", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "SynapseSpark": { + "description": "A SynapseSpark compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "#/definitions/SynapseSparkPoolProperties" + } + ], + "x-ms-discriminator-value": "SynapseSpark" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + }, + "leafDomainLabel": { + "description": "Leaf domain label of public endpoint", + "type": "string" + }, + "overwriteExistingDomain": { + "description": "Indicates whether to overwrite existing domain label.", + "type": "boolean" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "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]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "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.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer", + "format": "int32" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "format": "int32", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ] + }, + "VirtualMachineImage": { + "type": "object", + "description": "Virtual Machine image for Windows AML Compute", + "properties": { + "id": { + "description": "Virtual Machine image path", + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings.", + "description": "Desired scale settings for the amlCompute." + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "ComputeNodesInformation": { + "type": "object", + "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + }, + "required": [ + "computeType" + ] + }, + "AmlComputeNodesInformation": { + "description": "Compute node information related to a AmlCompute.", + "allOf": [ + { + "$ref": "#/definitions/ComputeNodesInformation" + }, + { + "type": "object", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "privateIpAddress": { + "readOnly": true, + "type": "string", + "title": "Private IP address.", + "description": "Private IP address of the compute node." + }, + "publicIpAddress": { + "readOnly": true, + "type": "string", + "title": "Public IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + }, + "nodeState": { + "readOnly": true, + "type": "string", + "enum": [ + "idle", + "running", + "preparing", + "unusable", + "leaving", + "preempted" + ], + "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", + "x-ms-enum": { + "name": "nodeState", + "modelAsString": true + } + }, + "runId": { + "readOnly": true, + "type": "string", + "title": "Run ID.", + "description": "ID of the Experiment running on the node, if any else null." + } + }, + "x-ms-discriminator-value": "AmlCompute" + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "AmlCompute", + "ComputeInstance", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics", + "SynapseSpark" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "Sku": { + "description": "Sku of the resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the sku", + "type": "string" + }, + "tier": { + "description": "Tier of the sku like Basic or Enterprise", + "type": "string" + } + } + }, + "PrivateEndpointConnectionListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "description": "List of private endpoint connection associated with the specified workspace" + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + }, + "subnetArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Subnet resource that private endpoint links to" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "SharedPrivateLinkResource": { + "properties": { + "name": { + "description": "Unique name of the private link.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "properties": { + "privateLinkResourceId": { + "description": "The resource id that private link links to.", + "type": "string" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requestMessage": { + "description": "Request message.", + "type": "string" + }, + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "EncryptionProperty": { + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for the workspace.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "identity": { + "$ref": "#/definitions/IdentityForCmk", + "description": "The identity that will be used to access the key vault for encryption at rest." + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "status", + "keyVaultProperties" + ], + "type": "object" + }, + "KeyVaultProperties": { + "properties": { + "keyVaultArmId": { + "description": "The ArmId of the keyVault where the customer owned encryption key is present.", + "type": "string" + }, + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "identityClientId": { + "description": "For future use - The client id of the identity which will be used to access key vault.", + "type": "string" + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ], + "type": "object" + }, + "IdentityForCmk": { + "description": "Identity that will be used to access key vault for encryption at rest", + "type": "object", + "properties": { + "userAssignedIdentity": { + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", + "type": "string" + } + } + }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, + "ComputeInstanceSshSettings": { + "type": "object", + "description": "Specifies policy and settings for SSH access.", + "properties": { + "sshPublicAccess": { + "type": "string", + "default": "Disabled", + "title": "Access policy for SSH", + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "sshPublicAccess", + "modelAsString": true + } + }, + "adminUserName": { + "type": "string", + "readOnly": true, + "description": "Describes the admin user name." + }, + "sshPort": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "Describes the port for connecting through SSH." + }, + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + } + } + }, + "ComputeInstanceState": { + "type": "string", + "description": "Current state of an ComputeInstance.", + "enum": [ + "Creating", + "CreateFailed", + "Deleting", + "Running", + "Restarting", + "JobRunning", + "SettingUp", + "SetupFailed", + "Starting", + "Stopped", + "Stopping", + "UserSettingUp", + "UserSetupFailed", + "Unknown", + "Unusable" + ], + "x-ms-enum": { + "name": "ComputeInstanceState", + "modelAsString": true + } + }, + "ComputeInstanceLastOperation": { + "type": "object", + "description": "The last operation on ComputeInstance.", + "properties": { + "operationName": { + "type": "string", + "description": "Name of the last operation.", + "enum": [ + "Create", + "Start", + "Stop", + "Restart", + "Reimage", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true + } + }, + "operationTime": { + "type": "string", + "format": "date-time", + "description": "Time of the last operation." + }, + "operationStatus": { + "type": "string", + "description": "Operation status.", + "enum": [ + "InProgress", + "Succeeded", + "CreateFailed", + "StartFailed", + "StopFailed", + "RestartFailed", + "ReimageFailed", + "DeleteFailed" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": true + } + } + } + }, + "ComputeInstanceApplication": { + "type": "object", + "description": "Defines an Aml Instance application and its connectivity endpoint URI.", + "properties": { + "displayName": { + "type": "string", + "description": "Name of the ComputeInstance application." + }, + "endpointUri": { + "type": "string", + "description": "Application' endpoint URI." + } + } + }, + "ComputeInstanceConnectivityEndpoints": { + "type": "object", + "readOnly": true, + "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", + "properties": { + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "Public IP Address of this ComputeInstance." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." + } + } + }, + "ComputeInstanceCreatedBy": { + "type": "object", + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Name of the user." + }, + "userOrgId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies user' Azure Active Directory organization." + }, + "userId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies the user within his/her organization." + } + } + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "$ref": "#/definitions/AssignedUser", + "title": "Assigned User.", + "description": "A user explicitly assigned to a personal compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "AssignedUser": { + "type": "object", + "description": "A user that can be assigned to a compute instance.", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ] + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "$ref": "#/definitions/CosmosDbSettings", + "description": "The settings for the service managed cosmosdb account." + } + } + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "type": "integer", + "format": "int32", + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "NotebookResourceInfo": { + "type": "object", + "properties": { + "fqdn": { + "type": "string" + }, + "resourceId": { + "type": "string", + "description": "the data plane resourceId that used to initialize notebook component" + }, + "notebookPreparationError": { + "$ref": "#/definitions/NotebookPreparationError", + "description": "The error that occurs when preparing notebook." + } + } + }, + "NotebookPreparationError": { + "type": "object", + "x-nullable": true, + "properties": { + "errorMessage": { + "type": "string" + }, + "statusCode": { + "format": "int32", + "type": "integer" + } + } + }, + "ListNotebookKeysResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "secondaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "ListStorageAccountKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "PaginatedWorkspaceConnectionsList": { + "type": "object", + "description": "Paginated list of Workspace connection objects.", + "properties": { + "value": { + "type": "array", + "description": "An array of Workspace connection objects.", + "items": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "WorkspaceConnection": { + "x-ms-azure-resource": true, + "description": "Workspace connection.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the workspace connection.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of workspace connection.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionProps": { + "type": "object", + "description": "Workspace Connection specific properties.", + "properties": { + "category": { + "description": "Category of the workspace connection.", + "type": "string" + }, + "target": { + "description": "Target of the workspace connection.", + "type": "string" + }, + "authType": { + "description": "Authorization type of the workspace connection.", + "type": "string" + }, + "value": { + "description": "Value details of the workspace connection.", + "type": "string" + }, + "valueFormat": { + "description": "format for the workspace connection value", + "type": "string", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "ValueFormat", + "modelAsString": true + } + } + } + }, + "SetupScripts": { + "type": "object", + "description": "Details of customized scripts to execute for setting up the cluster.", + "properties": { + "scripts": { + "description": "Customized setup scripts", + "$ref": "#/definitions/ScriptsToExecute" + } + } + }, + "ScriptsToExecute": { + "type": "object", + "description": "Customized setup scripts", + "properties": { + "startupScript": { + "description": "Script that's run every time the machine starts.", + "$ref": "#/definitions/ScriptReference" + }, + "creationScript": { + "description": "Script that's run only once during provision of the compute.", + "$ref": "#/definitions/ScriptReference" + } + } + }, + "ScriptReference": { + "type": "object", + "description": "Script reference", + "properties": { + "scriptSource": { + "description": "The storage source of the script: inline, workspace.", + "type": "string" + }, + "scriptData": { + "description": "The location of scripts in the mounted volume.", + "type": "string" + }, + "scriptArguments": { + "description": "Optional command line arguments passed to the script to run.", + "type": "string" + }, + "timeout": { + "description": "Optional time period passed to timeout command.", + "type": "string" + } + } + }, + "AutoScaleProperties": { + "type": "object", + "description": "Auto scale properties", + "properties": { + "minNodeCount": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "maxNodeCount": { + "format": "int32", + "type": "integer" + } + } + }, + "AutoPauseProperties": { + "type": "object", + "description": "Auto pause properties", + "properties": { + "delayInMinutes": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + } + } + }, + "SynapseSparkPoolProperties": { + "type": "object", + "description": "Properties specific to Synapse Spark pools.", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "autoScaleProperties": { + "description": "Auto scale properties.", + "$ref": "#/definitions/AutoScaleProperties" + }, + "autoPauseProperties": { + "description": "Auto pause properties.", + "$ref": "#/definitions/AutoPauseProperties" + }, + "sparkVersion": { + "description": "Spark version.", + "type": "string" + }, + "nodeCount": { + "description": "The number of compute nodes currently assigned to the compute.", + "type": "integer", + "format": "int32" + }, + "nodeSize": { + "description": "Node size.", + "type": "string" + }, + "nodeSizeFamily": { + "description": "Node size family.", + "type": "string" + }, + "subscriptionId": { + "description": "Azure subscription identifier.", + "type": "string" + }, + "resourceGroup": { + "description": "Name of the resource group in which workspace is located.", + "type": "string" + }, + "workspaceName": { + "description": "Name of Azure Machine Learning workspace.", + "type": "string" + }, + "poolName": { + "description": "Pool name.", + "type": "string" + } + } + } + } + }, + "ComputeStartStopSchedule": { + "type": "object", + "description": "Compute start stop schedule properties", + "properties": { + "id": { + "description": "Schedule id.", + "readOnly": true, + "type": "string" + }, + "provisioningStatus": { + "type": "string", + "enum": [ + "Completed", + "Provisioning", + "Failed" + ], + "x-ms-enum": { + "name": "provisioningStatus", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of schedule." + }, + "status": { + "$ref": "#/definitions/ScheduleStatus" + }, + "triggerType": { + "$ref": "#/definitions/TriggerType" + }, + "action": { + "$ref": "#/definitions/ComputePowerAction" + }, + "recurrence": { + "$ref": "#/definitions/Recurrence" + }, + "cron": { + "$ref": "#/definitions/Cron" + } + } + }, + "ScheduleStatus": { + "type": "string", + "description": "The schedule status.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ScheduleStatus", + "modelAsString": true + } + }, + "ScheduleType": { + "type": "string", + "description": "The schedule type.", + "enum": [ + "ComputeStartStop" + ], + "x-ms-enum": { + "name": "ScheduleType", + "modelAsString": true + } + }, + "ComputePowerAction": { + "type": "string", + "description": "The compute power action.", + "enum": [ + "Start", + "Stop" + ], + "x-ms-enum": { + "name": "ComputePowerAction", + "modelAsString": true + } + }, + "TriggerType": { + "type": "string", + "description": "The schedule trigger type.", + "enum": [ + "Recurrence", + "Cron" + ], + "x-ms-enum": { + "name": "TriggerType", + "modelAsString": true + } + }, + "RecurrenceFrequency": { + "type": "string", + "description": "The recurrence frequency.", + "enum": [ + "NotSpecified", + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ], + "x-ms-enum": { + "name": "RecurrenceFrequency", + "modelAsString": true + } + }, + "RecurrenceSchedule": { + "type": "object", + "description": "The recurrence schedule", + "properties": { + "minutes": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "The minutes." + }, + "hours": { + "type": "array", + "items": { + "type": "integer", + "format": "int32" + }, + "description": "The hours." + }, + "weekDays": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": false + } + }, + "description": "The days of the week." + } + } + }, + "Recurrence": { + "type": "object", + "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", + "properties": { + "frequency": { + "$ref": "#/definitions/RecurrenceFrequency" + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The interval." + }, + "startTime": { + "type": "string", + "description": "The start time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + }, + "schedule": { + "$ref": "#/definitions/RecurrenceSchedule" + } + } + }, + "Cron": { + "type": "object", + "description": "The workflow trigger cron for ComputeStartStop schedule type.", + "properties": { + "startTime": { + "type": "string", + "description": "The start time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + }, + "expression": { + "type": "string", + "description": "The cron expression." + } + } + }, + "ComputeSchedules": { + "type": "object", + "description": "The list of schedules to be applied on the computes", + "properties": { + "computeStartStop": { + "type": "array", + "items": { + "$ref": "#/definitions/ComputeStartStopSchedule" + }, + "description": "The list of compute start stop schedules to be applied." + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json new file mode 100644 index 000000000000..1b4f163670f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json @@ -0,0 +1,9515 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": { + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists Batch inference endpoint in the workspace.", + "operationId": "BatchEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}": { + "delete": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Delete Batch Inference Endpoint.", + "operationId": "BatchEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/delete.json" + } + } + }, + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Gets a batch inference endpoint by name.", + "operationId": "BatchEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch Endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Update a batch inference endpoint.", + "operationId": "BatchEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Mutable batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialBatchEndpointPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Update Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/update.json" + } + } + }, + "put": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Creates a batch inference endpoint.", + "operationId": "BatchEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Lists Batch inference deployments in the workspace.", + "operationId": "BatchDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top of list.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Batch Deployment.": { + "$ref": "./examples/BatchDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "BatchDeployment" + ], + "summary": "Delete Batch Inference deployment.", + "operationId": "BatchDeployments_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference deployment identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Batch Deployment.": { + "$ref": "./examples/BatchDeployment/delete.json" + } + } + }, + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Gets a batch inference deployment by id.", + "operationId": "BatchDeployments_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch deployments.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Batch Deployment.": { + "$ref": "./examples/BatchDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchDeployment" + ], + "summary": "Update a batch inference deployment.", + "operationId": "BatchDeployments_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialBatchDeploymentPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Update Batch Deployment.": { + "$ref": "./examples/BatchDeployment/update.json" + } + } + }, + "put": { + "tags": [ + "BatchDeployment" + ], + "summary": "Creates/updates a batch inference deployment.", + "operationId": "BatchDeployments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Batch Deployment.": { + "$ref": "./examples/BatchDeployment/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys": { + "post": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists batch Inference Endpoint keys.", + "operationId": "BatchEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + } + }, + "x-ms-examples": { + "ListKeys Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/listKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes": { + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "List containers.", + "operationId": "CodeContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Code Container.": { + "$ref": "./examples/CodeContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}": { + "delete": { + "tags": [ + "CodeContainer" + ], + "summary": "Delete container.", + "operationId": "CodeContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Code Container.": { + "$ref": "./examples/CodeContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "Get container.", + "operationId": "CodeContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "x-ms-examples": { + "Get Code Container.": { + "$ref": "./examples/CodeContainer/get.json" + } + } + }, + "put": { + "tags": [ + "CodeContainer" + ], + "summary": "Create or update container.", + "operationId": "CodeContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Code Container.": { + "$ref": "./examples/CodeContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions": { + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "List versions.", + "operationId": "CodeVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Code Version.": { + "$ref": "./examples/CodeVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}": { + "delete": { + "tags": [ + "CodeVersion" + ], + "summary": "Delete version.", + "operationId": "CodeVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Code Version.": { + "$ref": "./examples/CodeVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "Get version.", + "operationId": "CodeVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "x-ms-examples": { + "Get Code Version.": { + "$ref": "./examples/CodeVersion/get.json" + } + } + }, + "put": { + "tags": [ + "CodeVersion" + ], + "summary": "Create or update version.", + "operationId": "CodeVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Code Version.": { + "$ref": "./examples/CodeVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data": { + "get": { + "tags": [ + "DataContainer" + ], + "summary": "List containers.", + "operationId": "DataContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Data Container.": { + "$ref": "./examples/DataContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}": { + "delete": { + "tags": [ + "DataContainer" + ], + "summary": "Delete container.", + "operationId": "DataContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Data Container.": { + "$ref": "./examples/DataContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "DataContainer" + ], + "summary": "Get container.", + "operationId": "DataContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + } + }, + "x-ms-examples": { + "Get Data Container.": { + "$ref": "./examples/DataContainer/get.json" + } + } + }, + "put": { + "tags": [ + "DataContainer" + ], + "summary": "Create or update container.", + "operationId": "DataContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Data Container.": { + "$ref": "./examples/DataContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions": { + "get": { + "tags": [ + "DataVersion" + ], + "summary": "List data versions.", + "operationId": "DataVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Data name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Data Version.": { + "$ref": "./examples/DataVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}": { + "delete": { + "tags": [ + "DataVersion" + ], + "summary": "Delete version.", + "operationId": "DataVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Data Version.": { + "$ref": "./examples/DataVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "DataVersion" + ], + "summary": "Get version.", + "operationId": "DataVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionResource" + } + } + }, + "x-ms-examples": { + "Get Data Version.": { + "$ref": "./examples/DataVersion/get.json" + } + } + }, + "put": { + "tags": [ + "DataVersion" + ], + "summary": "Create or update version.", + "operationId": "DataVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DataVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DataVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DataVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Data Version.": { + "$ref": "./examples/DataVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": { + "get": { + "tags": [ + "Datastore" + ], + "summary": "List datastores.", + "operationId": "Datastores_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "count", + "description": "Maximum number of results to return.", + "type": "integer", + "format": "int32", + "default": 30 + }, + { + "in": "query", + "name": "isDefault", + "description": "Filter down to the workspace default datastore.", + "type": "boolean" + }, + { + "in": "query", + "name": "names", + "description": "Names of datastores to return.", + "type": "array", + "items": { + "type": "string" + } + }, + { + "in": "query", + "name": "searchText", + "description": "Text to search for in the datastore names.", + "type": "string" + }, + { + "in": "query", + "name": "orderBy", + "description": "Order by property (createdtime | modifiedtime | name).", + "type": "string" + }, + { + "in": "query", + "name": "orderByAsc", + "description": "Order by property in ascending order.", + "type": "boolean", + "default": false + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastorePropertiesResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List datastores.": { + "$ref": "./examples/Datastore/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": { + "delete": { + "tags": [ + "Datastore" + ], + "summary": "Delete datastore.", + "operationId": "Datastores_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete datastore.": { + "$ref": "./examples/Datastore/delete.json" + } + } + }, + "get": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore.", + "operationId": "Datastores_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastorePropertiesResource" + } + } + }, + "x-ms-examples": { + "Get datastore.": { + "$ref": "./examples/Datastore/get.json" + } + } + }, + "put": { + "tags": [ + "Datastore" + ], + "summary": "Create or update datastore.", + "operationId": "Datastores_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "skipValidation", + "description": "Flag to skip validation.", + "type": "boolean", + "default": false + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Datastore entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DatastorePropertiesResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastorePropertiesResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DatastorePropertiesResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate datastore (AzureBlob w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Postgre SQL w/ SQL Admin).": { + "$ref": "./examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure SQL Database w/ SQL Admin).": { + "$ref": "./examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets": { + "post": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore secrets.", + "operationId": "Datastores_ListSecrets", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "description": "Base definition for datastore secrets.", + "$ref": "#/definitions/DatastoreSecrets" + } + } + }, + "x-ms-examples": { + "Get datastore secrets.": { + "$ref": "./examples/Datastore/listSecrets.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments": { + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "List containers.", + "operationId": "EnvironmentContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Environment Container.": { + "$ref": "./examples/EnvironmentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}": { + "delete": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Delete container.", + "operationId": "EnvironmentContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Environment Container.": { + "$ref": "./examples/EnvironmentContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Get container.", + "operationId": "EnvironmentContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "x-ms-examples": { + "Get Environment Container.": { + "$ref": "./examples/EnvironmentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Create or update container.", + "operationId": "EnvironmentContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Environment Container.": { + "$ref": "./examples/EnvironmentContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions": { + "get": { + "tags": [ + "EnvironmentSpecification" + ], + "summary": "List versions.", + "operationId": "EnvironmentSpecificationVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Environment Specification Version.": { + "$ref": "./examples/EnvironmentSpecificationVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}": { + "delete": { + "tags": [ + "EnvironmentSpecification" + ], + "summary": "Delete version.", + "operationId": "EnvironmentSpecificationVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Environment Specification Version.": { + "$ref": "./examples/EnvironmentSpecificationVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentSpecification" + ], + "summary": "Get version.", + "operationId": "EnvironmentSpecificationVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResource" + } + } + }, + "x-ms-examples": { + "Get Environment Specification Version.": { + "$ref": "./examples/EnvironmentSpecificationVersion/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentSpecification" + ], + "summary": "Creates or updates an EnvironmentSpecificationVersion.", + "operationId": "EnvironmentSpecificationVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of EnvironmentSpecificationVersion.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version of EnvironmentSpecificationVersion.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Definition of EnvironmentSpecificationVersion.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Environment Specification Version.": { + "$ref": "./examples/EnvironmentSpecificationVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { + "get": { + "tags": [ + "Job" + ], + "summary": "Lists Jobs in the workspace.", + "operationId": "Jobs_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "jobType", + "description": "Type of job to be returned.", + "type": "string" + }, + { + "in": "query", + "name": "tags", + "description": "Tags for job to be returned.", + "type": "string" + }, + { + "in": "query", + "name": "tag", + "description": "Jobs returned will have this tag key.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Command Job.": { + "$ref": "./examples/Job/CommandJob/list.json" + }, + "List Sweep Job.": { + "$ref": "./examples/Job/SweepJob/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { + "delete": { + "tags": [ + "Job" + ], + "summary": "Deletes a Job (asynchronous).", + "operationId": "Jobs_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Job.": { + "$ref": "./examples/Job/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Job" + ], + "summary": "Gets a Job by name/id.", + "operationId": "Jobs_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "x-ms-examples": { + "Get Command Job.": { + "$ref": "./examples/Job/CommandJob/get.json" + }, + "Get Sweep Job.": { + "$ref": "./examples/Job/SweepJob/get.json" + } + } + }, + "put": { + "tags": [ + "Job" + ], + "summary": "Creates and executes a Job.", + "operationId": "Jobs_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Job definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Command Job.": { + "$ref": "./examples/Job/CommandJob/createOrUpdate.json" + }, + "CreateOrUpdate Sweep Job.": { + "$ref": "./examples/Job/SweepJob/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel": { + "post": { + "tags": [ + "Job" + ], + "summary": "Cancels a Job.", + "operationId": "Jobs_Cancel", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + } + }, + "x-ms-examples": { + "Cancel Job.": { + "$ref": "./examples/Job/cancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs": { + "get": { + "tags": [ + "LabelingJob" + ], + "summary": "Lists labeling jobs in the workspace.", + "operationId": "LabelingJobs_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "count", + "description": "Number of labeling jobs to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Labeling Job.": { + "$ref": "./examples/LabelingJob/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { + "delete": { + "tags": [ + "LabelingJob" + ], + "summary": "Delete a labeling job.", + "operationId": "LabelingJobs_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Labeling Job.": { + "$ref": "./examples/LabelingJob/delete.json" + } + } + }, + "get": { + "tags": [ + "LabelingJob" + ], + "summary": "Gets a labeling job by name/id.", + "operationId": "LabelingJobs_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "includeJobInstructions", + "description": "Boolean value to indicate whether to include JobInstructions in response.", + "type": "boolean" + }, + { + "in": "query", + "name": "includeLabelCategories", + "description": "Boolean value to indicate Whether to include LabelCategories in response.", + "type": "boolean" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + } + }, + "x-ms-examples": { + "Get Labeling Job.": { + "$ref": "./examples/LabelingJob/get.json" + } + } + }, + "put": { + "tags": [ + "LabelingJob" + ], + "summary": "Creates or updates a labeling job (asynchronous).", + "operationId": "LabelingJobs_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "LabelingJob definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/LabelingJobResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Labeling Job.": { + "$ref": "./examples/LabelingJob/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Export labels from a labeling job (asynchronous).", + "operationId": "LabelingJobs_ExportLabels", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "The export summary.", + "required": true, + "schema": { + "$ref": "#/definitions/ExportSummary" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExportSummary" + } + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "ExportLabels Labeling Job.": { + "$ref": "./examples/LabelingJob/exportLabels.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Pause a labeling job.", + "operationId": "LabelingJobs_Pause", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + } + }, + "x-ms-examples": { + "Pause Labeling Job.": { + "$ref": "./examples/LabelingJob/pause.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume": { + "post": { + "tags": [ + "LabelingJob" + ], + "summary": "Resume a labeling job (asynchronous).", + "operationId": "LabelingJobs_Resume", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the LabelingJob.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Resume Labeling Job.": { + "$ref": "./examples/LabelingJob/resume.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "List model containers.", + "operationId": "ModelContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "count", + "description": "Maximum number of results to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Model Container.": { + "$ref": "./examples/ModelContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { + "delete": { + "tags": [ + "ModelContainer" + ], + "summary": "Delete container.", + "operationId": "ModelContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Model Container.": { + "$ref": "./examples/ModelContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "Get container.", + "operationId": "ModelContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "x-ms-examples": { + "Get Model Container.": { + "$ref": "./examples/ModelContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ModelContainer" + ], + "summary": "Create or update container.", + "operationId": "ModelContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Model Container.": { + "$ref": "./examples/ModelContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "List model versions.", + "operationId": "ModelVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Model name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "version", + "description": "Model version.", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "Model description.", + "type": "string" + }, + { + "in": "query", + "name": "offset", + "description": "Number of initial results to skip.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Model Version.": { + "$ref": "./examples/ModelVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { + "delete": { + "tags": [ + "ModelVersion" + ], + "summary": "Delete version.", + "operationId": "ModelVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Model Version.": { + "$ref": "./examples/ModelVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "Get version.", + "operationId": "ModelVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "x-ms-examples": { + "Get Model Version.": { + "$ref": "./examples/ModelVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ModelVersion" + ], + "summary": "Create or update version.", + "operationId": "ModelVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Model Version.": { + "$ref": "./examples/ModelVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints": { + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "List Online Endpoints.", + "operationId": "OnlineEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "name", + "description": "Name of the endpoint.", + "type": "string" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "computeType", + "description": "EndpointComputeType to be filtered by.", + "type": "string", + "enum": [ + "Managed", + "K8S", + "AzureMLCompute" + ], + "x-ms-enum": { + "name": "EndpointComputeType", + "modelAsString": true + } + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "tags", + "description": "A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", + "type": "string" + }, + { + "in": "query", + "name": "orderBy", + "description": "The option to order the response.", + "type": "string", + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { + "delete": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Delete Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "200": { + "description": "Success" + } + }, + "x-ms-examples": { + "Delete Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Get Online Endpoint.", + "operationId": "OnlineEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialOnlineEndpointPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Update Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/update.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "put": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Create or update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "List Inference Endpoint Deployments.", + "operationId": "OnlineDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top of list.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Online Deployments.": { + "$ref": "./examples/OnlineDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Delete Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Delete Online Deployment.": { + "$ref": "./examples/OnlineDeployment/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Get Inference Deployment Deployment.", + "operationId": "OnlineDeployments_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" + }, + "Get K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Update Online Deployment (asynchronous).", + "operationId": "OnlineDeployments_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialOnlineDeploymentPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Update Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" + }, + "Update K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/update.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "put": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Create or update Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Inference Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" + }, + "CreateOrUpdate K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": { + "post": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Polls an Endpoint operation.", + "operationId": "OnlineDeployments_GetLogs", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The name and identifier for the endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "The request containing parameters for retrieving logs.", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentLogsRequest" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentLogs" + } + } + }, + "x-ms-examples": { + "Get Online Deployment Logs.": { + "$ref": "./examples/OnlineDeployment/getLogs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", + "operationId": "OnlineEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + } + }, + "x-ms-examples": { + "ListKeys Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/listKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", + "operationId": "OnlineEndpoints_RegenerateKeys", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "RegenerateKeys request .", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateEndpointKeysRequest" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "RegenerateKeys Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/regenerateKeys.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.", + "operationId": "OnlineEndpoints_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthToken" + } + } + }, + "x-ms-examples": { + "GetToken Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/getToken.json" + } + } + } + } + }, + "definitions": { + "AccountKeyDatastoreCredentials": { + "description": "Account key datastore credentials configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "Storage account secrets.", + "$ref": "#/definitions/AccountKeyDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AccountKeyDatastoreSecrets": { + "description": "Datastore account key secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "key": { + "description": "Storage account key.", + "type": "string" + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AmlToken": { + "description": "AML Token identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "x-ms-discriminator-value": "AMLToken", + "additionalProperties": false + }, + "AssetReferenceBase": { + "description": "Base definition for asset references.", + "required": [ + "referenceType" + ], + "type": "object", + "properties": { + "referenceType": { + "description": "Specifies the type of asset reference.", + "$ref": "#/definitions/ReferenceType" + } + }, + "discriminator": "referenceType" + }, + "AutoScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "properties": { + "pollingInterval": { + "format": "duration", + "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", + "type": "string" + }, + "targetUtilizationPercentage": { + "format": "int32", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Auto", + "additionalProperties": false + }, + "AzureBlobContents": { + "description": "Azure Blob datastore configuration.", + "required": [ + "accountName", + "containerName", + "credentials", + "endpoint", + "protocol" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "containerName": { + "description": "Storage account container name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureBlob", + "additionalProperties": false + }, + "AzureDataLakeGen1Contents": { + "description": "Azure Data Lake Gen1 datastore configuration.", + "required": [ + "credentials", + "storeName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "storeName": { + "description": "Azure Data Lake store name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen1", + "additionalProperties": false + }, + "AzureDataLakeGen2Contents": { + "description": "Azure Data Lake Gen2 datastore configuration.", + "required": [ + "accountName", + "containerName", + "credentials", + "endpoint", + "protocol" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "containerName": { + "description": "Storage account container name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen2", + "additionalProperties": false + }, + "AzureFileContents": { + "description": "Azure File datastore configuration.", + "required": [ + "accountName", + "containerName", + "credentials", + "endpoint", + "protocol" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "containerName": { + "description": "Storage account container name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureFile", + "additionalProperties": false + }, + "AzurePostgreSqlContents": { + "description": "Azure Postgre SQL datastore configuration.", + "required": [ + "credentials", + "databaseName", + "endpoint", + "portNumber", + "serverName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "databaseName": { + "description": "Azure SQL database name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "enableSSL": { + "description": "Whether the Azure PostgreSQL server requires SSL.", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the database.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "database.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "portNumber": { + "format": "int32", + "description": "Azure SQL server port.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "serverName": { + "description": "Azure SQL server name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzurePostgreSql", + "additionalProperties": false + }, + "AzureSqlDatabaseContents": { + "description": "Azure SQL Database datastore configuration.", + "required": [ + "credentials", + "databaseName", + "endpoint", + "portNumber", + "serverName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "databaseName": { + "description": "Azure SQL database name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the database.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "database.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "portNumber": { + "format": "int32", + "description": "Azure SQL server port.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "serverName": { + "description": "Azure SQL server name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureSqlDatabase", + "additionalProperties": false + }, + "BanditPolicy": { + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "slackAmount": { + "format": "float", + "type": "number" + }, + "slackFactor": { + "format": "float", + "type": "number" + } + }, + "x-ms-discriminator-value": "Bandit", + "additionalProperties": false + }, + "BatchDeployment": { + "description": "Batch inference settings per deployment.", + "type": "object", + "properties": { + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration" + }, + "compute": { + "description": "Configuration for compute binding.", + "$ref": "#/definitions/ComputeConfiguration" + }, + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "errorThreshold": { + "format": "int32", + "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", + "type": "integer" + }, + "loggingLevel": { + "description": "Logging level for batch inference operation.", + "$ref": "#/definitions/BatchLoggingLevel" + }, + "miniBatchSize": { + "format": "int64", + "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", + "type": "integer" + }, + "model": { + "description": "Reference to the model asset for the endpoint deployment.", + "$ref": "#/definitions/AssetReferenceBase" + }, + "outputConfiguration": { + "description": "Output configuration for the batch inference operation.", + "$ref": "#/definitions/BatchOutputConfiguration" + }, + "partitionKeys": { + "description": "Partition keys list used for Named partitioning.", + "type": "array", + "items": { + "type": "string" + } + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "retrySettings": { + "description": "Retry Settings for the batch inference operation.", + "$ref": "#/definitions/BatchRetrySettings" + } + }, + "additionalProperties": false + }, + "BatchDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/BatchDeployment" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "BatchDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "additionalProperties": false + }, + "BatchEndpoint": { + "description": "Batch endpoint configuration.", + "type": "object", + "properties": { + "authMode": { + "description": "Enum to determine endpoint authentication mode.", + "$ref": "#/definitions/EndpointAuthMode" + }, + "description": { + "description": "Description of the inference endpoint.", + "type": "string" + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "traffic": { + "description": "Traffic rules on how the traffic will be routed across deployments.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "BatchEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/BatchEndpoint" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "BatchEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "BatchLoggingLevel": { + "description": "Log verbosity for batch inferencing.\r\nIncreasing verbosity order for logging is : Warning, Info and Debug.\r\nThe default value is Info.", + "enum": [ + "Info", + "Warning", + "Debug" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchLoggingLevel", + "modelAsString": true + }, + "additionalProperties": false + }, + "BatchOutputAction": { + "description": "Enum to determine how batch inferencing will handle output", + "enum": [ + "SummaryOnly", + "AppendRow" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchOutputAction", + "modelAsString": true + }, + "additionalProperties": false + }, + "BatchOutputConfiguration": { + "description": "Batch inference output configuration.", + "type": "object", + "properties": { + "appendRowFileName": { + "description": "Customized output file name for append_row output action.", + "type": "string" + }, + "outputAction": { + "description": "Indicates how the output will be organized.", + "$ref": "#/definitions/BatchOutputAction" + } + }, + "additionalProperties": false + }, + "BatchRetrySettings": { + "description": "Retry settings for a batch inference operation.", + "type": "object", + "properties": { + "maxRetries": { + "format": "int32", + "description": "Maximum retry count for a mini-batch", + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", + "type": "string" + } + }, + "additionalProperties": false + }, + "CertificateDatastoreCredentials": { + "description": "Certificate datastore credentials configuration.", + "required": [ + "clientId", + "tenantId", + "thumbprint" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string" + }, + "clientId": { + "format": "uuid", + "description": "Service principal client ID.", + "type": "string" + }, + "resourceUri": { + "description": "Resource the service principal has access to.", + "type": "string" + }, + "secrets": { + "description": "Service principal secrets.", + "$ref": "#/definitions/CertificateDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "ID of the tenant to which the service principal belongs.", + "type": "string" + }, + "thumbprint": { + "description": "Thumbprint of the certificate used for authentication.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "CertificateDatastoreSecrets": { + "description": "Datastore certificate secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "certificate": { + "description": "Service principal certificate.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "CocoExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "containerName": { + "description": "The container name to which the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "snapshotPath": { + "description": "The output path where the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-discriminator-value": "Coco", + "additionalProperties": false + }, + "CodeConfiguration": { + "description": "Configuration for a scoring code asset.", + "required": [ + "scoringScript" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "scoringScript": { + "description": "The script to execute on startup. eg. \"score.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeContainer": { + "description": "Container for code asset versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "CodeContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/CodeContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeContainerResourceArmPaginatedResult": { + "description": "A paginated list of CodeContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "additionalProperties": false + }, + "CodeVersion": { + "description": "Code asset version details.", + "required": [ + "path" + ], + "type": "object", + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "CodeVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/CodeVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeVersionResourceArmPaginatedResult": { + "description": "A paginated list of CodeVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "additionalProperties": false + }, + "CommandJob": { + "description": "Command job definition.", + "required": [ + "command", + "compute" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "command": { + "description": "The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "compute": { + "description": "Compute binding for the job.", + "$ref": "#/definitions/ComputeConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "experimentName": { + "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "identity": { + "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null.\r\nDefaults to AmlToken if null.", + "$ref": "#/definitions/IdentityConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputDataBindings": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InputDataBinding" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "output": { + "description": "Location of the job output logs and artifacts.", + "$ref": "#/definitions/JobOutput", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "outputDataBindings": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/OutputDataBinding" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "parameters": { + "description": "Input parameters.", + "type": "object", + "additionalProperties": {}, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "priority": { + "format": "int32", + "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "status": { + "description": "Status of the job.", + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Command", + "additionalProperties": false + }, + "ComputeConfiguration": { + "description": "Configuration for compute binding.", + "type": "object", + "properties": { + "instanceCount": { + "format": "int32", + "description": "Number of instances or nodes.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "instanceType": { + "description": "SKU type to run on.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "isLocal": { + "description": "Set to true for jobs running on local compute.", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "location": { + "description": "Location for virtual cluster run.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "Additional properties.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "target": { + "description": "ARM resource ID of the compute resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "ContainerType": { + "enum": [ + "StorageInitializer", + "InferenceServer" + ], + "type": "string", + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ContentsType": { + "description": "Enum to determine the datastore contents type.", + "enum": [ + "AzureBlob", + "AzureDataLakeGen1", + "AzureDataLakeGen2", + "AzureFile", + "AzureMySql", + "AzurePostgreSql", + "AzureSqlDatabase", + "GlusterFs" + ], + "type": "string", + "x-ms-enum": { + "name": "ContentsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "CredentialsType": { + "description": "Enum to determine the datastore credentials type.", + "enum": [ + "AccountKey", + "Certificate", + "None", + "Sas", + "ServicePrincipal", + "SqlAdmin" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "CsvExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "containerName": { + "description": "The container name to which the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "snapshotPath": { + "description": "The output path where the labels will be exported.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-discriminator-value": "CSV", + "additionalProperties": false + }, + "DataBindingMode": { + "description": "Describes how the data should be attached to the container.", + "enum": [ + "Mount", + "Download", + "Upload" + ], + "type": "string", + "x-ms-enum": { + "name": "DataBindingMode", + "modelAsString": true + }, + "additionalProperties": false + }, + "DataContainer": { + "description": "Container for data asset versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "DataContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/DataContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DataContainerResourceArmPaginatedResult": { + "description": "A paginated list of DataContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type DataContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/DataContainerResource" + } + } + }, + "additionalProperties": false + }, + "DataPathAssetReference": { + "description": "Reference to an asset via its path in a datastore.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string" + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "type": "string" + } + }, + "x-ms-discriminator-value": "DataPath", + "additionalProperties": false + }, + "DataVersion": { + "description": "Data asset version details.", + "required": [ + "path" + ], + "type": "object", + "properties": { + "datasetType": { + "description": "The Format of dataset.", + "$ref": "#/definitions/DatasetType" + }, + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "DataVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/DataVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DataVersionResourceArmPaginatedResult": { + "description": "A paginated list of DataVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type DataVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/DataVersionResource" + } + } + }, + "additionalProperties": false + }, + "DatasetExportSummary": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ExportSummary" + } + ], + "properties": { + "labeledAssetName": { + "description": "The unique name of the labeled data asset.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-discriminator-value": "Dataset", + "additionalProperties": false + }, + "DatasetType": { + "enum": [ + "Simple", + "Dataflow" + ], + "type": "string", + "x-ms-enum": { + "name": "DatasetType", + "modelAsString": true + }, + "additionalProperties": false + }, + "DatastoreContents": { + "description": "Base definition for datastore contents configuration.", + "required": [ + "contentsType" + ], + "type": "object", + "properties": { + "contentsType": { + "description": "Storage type backing the datastore.", + "$ref": "#/definitions/ContentsType" + } + }, + "discriminator": "contentsType" + }, + "DatastoreCredentials": { + "description": "Base definition for datastore credentials.", + "required": [ + "credentialsType" + ], + "type": "object", + "properties": { + "credentialsType": { + "description": "Credential type used to authentication with storage.", + "$ref": "#/definitions/CredentialsType" + } + }, + "discriminator": "credentialsType" + }, + "DatastoreProperties": { + "description": "Datastore definition.", + "required": [ + "contents" + ], + "type": "object", + "properties": { + "contents": { + "description": "Reference to the datastore storage contents.", + "$ref": "#/definitions/DatastoreContents" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "hasBeenValidated": { + "description": "Whether the service has validated access to the datastore with the provided credentials.", + "type": "boolean", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "isDefault": { + "description": "Whether this datastore is the default for the workspace.", + "type": "boolean" + }, + "linkedInfo": { + "description": "Information about the datastore origin, if linked.", + "$ref": "#/definitions/LinkedInfo" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "DatastorePropertiesResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/DatastoreProperties" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DatastorePropertiesResourceArmPaginatedResult": { + "description": "A paginated list of DatastoreProperties entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type DatastoreProperties.", + "type": "array", + "items": { + "$ref": "#/definitions/DatastorePropertiesResource" + } + } + }, + "additionalProperties": false + }, + "DatastoreSecrets": { + "description": "Base definition for datastore secrets.", + "required": [ + "secretsType" + ], + "type": "object", + "properties": { + "secretsType": { + "description": "Credential type used to authentication with storage.", + "$ref": "#/definitions/SecretsType" + } + }, + "discriminator": "secretsType" + }, + "DeploymentLogs": { + "type": "object", + "properties": { + "content": { + "type": "string" + } + }, + "additionalProperties": false + }, + "DeploymentLogsRequest": { + "type": "object", + "properties": { + "containerType": { + "description": "The type of container to retrieve logs from.", + "$ref": "#/definitions/ContainerType" + }, + "tail": { + "format": "int32", + "description": "The maximum number of lines to tail.", + "type": "integer" + } + }, + "additionalProperties": false + }, + "DeploymentProvisioningState": { + "enum": [ + "Creating", + "Deleting", + "Scaling", + "Updating", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "DeploymentProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "DistributionConfiguration": { + "description": "Base definition for job distribution configuration.", + "required": [ + "distributionType" + ], + "type": "object", + "properties": { + "distributionType": { + "description": "Specifies the type of distribution framework.", + "$ref": "#/definitions/DistributionType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "distributionType" + }, + "DistributionType": { + "description": "Enum to determine the job distribution type.", + "enum": [ + "PyTorch", + "TensorFlow", + "Mpi" + ], + "type": "string", + "x-ms-enum": { + "name": "DistributionType", + "modelAsString": true + }, + "additionalProperties": false + }, + "DockerBuild": { + "description": "Class to represent configuration settings for Docker Build", + "required": [ + "dockerfile" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DockerSpecification" + } + ], + "properties": { + "context": { + "description": "Path to a snapshot of the Docker Context. This property is only valid if Dockerfile is specified.\r\nThe path is relative to the asset path which must contain a single Blob URI value.\r\n", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "dockerfile": { + "description": "Docker command line instructions to assemble an image.\r\n", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Build", + "additionalProperties": false + }, + "DockerImage": { + "description": "Class to represent configuration settings for Docker Build", + "required": [ + "dockerImageUri" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DockerSpecification" + } + ], + "properties": { + "dockerImageUri": { + "description": "Image name of a custom base image.\r\n", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Image", + "additionalProperties": false + }, + "DockerImagePlatform": { + "type": "object", + "properties": { + "operatingSystemType": { + "description": "The OS type the Environment.", + "$ref": "#/definitions/OperatingSystemType" + } + }, + "additionalProperties": false + }, + "DockerSpecification": { + "description": "Configuration settings for Docker", + "required": [ + "dockerSpecificationType" + ], + "type": "object", + "properties": { + "dockerSpecificationType": { + "description": "Docker specification must be either Build or Image", + "$ref": "#/definitions/DockerSpecificationType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "platform": { + "description": "The platform information of the docker image.", + "$ref": "#/definitions/DockerImagePlatform", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "dockerSpecificationType" + }, + "DockerSpecificationType": { + "description": "Enum to determine docker specification type. Must be either Build or Image.", + "enum": [ + "Build", + "Image" + ], + "type": "string", + "x-ms-enum": { + "name": "DockerSpecificationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EarlyTerminationPolicy": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "required": [ + "policyType" + ], + "type": "object", + "properties": { + "delayEvaluation": { + "format": "int32", + "type": "integer" + }, + "evaluationInterval": { + "format": "int32", + "type": "integer" + }, + "policyType": { + "description": "Name of policy configuration", + "$ref": "#/definitions/EarlyTerminationPolicyType" + } + }, + "discriminator": "policyType" + }, + "EarlyTerminationPolicyType": { + "enum": [ + "Bandit", + "MedianStopping", + "TruncationSelection" + ], + "type": "string", + "x-ms-enum": { + "name": "EarlyTerminationPolicyType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointAuthKeys": { + "description": "Keys for endpoint authentication.", + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "EndpointAuthMode": { + "description": "Enum to determine endpoint authentication mode.", + "enum": [ + "AMLToken", + "Key", + "AADToken" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointAuthMode", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointAuthToken": { + "description": "Service Token", + "type": "object", + "properties": { + "accessToken": { + "description": "Access token.", + "type": "string" + }, + "expiryTimeUtc": { + "format": "int64", + "description": "Access token expiry time (UTC).", + "type": "integer" + }, + "refreshAfterTimeUtc": { + "format": "int64", + "description": "Refresh access token after time (UTC).", + "type": "integer" + }, + "tokenType": { + "description": "Access token type.", + "type": "string" + } + }, + "additionalProperties": false + }, + "EndpointComputeType": { + "description": "Enum to determine endpoint compute type.", + "enum": [ + "Managed", + "K8S", + "AzureMLCompute" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointComputeType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointProvisioningState": { + "description": "State of endpoint provisioning.", + "enum": [ + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Updating", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "EnvironmentContainer": { + "description": "Container for environment specification versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "EnvironmentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "EnvironmentContainerResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "additionalProperties": false + }, + "EnvironmentSpecificationType": { + "description": "Environment specification is either user created or curated by Azure ML service", + "enum": [ + "Curated", + "UserCreated" + ], + "type": "string", + "x-ms-enum": { + "name": "EnvironmentSpecificationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EnvironmentSpecificationVersion": { + "description": "Environment specification version details.\r\n", + "type": "object", + "properties": { + "condaFile": { + "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", + "type": "string" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "docker": { + "description": "Configuration settings for Docker.", + "$ref": "#/definitions/DockerSpecification" + }, + "environmentSpecificationType": { + "description": "Environment specification is either user managed or curated by the Azure ML service\r\n", + "$ref": "#/definitions/EnvironmentSpecificationType", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "inferenceContainerProperties": { + "description": "Defines configuration specific to inference.", + "$ref": "#/definitions/InferenceContainerProperties" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "EnvironmentSpecificationVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentSpecificationVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "EnvironmentSpecificationVersionResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentSpecificationVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentSpecificationVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentSpecificationVersionResource" + } + } + }, + "additionalProperties": false + }, + "ExportFormatType": { + "description": "The format of exported labels.", + "enum": [ + "Dataset", + "Coco", + "CSV" + ], + "type": "string", + "x-ms-enum": { + "name": "ExportFormatType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ExportSummary": { + "required": [ + "format" + ], + "type": "object", + "properties": { + "endTimeUtc": { + "format": "date-time", + "description": "The time when the export was completed.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "exportedRowCount": { + "format": "int64", + "description": "The total number of labeled datapoints exported.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "format": { + "description": "The format of exported labels, also as the discriminator.", + "$ref": "#/definitions/ExportFormatType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "labelingJobId": { + "description": "Name and identifier of the job containing exported labels.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "startTimeUtc": { + "format": "date-time", + "description": "The time when the export was requested.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "discriminator": "format" + }, + "FlavorData": { + "type": "object", + "properties": { + "data": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "GlusterFsContents": { + "description": "GlusterFs datastore configuration.", + "required": [ + "serverAddress", + "volumeName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreContents" + } + ], + "properties": { + "serverAddress": { + "description": "GlusterFS server address (can be the IP address or server name).", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "volumeName": { + "description": "GlusterFS volume name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "GlusterFs", + "additionalProperties": false + }, + "Goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "enum": [ + "Minimize", + "Maximize" + ], + "type": "string", + "x-ms-enum": { + "name": "Goal", + "modelAsString": true + }, + "additionalProperties": false + }, + "IdAssetReference": { + "description": "Reference to an asset via its ARM resource ID.", + "required": [ + "assetId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "assetId": { + "description": "ARM resource ID of the asset.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Id", + "additionalProperties": false + }, + "IdentityConfiguration": { + "description": "Base definition for identity configuration.", + "required": [ + "identityType" + ], + "type": "object", + "properties": { + "identityType": { + "description": "Specifies the type of identity framework.", + "$ref": "#/definitions/IdentityConfigurationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "identityType" + }, + "IdentityConfigurationType": { + "description": "Enum to determine identity framework.", + "enum": [ + "Managed", + "AMLToken" + ], + "type": "string", + "x-ms-enum": { + "name": "IdentityConfigurationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ImageAnnotationType": { + "description": "Annotation type of image data.", + "enum": [ + "Classification", + "BoundingBox", + "InstanceSegmentation" + ], + "type": "string", + "x-ms-enum": { + "name": "ImageAnnotationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "InferenceContainerProperties": { + "type": "object", + "properties": { + "livenessRoute": { + "description": "The route to check the liveness of the inference server container.", + "$ref": "#/definitions/Route" + }, + "readinessRoute": { + "description": "The route to check the readiness of the inference server container.", + "$ref": "#/definitions/Route" + }, + "scoringRoute": { + "description": "The port to send the scoring requests to, within the inference server container.", + "$ref": "#/definitions/Route" + } + }, + "additionalProperties": false + }, + "InputDataBinding": { + "type": "object", + "properties": { + "dataId": { + "description": "ARM resource ID of the registered dataVersion.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "mode": { + "description": "Mechanism for accessing the data artifact.", + "$ref": "#/definitions/DataBindingMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "pathOnCompute": { + "description": "Location of data inside the container process.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "JobBase": { + "description": "Base definition for a job.", + "required": [ + "jobType" + ], + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "interactionEndpoints": { + "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JobEndpoint" + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "jobType": { + "description": "Specifies the type of job.", + "$ref": "#/definitions/JobType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/JobProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "discriminator": "jobType" + }, + "JobBaseResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/JobBase" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "JobBaseResourceArmPaginatedResult": { + "description": "A paginated list of JobBase entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type JobBase.", + "type": "array", + "items": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "additionalProperties": false + }, + "JobEndpoint": { + "description": "Job endpoint definition", + "type": "object", + "properties": { + "endpoint": { + "description": "Url for endpoint.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "jobEndpointType": { + "description": "Endpoint type.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "port": { + "format": "int32", + "description": "Port for endpoint.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "JobOutput": { + "description": "Job output definition container information on where to find job output/logs.", + "type": "object", + "properties": { + "datastoreId": { + "description": "ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container (\"azureml\") in the workspace's storage account.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "path": { + "description": "Path within the datastore to the job logs and artifacts.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "JobProvisioningState": { + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress" + ], + "type": "string", + "x-ms-enum": { + "name": "JobProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobStatus": { + "description": "The status of a job.", + "enum": [ + "NotStarted", + "Starting", + "Provisioning", + "Preparing", + "Queued", + "Running", + "Finalizing", + "CancelRequested", + "Completed", + "Failed", + "Canceled", + "NotResponding", + "Paused", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobType": { + "description": "Enum to determine the type of job.", + "enum": [ + "Command", + "Sweep", + "Labeling" + ], + "type": "string", + "x-ms-enum": { + "name": "JobType", + "modelAsString": true + }, + "additionalProperties": false + }, + "K8sOnlineDeployment": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "properties": { + "containerResourceRequirements": { + "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + } + }, + "x-ms-discriminator-value": "K8S", + "additionalProperties": false + }, + "KeyType": { + "enum": [ + "Primary", + "Secondary" + ], + "type": "string", + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true + }, + "additionalProperties": false + }, + "LabelCategory": { + "description": "Label category definition", + "type": "object", + "properties": { + "allowMultiSelect": { + "description": "Indicates whether it is allowed to select multiple classes in this category.", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "classes": { + "description": "Dictionary of label classes in this category.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelClass" + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "displayName": { + "description": "Display name of the label category.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "LabelClass": { + "description": "Label class definition", + "type": "object", + "properties": { + "displayName": { + "description": "Display name of the label class.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "subclasses": { + "description": "Dictionary of subclasses of the label class.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelClass" + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "LabelingDatasetConfiguration": { + "description": "Labeling dataset configuration definition", + "type": "object", + "properties": { + "assetName": { + "description": "Name of the data asset to perform labeling.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "datasetVersion": { + "description": "AML dataset version.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "incrementalDatasetRefreshEnabled": { + "description": "Indicates whether to enable incremental dataset refresh.", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "LabelingJob": { + "description": "Labeling job definition", + "required": [ + "jobType" + ], + "type": "object", + "properties": { + "createdTimeUtc": { + "format": "date-time", + "description": "Created time of the job in UTC timezone.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "datasetConfiguration": { + "description": "Configuration of dataset used in the job.", + "$ref": "#/definitions/LabelingDatasetConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "interactionEndpoints": { + "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JobEndpoint" + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "jobInstructions": { + "description": "Labeling instructions of the job.", + "$ref": "#/definitions/LabelingJobInstructions", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "jobType": { + "description": "Specifies the type of job. This field should always be set to \"Labeling\".", + "$ref": "#/definitions/JobType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "labelCategories": { + "description": "Label categories of the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelCategory" + }, + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "labelingJobMediaProperties": { + "description": "Media type specific properties in the job.", + "$ref": "#/definitions/LabelingJobMediaProperties", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "mlAssistConfiguration": { + "description": "Configuration of MLAssist feature in the job.", + "$ref": "#/definitions/MLAssistConfiguration" + }, + "progressMetrics": { + "description": "Progress metrics of the job.", + "$ref": "#/definitions/ProgressMetrics", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "projectId": { + "format": "uuid", + "description": "Internal id of the job(Previously called project).", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "#/definitions/JobProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "status": { + "description": "Status of the job.", + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "statusMessages": { + "description": "Status messages of the job.", + "type": "array", + "items": { + "$ref": "#/definitions/StatusMessage" + }, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "LabelingJobImageProperties": { + "description": "Properties of a labeling job for image data", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LabelingJobMediaProperties" + } + ], + "properties": { + "annotationType": { + "description": "Annotation type of image labeling job.", + "$ref": "#/definitions/ImageAnnotationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Image", + "additionalProperties": false + }, + "LabelingJobInstructions": { + "description": "Instructions for labeling job", + "type": "object", + "properties": { + "uri": { + "description": "The link to a page with detailed labeling instructions for labelers.", + "type": "string", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "LabelingJobMediaProperties": { + "description": "Properties of a labeling job", + "required": [ + "mediaType" + ], + "type": "object", + "properties": { + "mediaType": { + "description": "Media type of the job.", + "$ref": "#/definitions/MediaType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "mediaType" + }, + "LabelingJobResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/LabelingJob" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "LabelingJobResourceArmPaginatedResult": { + "description": "A paginated list of LabelingJob entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type LabelingJob.", + "type": "array", + "items": { + "$ref": "#/definitions/LabelingJobResource" + } + } + }, + "additionalProperties": false + }, + "LabelingJobTextProperties": { + "description": "Properties of a labeling job for text data", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/LabelingJobMediaProperties" + } + ], + "properties": { + "annotationType": { + "description": "Annotation type of text labeling job.", + "$ref": "#/definitions/TextAnnotationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Text", + "additionalProperties": false + }, + "LinkedInfo": { + "description": "Information about a datastore origin, if linked.", + "type": "object", + "properties": { + "linkedId": { + "description": "Linked service ID.", + "type": "string" + }, + "linkedResourceName": { + "description": "Linked service resource name.", + "type": "string" + }, + "origin": { + "description": "Type of the linked service.", + "$ref": "#/definitions/OriginType" + } + }, + "additionalProperties": false + }, + "MLAssistConfiguration": { + "description": "Labeling MLAssist configuration definition", + "type": "object", + "properties": { + "inferencingComputeBinding": { + "description": "AML compute binding used in inferencing.", + "$ref": "#/definitions/ComputeConfiguration", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, + "mlAssistEnabled": { + "description": "Indicates whether MLAssist feature is enabled.", + "type": "boolean" + }, + "trainingComputeBinding": { + "description": "AML compute binding used in training.", + "$ref": "#/definitions/ComputeConfiguration", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + } + }, + "additionalProperties": false + }, + "ManagedIdentity": { + "description": "Managed identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "properties": { + "clientId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "objectId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "resourceId": { + "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "ManagedOnlineDeployment": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "properties": { + "instanceType": { + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "readinessProbe": { + "$ref": "#/definitions/ProbeSettings" + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "ManualScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "properties": { + "instanceCount": { + "format": "int32", + "type": "integer" + } + }, + "x-ms-discriminator-value": "Manual", + "additionalProperties": false + }, + "MediaType": { + "description": "Media type of data asset.", + "enum": [ + "Image", + "Text" + ], + "type": "string", + "x-ms-enum": { + "name": "MediaType", + "modelAsString": true + }, + "additionalProperties": false + }, + "MedianStoppingPolicy": { + "description": "Defines an early termination policy based on running averages of the primary metric of all runs", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "x-ms-discriminator-value": "MedianStopping", + "additionalProperties": false + }, + "ModelContainer": { + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ModelContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ModelContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ModelContainerResourceArmPaginatedResult": { + "description": "A paginated list of ModelContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "additionalProperties": false + }, + "ModelVersion": { + "description": "Model asset version details.", + "required": [ + "path" + ], + "type": "object", + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "flavors": { + "description": "Mapping of model flavors to their properties.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FlavorData" + } + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ModelVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ModelVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ModelVersionResourceArmPaginatedResult": { + "description": "A paginated list of ModelVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "additionalProperties": false + }, + "Mpi": { + "description": "MPI distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCountPerInstance": { + "format": "int32", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Mpi", + "additionalProperties": false + }, + "NoneDatastoreCredentials": { + "description": "Empty/none datastore credentials.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "Empty/none datastore secret.", + "$ref": "#/definitions/NoneDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "None", + "additionalProperties": false + }, + "NoneDatastoreSecrets": { + "description": "Empty/none datastore secret.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "x-ms-discriminator-value": "None", + "additionalProperties": false + }, + "Objective": { + "required": [ + "goal", + "primaryMetric" + ], + "type": "object", + "properties": { + "goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "$ref": "#/definitions/Goal" + }, + "primaryMetric": { + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "additionalProperties": false + }, + "OnlineDeployment": { + "required": [ + "endpointComputeType" + ], + "type": "object", + "properties": { + "appInsightsEnabled": { + "description": "If true, enables Application Insights logging.", + "type": "boolean" + }, + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration" + }, + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + }, + "endpointComputeType": { + "description": "The compute type of the endpoint.", + "$ref": "#/definitions/EndpointComputeType" + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "livenessProbe": { + "$ref": "#/definitions/ProbeSettings" + }, + "model": { + "description": "Reference to the model asset for the endpoint deployment.", + "$ref": "#/definitions/AssetReferenceBase" + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "description": "Provisioning state for the endpoint deployment.", + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "requestSettings": { + "$ref": "#/definitions/OnlineRequestSettings" + }, + "scaleSettings": { + "$ref": "#/definitions/OnlineScaleSettings" + } + }, + "discriminator": "endpointComputeType" + }, + "OnlineDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/OnlineDeployment" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "OnlineDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineEndpoint": { + "description": "Online endpoint configuration", + "required": [ + "authMode" + ], + "type": "object", + "properties": { + "authMode": { + "description": "Inference endpoint authentication mode type", + "$ref": "#/definitions/EndpointAuthMode" + }, + "description": { + "description": "Description of the inference endpoint.", + "type": "string" + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "description": "State of endpoint provisioning.", + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "target": { + "description": "ARM resource ID of the compute if it exists.\r\noptional", + "type": "string" + }, + "traffic": { + "description": "Traffic rules on how the traffic will be routed across deployments.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "OnlineEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/OnlineEndpoint" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "OnlineEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineRequestSettings": { + "type": "object", + "properties": { + "maxConcurrentRequestsPerInstance": { + "format": "int32", + "type": "integer" + }, + "maxQueueWait": { + "format": "duration", + "description": "The maximum queue wait time in ISO 8601 format. Supports millisecond precision.", + "type": "string" + }, + "requestTimeout": { + "format": "duration", + "description": "The request timeout in ISO 8601 format. Supports millisecond precision.", + "type": "string" + } + }, + "additionalProperties": false + }, + "OnlineScaleSettings": { + "required": [ + "scaleType" + ], + "type": "object", + "properties": { + "maxInstances": { + "format": "int32", + "type": "integer" + }, + "minInstances": { + "format": "int32", + "type": "integer" + }, + "scaleType": { + "$ref": "#/definitions/ScaleType" + } + }, + "discriminator": "scaleType" + }, + "OperatingSystemType": { + "description": "The type of operating system.", + "enum": [ + "Linux", + "Windows" + ], + "type": "string", + "x-ms-enum": { + "name": "OperatingSystemType", + "modelAsString": true + }, + "additionalProperties": false + }, + "OrderString": { + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "type": "string", + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + }, + "additionalProperties": false + }, + "OriginType": { + "description": "Enum to determine the type of linked service.", + "enum": [ + "Synapse" + ], + "type": "string", + "x-ms-enum": { + "name": "OriginType", + "modelAsString": true + }, + "additionalProperties": false + }, + "OutputDataBinding": { + "type": "object", + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the data output will be stored.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "mode": { + "description": "Mechanism for data movement to datastore.", + "$ref": "#/definitions/DataBindingMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "pathOnCompute": { + "description": "Location of data inside the container process.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "pathOnDatastore": { + "description": "Path within the datastore to the data.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "OutputPathAssetReference": { + "description": "Reference to an asset via its path in a job output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "jobId": { + "description": "ARM resource ID of the job.", + "type": "string" + }, + "path": { + "description": "The path of the file/directory in the job output.", + "type": "string" + } + }, + "x-ms-discriminator-value": "OutputPath", + "additionalProperties": false + }, + "PartialAksOnlineDeployment": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineDeployment" + } + ], + "properties": { + "containerResourceRequirements": { + "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + } + }, + "x-ms-discriminator-value": "K8S", + "additionalProperties": false + }, + "PartialBatchDeployment": { + "description": "Mutable batch inference settings per deployment.", + "type": "object", + "properties": { + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + } + }, + "additionalProperties": false + }, + "PartialBatchDeploymentPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialBatchDeployment" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialBatchEndpoint": { + "description": "Mutable Batch endpoint configuration", + "type": "object", + "properties": { + "traffic": { + "description": "Traffic rules on how the traffic will be routed across deployments.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "PartialBatchEndpointPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialBatchEndpoint" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialManagedOnlineDeployment": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineDeployment" + } + ], + "properties": { + "readinessProbe": { + "$ref": "#/definitions/ProbeSettings" + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "PartialOnlineDeployment": { + "description": "Mutable online deployment configuration", + "required": [ + "endpointComputeType" + ], + "type": "object", + "properties": { + "appInsightsEnabled": { + "type": "boolean" + }, + "endpointComputeType": { + "description": "Enum to determine endpoint compute type.", + "$ref": "#/definitions/EndpointComputeType" + }, + "livenessProbe": { + "$ref": "#/definitions/ProbeSettings" + }, + "requestSettings": { + "$ref": "#/definitions/OnlineRequestSettings" + }, + "scaleSettings": { + "$ref": "#/definitions/OnlineScaleSettings" + } + }, + "discriminator": "endpointComputeType" + }, + "PartialOnlineDeploymentPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialOnlineDeployment" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialOnlineEndpoint": { + "description": "Mutable online endpoint configuration", + "type": "object", + "properties": { + "traffic": { + "description": "Traffic rules on how the traffic will be routed across deployments.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "PartialOnlineEndpointPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "type": "string" + }, + "location": { + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialOnlineEndpoint" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ProbeSettings": { + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "type": "integer" + }, + "initialDelay": { + "format": "duration", + "description": "The delay before the first probe in ISO 8601 format.", + "type": "string" + }, + "period": { + "format": "duration", + "description": "The length of time between probes in ISO 8601 format.", + "type": "string" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "The probe timeout in ISO 8601 format.", + "type": "string" + } + }, + "additionalProperties": false + }, + "ProgressMetrics": { + "description": "Progress metrics definition", + "type": "object", + "properties": { + "completedDatapointCount": { + "format": "int64", + "description": "The completed datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "incrementalDatasetLastRefreshTime": { + "format": "date-time", + "description": "The time of last successful incremental dataset refresh in UTC.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "skippedDatapointCount": { + "format": "int64", + "description": "The skipped datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "totalDatapointCount": { + "format": "int64", + "description": "The total datapoint count.", + "type": "integer", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "PyTorch": { + "description": "PyTorch distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCount": { + "format": "int32", + "description": "Total process count for the distributed job.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "PyTorch", + "additionalProperties": false + }, + "ReferenceType": { + "description": "Enum to determine which reference method to use for an asset.", + "enum": [ + "Id", + "DataPath", + "OutputPath" + ], + "type": "string", + "x-ms-enum": { + "name": "ReferenceType", + "modelAsString": true + }, + "additionalProperties": false + }, + "RegenerateEndpointKeysRequest": { + "required": [ + "keyType" + ], + "type": "object", + "properties": { + "keyType": { + "description": "Specification for which type of key to generate. Primary or Secondary.", + "$ref": "#/definitions/KeyType" + }, + "keyValue": { + "description": "The value the key is set to.", + "type": "string" + } + }, + "additionalProperties": false + }, + "ResourceIdentity": { + "description": "Service identity associated with a resource.", + "type": "object", + "properties": { + "principalId": { + "description": "Client ID that is used when authenticating.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tenantId": { + "description": "AAD Tenant where this identity lives.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "type": { + "description": "Defines values for a ResourceIdentity's type.", + "$ref": "#/definitions/ResourceIdentityAssignment" + }, + "userAssignedIdentities": { + "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentityMeta" + } + } + }, + "additionalProperties": false + }, + "ResourceIdentityAssignment": { + "description": "Defines values for a ResourceIdentity's type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityAssignment", + "modelAsString": true + }, + "additionalProperties": false + }, + "Route": { + "required": [ + "path", + "port" + ], + "type": "object", + "properties": { + "path": { + "description": "The path for the route.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port for the route.", + "type": "integer" + } + }, + "additionalProperties": false + }, + "SamplingAlgorithm": { + "enum": [ + "Grid", + "Random", + "Bayesian" + ], + "type": "string", + "x-ms-enum": { + "name": "SamplingAlgorithm", + "modelAsString": true + }, + "additionalProperties": false + }, + "SasDatastoreCredentials": { + "description": "SAS datastore credentials configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "Storage container secrets.", + "$ref": "#/definitions/SasDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "SasDatastoreSecrets": { + "description": "Datastore SAS secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "sasToken": { + "description": "Storage container SAS token.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "ScaleType": { + "enum": [ + "Auto", + "Manual" + ], + "type": "string", + "x-ms-enum": { + "name": "ScaleType", + "modelAsString": true + }, + "additionalProperties": false + }, + "SecretsType": { + "description": "Enum to determine the datastore secrets type.", + "enum": [ + "AccountKey", + "Certificate", + "None", + "Sas", + "ServicePrincipal", + "SqlAdmin" + ], + "type": "string", + "x-ms-enum": { + "name": "SecretsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ServicePrincipalDatastoreCredentials": { + "description": "Service Principal datastore credentials configuration.", + "required": [ + "clientId", + "tenantId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string" + }, + "clientId": { + "format": "uuid", + "description": "Service principal client ID.", + "type": "string" + }, + "resourceUri": { + "description": "Resource the service principal has access to.", + "type": "string" + }, + "secrets": { + "description": "Service principal secrets.", + "$ref": "#/definitions/ServicePrincipalDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "ID of the tenant to which the service principal belongs.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "ServicePrincipalDatastoreSecrets": { + "description": "Datastore Service Principal secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "clientSecret": { + "description": "Service principal secret.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "SqlAdminDatastoreCredentials": { + "description": "SQL Admin datastore credentials configuration.", + "required": [ + "userId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "SQL database secrets.", + "$ref": "#/definitions/SqlAdminDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "userId": { + "description": "SQL database user name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "SqlAdmin", + "additionalProperties": false + }, + "SqlAdminDatastoreSecrets": { + "description": "Datastore SQL Admin secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "password": { + "description": "SQL database password.", + "type": "string" + } + }, + "x-ms-discriminator-value": "SqlAdmin", + "additionalProperties": false + }, + "StatusMessage": { + "description": "Active message associated with project", + "type": "object", + "properties": { + "code": { + "description": "Service-defined message code.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "createdTimeUtc": { + "format": "date-time", + "description": "Time in UTC at which the message was created.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "level": { + "description": "Severity level of message.", + "$ref": "#/definitions/StatusMessageLevel", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "message": { + "description": "A human-readable representation of the message code.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "StatusMessageLevel": { + "enum": [ + "Error", + "Information", + "Warning" + ], + "type": "string", + "x-ms-enum": { + "name": "StatusMessageLevel", + "modelAsString": true + }, + "additionalProperties": false + }, + "SweepJob": { + "description": "Sweep job definition.", + "required": [ + "algorithm", + "compute", + "objective", + "searchSpace" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "algorithm": { + "description": "Type of the hyperparameter sampling algorithms", + "$ref": "#/definitions/SamplingAlgorithm" + }, + "compute": { + "description": "Compute binding for the job.", + "$ref": "#/definitions/ComputeConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "earlyTermination": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "$ref": "#/definitions/EarlyTerminationPolicy" + }, + "experimentName": { + "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "identity": { + "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null.\r\nDefaults to AmlToken if null.", + "$ref": "#/definitions/IdentityConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "maxConcurrentTrials": { + "format": "int32", + "type": "integer" + }, + "maxTotalTrials": { + "format": "int32", + "type": "integer" + }, + "objective": { + "$ref": "#/definitions/Objective" + }, + "output": { + "description": "Location of the job output logs and artifacts.", + "$ref": "#/definitions/JobOutput", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "priority": { + "format": "int32", + "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "searchSpace": { + "description": "A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "status": { + "description": "The status of a job.", + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "timeout": { + "format": "duration", + "description": "The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.", + "type": "string" + }, + "trial": { + "description": "Trial component definition.", + "$ref": "#/definitions/TrialComponent" + } + }, + "x-ms-discriminator-value": "Sweep", + "additionalProperties": false + }, + "TensorFlow": { + "description": "TensorFlow distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "parameterServerCount": { + "format": "int32", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "workerCount": { + "format": "int32", + "description": "Number of workers. Overwrites the node count in compute binding.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "TensorFlow", + "additionalProperties": false + }, + "TextAnnotationType": { + "description": "Annotation type of text data.", + "enum": [ + "Classification" + ], + "type": "string", + "x-ms-enum": { + "name": "TextAnnotationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "TrialComponent": { + "description": "Trial component definition.", + "required": [ + "command" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "command": { + "description": "The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputDataBindings": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InputDataBinding" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "outputDataBindings": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/OutputDataBinding" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the trial component will be cancelled.\r\nOnly supports duration with precision as low as Seconds.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "TruncationSelectionPolicy": { + "description": "Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "truncationPercentage": { + "format": "int32", + "type": "integer" + } + }, + "x-ms-discriminator-value": "TruncationSelection", + "additionalProperties": false + }, + "UserAssignedIdentityMeta": { + "description": "User assigned identities associated with a resource.", + "type": "object", + "properties": { + "clientId": { + "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", + "type": "string" + }, + "principalId": { + "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", + "type": "string" + } + }, + "additionalProperties": false + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json new file mode 100644 index 000000000000..be4345ff1e6e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json @@ -0,0 +1,113 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all enabled features for a workspace", + "operationId": "WorkspaceFeatures_List", + "x-ms-examples": { + "List Workspace features": { + "$ref": "./examples/WorkspaceFeature/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListAmlUserFeatureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AmlUserFeature": { + "description": "Features enabled for a workspace", + "type": "object", + "properties": { + "id": { + "description": "Specifies the feature ID", + "type": "string" + }, + "displayName": { + "description": "Specifies the feature name ", + "type": "string" + }, + "description": { + "description": "Describes the feature for user experience", + "type": "string" + } + } + }, + "ListAmlUserFeatureResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlUserFeature" + }, + "description": "The list of AML user facing features." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." + } + }, + "description": "The List Aml user feature operation response." + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json new file mode 100644 index 000000000000..1df2a3a27317 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json @@ -0,0 +1,230 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-03-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "get": { + "tags": [ + "WorkspaceSkus" + ], + "description": "Lists all skus with associated features", + "operationId": "WorkspaceSkus_List", + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/WorkspaceSku/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SkuListResult": { + "description": "List of skus with features", + "type": "object", + "properties": { + "value": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/WorkspaceSku" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + } + } + }, + "SKUCapability": { + "description": "Features/user capabilities associated with the sku", + "type": "object", + "properties": { + "name": { + "description": "Capability/Feature ID", + "type": "string" + }, + "value": { + "description": "Details about the feature/capability", + "type": "string" + } + } + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAvailableForRegion", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "ResourceSkuLocationInfo": { + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the SKU" + }, + "zones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of availability zones where the SKU is supported." + }, + "zoneDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "description": "Details of capabilities available to a SKU in specific zones." + } + } + }, + "ResourceSkuZoneDetails": { + "properties": { + "name": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "The set of zones that the SKU is available in with the specified capabilities." + }, + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "A list of capabilities that are available for the SKU in the specified list of zones." + } + }, + "description": "Describes The zonal capabilities of a SKU." + }, + "WorkspaceSku": { + "description": "Describes Workspace Sku details and features", + "type": "object", + "properties": { + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "description": "A list of locations and availability zones in those locations where the SKU is available." + }, + "tier": { + "description": "Sku Tier like Basic or Enterprise", + "type": "string", + "readOnly": true + }, + "resourceType": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "capabilities": { + "description": "List of features/user capabilities associated with the sku", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + } + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} From e19007c4c75cb64091cdc20bab61635ccecd0b3a Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 9 Jul 2021 11:38:20 -0700 Subject: [PATCH 062/211] removed preview features from 2021-03-01-preview and added more apis and properties in 2021-07-01 --- .../Compute/createOrUpdate/AKSCompute.json | 2 +- .../Compute/createOrUpdate/AmlCompute.json | 2 +- .../createOrUpdate/BasicAKSCompute.json | 2 +- .../createOrUpdate/BasicAmlCompute.json | 2 +- .../BasicDataFactoryCompute.json | 2 +- .../createOrUpdate/ComputeInstance.json | 2 +- .../ComputeInstanceMinimal.json | 2 +- .../createOrUpdate/KubernetesCompute.json | 123 ++ .../2021-07-01/examples/Compute/delete.json | 2 +- .../examples/Compute/get/AKSCompute.json | 2 +- .../examples/Compute/get/AmlCompute.json | 2 +- .../examples/Compute/get/ComputeInstance.json | 2 +- .../Compute/get/KubernetesCompute.json | 54 + .../2021-07-01/examples/Compute/listKeys.json | 2 +- .../examples/Compute/listNodes.json | 2 +- .../2021-07-01/examples/Compute/patch.json | 12 +- .../2021-07-01/examples/Compute/restart.json | 4 +- .../2021-07-01/examples/Compute/start.json | 2 +- .../2021-07-01/examples/Compute/stop.json | 2 +- .../2021-07-01/examples/ExternalFQDN/get.json | 265 ++++ .../examples/Notebook/listKeys.json | 2 +- .../2021-07-01/examples/Notebook/prepare.json | 2 +- .../createOrUpdate.json | 2 +- .../PrivateEndpointConnection/delete.json | 2 +- .../PrivateEndpointConnection/get.json | 2 +- .../PrivateEndpointConnection/list.json | 2 +- .../examples/PrivateLinkResource/list.json | 2 +- .../2021-07-01/examples/Quota/list.json | 2 +- .../2021-07-01/examples/Quota/update.json | 2 +- .../2021-07-01/examples/Usage/list.json | 2 +- .../examples/VirtualMachineSize/list.json | 300 ++-- .../2021-07-01/examples/Workspace/create.json | 56 +- .../2021-07-01/examples/Workspace/delete.json | 2 +- .../examples/Workspace/diagnose.json | 43 + .../2021-07-01/examples/Workspace/get.json | 3 +- .../Workspace/listByResourceGroup.json | 2 +- .../Workspace/listBySubscription.json | 2 +- .../examples/Workspace/listKeys.json | 2 +- .../Workspace/listNotebookAccessToken.json | 2 +- .../Workspace/listStorageAccountKeys.json | 2 +- .../examples/Workspace/resyncKeys.json | 2 +- .../2021-07-01/examples/Workspace/update.json | 8 +- .../examples/WorkspaceConnection/create.json | 2 +- .../examples/WorkspaceConnection/delete.json | 2 +- .../examples/WorkspaceConnection/get.json | 2 +- .../examples/WorkspaceConnection/list.json | 2 +- .../examples/WorkspaceFeature/list.json | 2 +- .../examples/WorkspaceSku/list.json | 2 +- .../2021-07-01/machineLearningServices.json | 1384 ++++++++++------- .../stable/2021-07-01/workspaceFeatures.json | 2 +- .../stable/2021-07-01/workspaceSkus.json | 2 +- .../resource-manager/readme.go.md | 10 + .../resource-manager/readme.java.md | 14 + .../resource-manager/readme.md | 13 +- 54 files changed, 1557 insertions(+), 812 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/KubernetesCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/KubernetesCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json index 37026eb9cf01..e321caeef10c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json index 1deb507610ef..489a382b8f6b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json index c6e2e55ce2b5..8275f639cb76 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json index f0f4f84724be..69edafb6cfd5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json index a65e47b06092..a8caa00c4095 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json index f03287c70c29..2b7d9a5f608f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json index f297720608bf..5f3f4f5f7e89 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/KubernetesCompute.json new file mode 100644 index 000000000000..a06657a2dc9a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/KubernetesCompute.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "properties": { + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Creating", + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Creating", + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json index add22e2b48cc..acb29eb23e03 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "underlyingResourceAction": "Delete" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json index 59a7d4b7009d..2fb95a55a5c1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json index b422464ed390..ac34921c93d3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/AmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json index 3d2d0c42183d..ba8e8b560f9f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/ComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/KubernetesCompute.json new file mode 100644 index 000000000000..f13fa52091bf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/KubernetesCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Succeeded", + "isAttachedCompute": true, + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json index 41de00a059cb..ff5eb1395a78 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listKeys.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json index 58892c22ca92..1a2939480de2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json index b4088fd335cb..018da04bec51 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/patch.json @@ -4,13 +4,15 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "properties": { - "scaleSettings": { - "maxNodeCount": 4, - "minNodeCount": 4, - "nodeIdleTimeBeforeScaleDown": "PT5M" + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json index 8647ef440852..7326f11d534a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/restart.json @@ -4,9 +4,9 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { - "200": {} + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json index 9f3b7e87c2b5..7326f11d534a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/start.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json index 9f3b7e87c2b5..7326f11d534a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/stop.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json new file mode 100644 index 000000000000..d448c7acb814 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json @@ -0,0 +1,265 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure portal", + "endpoints": [ + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Resource Manager", + "endpoints": [ + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Machine Learning studio", + "endpoints": [ + { + "domainName": "ml.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "API", + "endpoints": [ + { + "domainName": "*.azureml.ms", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Integrated notebook", + "endpoints": [ + { + "domainName": "*.notebooks.azure.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "localtest9127254374.file.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "localtest9127254374.dfs.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "localtest9127254374.blob.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "graph.microsoft.com", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "*.aznbcontent.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Compute cluster/instance", + "endpoints": [ + { + "domainName": "*.batchai.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "graph.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Compute instance", + "endpoints": [ + { + "domainName": "*.instances.azureml.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "*.instances.azureml.ms", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Storage Account", + "endpoints": [ + { + "domainName": "core.windows.net", + "endpointDetails": [ + { + "port": 443 + }, + { + "port": 18881 + }, + { + "port": 8787 + } + ] + } + ] + }, + { + "category": "Azure Key Vault", + "endpoints": [ + { + "domainName": "vault.azure.net", + "endpointDetails": [ + { + "port": 443 + }, + { + "port": 18881 + }, + { + "port": 8787 + } + ] + } + ] + }, + { + "category": "Azure Container Registry", + "endpoints": [ + { + "domainName": "azurecr.io", + "endpointDetails": [ + { + "port": 443 + }, + { + "port": 18881 + }, + { + "port": 8787 + } + ] + } + ] + }, + { + "category": "Microsoft Container Registry", + "endpoints": [ + { + "domainName": "mcr.microsoft.com", + "endpointDetails": [ + { + "port": 443 + }, + { + "port": 18881 + }, + { + "port": 8787 + } + ] + } + ] + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json index b714bf5583d5..3daff45dffe0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json index be05b7933fbb..5bd461d2b336 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Notebook/prepare.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json index c6e630977a8e..56a0760417e8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/createOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "monitor": "true", "properties": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json index 9dcf8128f7e0..ea2f5adcec32 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json index 6c2ee3ff04c6..dbe9336b1a69 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json index ba184dd346ba..a19dbfe54820 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateEndpointConnection/list.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json index a032d8e9e649..7d85cdd55e03 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json index 54e636a63c3d..68875002eba2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/list.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json index 8640a422e99d..669f01c82d19 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Quota/update.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "value": [ { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json index 1bf89278a5bd..cdd29efeb5d4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Usage/list.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json index cfc64546bfe0..f4d7b56926ca 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/VirtualMachineSize/list.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "location": "eastus" }, "responses": { @@ -9,26 +9,21 @@ "body": { "value": [ { - "name": "Standard_D1_v2", - "family": "standardDv2Family", + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", "vCPUs": 1, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 51200, + "maxResourceVolumeMB": 7168, "memoryGB": 3.5, "lowPriorityCapable": true, - "premiumIO": false, + "premiumIO": true, "estimatedVMPrices": { "billingCurrency": "USD", "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.05, - "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.12, + "retailPrice": 0.13, "osType": "Windows", "vmTier": "Standard" }, @@ -38,95 +33,114 @@ "vmTier": "LowPriority" }, { - "retailPrice": 0.06, + "retailPrice": 0.07, "osType": "Linux", "vmTier": "Standard" + }, + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] }, { - "name": "Standard_D2_v2", - "family": "standardDv2Family", + "name": "Standard_DS2_v2", + "family": "standardDSv2Family", "vCPUs": 2, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 102400, - "memoryGB": 7, + "maxResourceVolumeMB": 14336, + "memoryGB": 7.0, "lowPriorityCapable": true, - "premiumIO": false, + "premiumIO": true, "estimatedVMPrices": { "billingCurrency": "USD", "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.09, - "osType": "Windows", + "retailPrice": 0.03, + "osType": "Linux", "vmTier": "LowPriority" }, { - "retailPrice": 0.23, - "osType": "Windows", - "vmTier": "Standard" - }, - { - "retailPrice": 0.11, + "retailPrice": 0.15, "osType": "Linux", "vmTier": "Standard" }, { - "retailPrice": 0.02, - "osType": "Linux", + "retailPrice": 0.1, + "osType": "Windows", "vmTier": "LowPriority" + }, + { + "retailPrice": 0.25, + "osType": "Windows", + "vmTier": "Standard" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] }, { - "name": "Standard_D11_v2", - "family": "standardDv2Family", - "vCPUs": 2, + "name": "Standard_DS3_v2", + "family": "standardDSv2Family", + "vCPUs": 4, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 102400, - "memoryGB": 14, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, "lowPriorityCapable": true, - "premiumIO": false, + "premiumIO": true, "estimatedVMPrices": { "billingCurrency": "USD", "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.15, - "osType": "Linux", - "vmTier": "Standard" - }, - { - "retailPrice": 0.1, + "retailPrice": 0.2, "osType": "Windows", "vmTier": "LowPriority" }, { - "retailPrice": 0.03, + "retailPrice": 0.06, "osType": "Linux", "vmTier": "LowPriority" }, { - "retailPrice": 0.24, + "retailPrice": 0.5, "osType": "Windows", "vmTier": "Standard" + }, + { + "retailPrice": 0.29, + "osType": "Linux", + "vmTier": "Standard" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] }, { - "name": "Standard_DS1_v2", + "name": "Standard_DS4_v2", "family": "standardDSv2Family", - "vCPUs": 1, + "vCPUs": 8, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 7168, - "memoryGB": 3.5, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, "lowPriorityCapable": true, "premiumIO": true, "estimatedVMPrices": { @@ -134,36 +148,41 @@ "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.05, - "osType": "Windows", + "retailPrice": 0.12, + "osType": "Linux", "vmTier": "LowPriority" }, { - "retailPrice": 0.12, + "retailPrice": 0.4, "osType": "Windows", - "vmTier": "Standard" + "vmTier": "LowPriority" }, { - "retailPrice": 0.01, - "osType": "Linux", - "vmTier": "LowPriority" + "retailPrice": 1.01, + "osType": "Windows", + "vmTier": "Standard" }, { - "retailPrice": 0.06, + "retailPrice": 0.58, "osType": "Linux", "vmTier": "Standard" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] }, { - "name": "Standard_F2s_v2", - "family": "standardFSv2Family", - "vCPUs": 2, + "name": "Standard_DS5_v2", + "family": "standardDSv2Family", + "vCPUs": 16, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 16384, - "memoryGB": 4, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, "lowPriorityCapable": true, "premiumIO": true, "estimatedVMPrices": { @@ -171,36 +190,41 @@ "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.02, - "osType": "Linux", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.08, + "retailPrice": 1.17, "osType": "Linux", "vmTier": "Standard" }, { - "retailPrice": 0.06, + "retailPrice": 0.81, "osType": "Windows", "vmTier": "LowPriority" }, { - "retailPrice": 0.16, + "retailPrice": 2.02, "osType": "Windows", "vmTier": "Standard" + }, + { + "retailPrice": 0.23, + "osType": "Linux", + "vmTier": "LowPriority" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] }, { - "name": "Standard_M32-8ms", - "family": "standardMSFamily", - "vCPUs": 32, + "name": "Standard_DS11_v2", + "family": "standardDSv2Family", + "vCPUs": 2, "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1024000, - "memoryGB": 875, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, "lowPriorityCapable": true, "premiumIO": true, "estimatedVMPrices": { @@ -208,110 +232,122 @@ "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 8.43, + "retailPrice": 0.26, "osType": "Windows", "vmTier": "Standard" }, { - "retailPrice": 1.23, + "retailPrice": 0.18, "osType": "Linux", - "vmTier": "LowPriority" + "vmTier": "Standard" }, { - "retailPrice": 3.37, + "retailPrice": 0.11, "osType": "Windows", "vmTier": "LowPriority" }, { - "retailPrice": 6.15, + "retailPrice": 0.04, "osType": "Linux", - "vmTier": "Standard" + "vmTier": "LowPriority" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] }, { - "name": "Standard_NC6", - "family": "standardNCFamily", - "vCPUs": 6, - "gpus": 1, + "name": "Standard_DS12_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 389120, - "memoryGB": 56, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, "lowPriorityCapable": true, - "premiumIO": false, + "premiumIO": true, "estimatedVMPrices": { "billingCurrency": "USD", "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 0.18, + "retailPrice": 0.37, "osType": "Linux", - "vmTier": "LowPriority" + "vmTier": "Standard" }, { - "retailPrice": 0.43, + "retailPrice": 0.53, "osType": "Windows", - "vmTier": "LowPriority" - }, - { - "retailPrice": 0.9, - "osType": "Linux", "vmTier": "Standard" }, { - "retailPrice": 1.08, + "retailPrice": 0.21, "osType": "Windows", - "vmTier": "Standard" + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.07, + "osType": "Linux", + "vmTier": "LowPriority" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] }, { - "name": "Standard_NV6", - "family": "standardNVFamily", - "vCPUs": 6, - "gpus": 1, + "name": "Standard_DS13_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 389120, - "memoryGB": 56, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, "lowPriorityCapable": true, - "premiumIO": false, + "premiumIO": true, "estimatedVMPrices": { "billingCurrency": "USD", "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 1.28, - "osType": "Windows", - "vmTier": "Standard" + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "LowPriority" }, { - "retailPrice": 0.51, + "retailPrice": 0.42, "osType": "Windows", "vmTier": "LowPriority" }, { - "retailPrice": 0.22, + "retailPrice": 0.74, "osType": "Linux", - "vmTier": "LowPriority" + "vmTier": "Standard" }, { - "retailPrice": 1.09, - "osType": "Linux", + "retailPrice": 1.06, + "osType": "Windows", "vmTier": "Standard" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] }, { - "name": "Standard_ND6s", - "family": "standardNDSFamily", - "vCPUs": 6, - "gpus": 1, + "name": "Standard_DS14_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 344064, - "memoryGB": 112, + "maxResourceVolumeMB": 229376, + "memoryGB": 112.0, "lowPriorityCapable": true, "premiumIO": true, "estimatedVMPrices": { @@ -319,27 +355,31 @@ "unitOfMeasure": "OneHour", "values": [ { - "retailPrice": 2.07, + "retailPrice": 0.3, "osType": "Linux", - "vmTier": "Standard" + "vmTier": "LowPriority" }, { - "retailPrice": 0.36, + "retailPrice": 1.48, "osType": "Linux", - "vmTier": "LowPriority" + "vmTier": "Standard" }, { - "retailPrice": 0.87, + "retailPrice": 0.84, "osType": "Windows", "vmTier": "LowPriority" }, { - "retailPrice": 2.49, + "retailPrice": 2.11, "osType": "Windows", "vmTier": "Standard" } ] - } + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] } ] } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json index 854a7225b1c6..ca0db7b5834e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "location": "eastus2euap", "identity": { @@ -85,59 +85,7 @@ }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, - "sharedPrivateLinkResources": [ - { - "name": "testdbresource", - "properties": { - "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", - "groupId": "Sql", - "requestMessage": "Please approve", - "status": "Approved" - } - } - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", - "name": "testworkspace", - "type": "Microsoft.MachineLearningServices/workspaces", - "location": "eastus2euap", - "identity": { - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444", - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { - "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - } - } - }, - "properties": { - "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", - "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", - "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", - "discoveryUrl": "http://example.com", - "friendlyName": "HelloName", - "description": "test description", - "encryption": { - "status": "Enabled", - "identity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" - }, - "keyVaultProperties": { - "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", - "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", - "identityClientId": "" - } - }, - "hbiWorkspace": false, - "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", "sharedPrivateLinkResources": [ { "name": "testdbresource", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json index 629525537333..c042b38277bd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json new file mode 100644 index 000000000000..7ca129ce7a75 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01", + "parameters": { + "value": { + "udr": {}, + "nsg": {}, + "resourceLock": {}, + "dnsResolution": {}, + "storageAccount": {}, + "keyVault": {}, + "containerRegistry": {}, + "others": {} + } + } + }, + "responses": { + "200": { + "body": { + "value": { + "UDR": [], + "NSG": [], + "ResourceLock": [], + "DNSResolution": [ + { + "code": "CustomDNSInUse", + "level": "Warning", + "message": "We have detected an on-premise dns server is configured. Please make sure conditional forwarding is configured correctly according to doc https://foo" + } + ], + "StorageAccount": [], + "KeyVault": [], + "ContainerRegistry": [], + "Others": [] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json index 306f17931b98..5fdd566b54b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { @@ -47,6 +47,7 @@ "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", "privateLinkCount": 0, "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", "imageBuildCompute": "testcompute", "privateEndpointConnections": [ { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json index 36b5c9335b5c..ddee8f105a76 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json index 98c76fe04ec1..d903527db353 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json index 6a75a7357a2a..e4459a79f7da 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json index 1e02bb8bf985..28a0fdb63450 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listNotebookAccessToken.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json index b2489c8310bc..a03c0eb31d98 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/listStorageAccountKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json index ad5607a0f414..774ba026b870 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/resyncKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json index cfaf8e966a91..b278f987068b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json @@ -3,11 +3,12 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "properties": { "friendlyName": "New friendly name", - "description": "new description" + "description": "new description", + "publicNetworkAccess": "Disabled" } } }, @@ -30,7 +31,8 @@ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", "discoveryUrl": "http://example.com", "friendlyName": "New friendly name", - "description": "new description" + "description": "new description", + "publicNetworkAccess": "Disabled" } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json index b9ac8aba6f9c..c1df092c9e30 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/create.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "parameters": { "properties": { "category": "ACR", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json index 9af6a18fa37f..34cee2db7fe6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json index eb63cb4de626..27dc5e29e5f2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-03-01-preview" + "api-version": "2021-07-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json index bcf7a9fc3dab..82869701c230 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceConnection/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "target": "www.facebook.com", "category": "ACR" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json index 87d906febb22..fc6ba633a28b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceFeature/list.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "testworkspace" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json index 4349f3de6716..2ee3416b711b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/WorkspaceSku/list.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-03-01-preview", + "api-version": "2021-07-01", "subscriptionId": "{subscription-id}" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index d34f75ec32e7..d3eb6b334ce6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Machine Learning Workspaces", "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", - "version": "2021-03-01-preview" + "version": "2021-07-01" }, "host": "management.azure.com", "schemes": [ @@ -148,12 +148,6 @@ "$ref": "#/definitions/Workspace" } }, - "201": { - "description": "The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, "202": { "description": "The request was successful; the request was well-formed and received properly." }, @@ -304,6 +298,82 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose": { + "post": { + "tags": [ + "Workspaces" + ], + "summary": "Diagnose workspace setup issue.", + "operationId": "Workspaces_Diagnose", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "parameters", + "description": "The parameter of diagnosing workspace health", + "schema": { + "$ref": "#/definitions/DiagnoseWorkspaceParameters" + } + } + ], + "responses": { + "202": { + "description": "Success", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DiagnoseResponseResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Diagnose Workspace": { + "$ref": "./examples/Workspace/diagnose.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { "post": { "tags": [ @@ -676,6 +746,9 @@ }, "Get an ComputeInstance": { "$ref": "./examples/Compute/get/ComputeInstance.json" + }, + "Get a Kubernetes Compute": { + "$ref": "./examples/Compute/get/KubernetesCompute.json" } }, "parameters": [ @@ -728,10 +801,7 @@ "Create an ComputeInstance Compute": { "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json" }, - "Create an ComputeInstance Compute with Schedules": { - "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json" - }, - "Create AKS Compute": { + "Create an AKS Compute": { "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json" }, "Create a DataFactory Compute": { @@ -740,8 +810,11 @@ "Update a AML Compute": { "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json" }, - "Update a AKS Compute": { + "Update an AKS Compute": { "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json" + }, + "Attach a Kubernetes Compute": { + "$ref": "./examples/Compute/createOrUpdate/KubernetesCompute.json" } }, "parameters": [ @@ -1142,6 +1215,7 @@ "$ref": "./examples/Compute/restart.json" } }, + "x-ms-long-running-operation": true, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" @@ -1160,57 +1234,7 @@ } ], "responses": { - "200": { - "description": "Success." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateSchedules": { - "post": { - "tags": [ - "MachineLearningComputes" - ], - "operationId": "Compute_UpdateSchedules", - "description": "Updates schedules of a compute instance", - "x-ms-examples": { - "Update schedules of ComputeInstance": { - "$ref": "./examples/Compute/updateSchedules.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ComputeNameParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "name": "parameters", - "in": "body", - "description": "The object for updating schedules of specified ComputeInstance.", - "schema": { - "$ref": "#/definitions/ComputeSchedules" - } - } - ], - "responses": { - "200": { + "202": { "description": "Success." }, "default": { @@ -1449,6 +1473,7 @@ "ProxyOperations" ], "operationId": "Workspaces_PrepareNotebook", + "description": "Prepare a notebook.", "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { "final-state-via": "location" @@ -1497,6 +1522,7 @@ "ProxyOperations" ], "operationId": "Workspaces_ListStorageAccountKeys", + "description": "List storage account keys of a workspace.", "x-ms-examples": { "List Workspace Keys": { "$ref": "./examples/Workspace/listStorageAccountKeys.json" @@ -1538,6 +1564,7 @@ "ProxyOperations" ], "operationId": "Workspaces_ListNotebookKeys", + "description": "List keys of a notebook.", "x-ms-examples": { "List Workspace Keys": { "$ref": "./examples/Notebook/listKeys.json" @@ -1763,6 +1790,51 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": { + "get": { + "tags": [ + "OutboundNetworkDependenciesEndpoints" + ], + "summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.", + "operationId": "Workspaces_ListOutboundNetworkDependenciesEndpoints", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExternalFQDNResponse" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListOutboundNetworkDependenciesEndpoints": { + "$ref": "./examples/ExternalFQDN/get.json" + } + } + } } }, "parameters": { @@ -1951,6 +2023,7 @@ "description": "The sku of the workspace." }, "systemData": { + "description": "System data", "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } @@ -2040,6 +2113,18 @@ "description": "The flag to indicate whether to allow public access when behind VNet.", "default": false }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } + }, "privateEndpointConnections": { "readOnly": true, "type": "array", @@ -2072,6 +2157,16 @@ "description": "The tenant id associated with this workspace.", "type": "string", "readOnly": true + }, + "storageHnsEnabled": { + "description": "If the storage associated with the workspace has HNS enabled.", + "type": "string", + "readOnly": true + }, + "mlFlowTrackingUri": { + "description": "The URI associated with this workspace that machine learning flow must point at to set up tracking.", + "type": "string", + "readOnly": true } } }, @@ -2122,6 +2217,18 @@ "primaryUserAssignedIdentity": { "description": "The user assigned identity resource id that represents the workspace identity.", "type": "string" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } } } }, @@ -2273,6 +2380,14 @@ "title": "Estimated VM prices", "description": "The estimated price information for using a VM.", "$ref": "#/definitions/EstimatedVMPrices" + }, + "supportedComputeTypes": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Supported Compute Types", + "description": "Specifies the compute types supported by the virtual machine size." } }, "description": "Describes the properties of a VM size." @@ -2320,6 +2435,7 @@ "description": "The estimated price info for using a VM." }, "EstimatedVMPrice": { + "type": "object", "properties": { "retailPrice": { "type": "number", @@ -2436,6 +2552,151 @@ }, "description": "Quota update parameters." }, + "DiagnoseRequestProperties": { + "type": "object", + "description": "Properties of a diagnose request", + "properties": { + "udr": { + "description": "Setting for diagnosing user defined routing", + "type": "object" + }, + "nsg": { + "description": "Setting for diagnosing network security group", + "type": "object" + }, + "resourceLock": { + "description": "Setting for diagnosing resource lock", + "type": "object" + }, + "dnsResolution": { + "description": "Setting for diagnosing dns resolution", + "type": "object" + }, + "storageAccount": { + "description": "Setting for diagnosing dependent storage account", + "type": "object" + }, + "keyVault": { + "description": "Setting for diagnosing dependent key vault", + "type": "object" + }, + "containerRegistry": { + "description": "Setting for diagnosing dependent container registry", + "type": "object" + }, + "others": { + "description": "Setting for diagnosing unclassified category of problems", + "type": "object" + } + } + }, + "DiagnoseWorkspaceParameters": { + "type": "object", + "description": "Parameters to diagnose a workspace", + "properties": { + "value": { + "description": "Value of Parameters", + "$ref": "#/definitions/DiagnoseRequestProperties" + } + } + }, + "DiagnoseResult": { + "type": "object", + "description": "Result of Diagnose", + "properties": { + "code": { + "description": "Code for workspace setup error", + "type": "string", + "readOnly": true + }, + "level": { + "description": "Level of workspace setup error", + "enum": [ + "Warning", + "Error" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DiagnoseResultLevel", + "modelAsString": true + } + }, + "message": { + "description": "Message of workspace setup error", + "type": "string", + "readOnly": true + } + } + }, + "DiagnoseResponseResult": { + "type": "object", + "description": "Result of DiagnoseResponse", + "properties": { + "value": { + "type": "object", + "description": "Value of DiagnoseResponse", + "properties": { + "UDR": { + "type": "array", + "description": "UDR value", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "NSG": { + "type": "array", + "description": "NSG value", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "ResourceLock": { + "type": "array", + "description": "Resource Lock", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "DNSResolution": { + "type": "array", + "description": "DNS Resolution", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "StorageAccount": { + "type": "array", + "description": "Storage Account", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "KeyVault": { + "type": "array", + "description": "The KeyVault", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "ContainerRegistry": { + "type": "array", + "description": "Container Registry", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "Others": { + "type": "array", + "description": "Other items", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + } + } + } + } + }, "UpdateWorkspaceQuotasResult": { "properties": { "value": { @@ -2811,6 +3072,7 @@ "description": "The sku of the workspace." }, "systemData": { + "description": "System data", "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } @@ -2969,7 +3231,199 @@ ], "x-ms-discriminator-value": "AKS" }, - "AmlCompute": { + "Kubernetes": { + "description": "A Machine Learning compute based on Kubernetes Compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "#/definitions/KubernetesSchema" + } + ], + "x-ms-discriminator-value": "Kubernetes" + }, + "KubernetesSchema": { + "type": "object", + "description": "Kubernetes Compute Schema", + "properties": { + "properties": { + "description": "Properties of Kubernetes", + "$ref": "#/definitions/KubernetesProperties" + } + } + }, + "KubernetesProperties": { + "type": "object", + "description": "Kubernetes properties", + "properties": { + "relayConnectionString": { + "description": "Relay connection string.", + "type": "string" + }, + "serviceBusConnectionString": { + "description": "ServiceBus connection string.", + "type": "string" + }, + "extensionPrincipalId": { + "description": "Extension principal-id.", + "type": "string" + }, + "extensionInstanceReleaseTrain": { + "description": "Extension instance release train.", + "type": "string" + }, + "vcName": { + "description": "VC name.", + "type": "string" + }, + "namespace": { + "description": "Compute namespace", + "type": "string", + "default": "default" + }, + "defaultInstanceType": { + "description": "Default instance type", + "type": "string" + }, + "instanceTypes": { + "description": "Instance Type Schema", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InstanceTypeSchema" + } + } + } + }, + "AmlComputeProperties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + }, + "AmlCompute": { "description": "An Azure Machine Learning compute.", "allOf": [ { @@ -2977,140 +3431,109 @@ }, { "type": "object", + "description": "Properties(top level) of AmlCompute", "properties": { "properties": { - "type": "object", - "description": "AML Compute properties", - "properties": { - "osType": { - "description": "Compute OS Type", - "type": "string", - "default": "Linux", - "enum": [ - "Linux", - "Windows" - ], - "x-ms-enum": { - "name": "OsType", - "modelAsString": true - } - }, - "vmSize": { - "description": "Virtual Machine Size", - "type": "string" - }, - "vmPriority": { - "description": "Virtual Machine priority", - "type": "string", - "enum": [ - "Dedicated", - "LowPriority" - ], - "x-ms-enum": { - "name": "VmPriority", - "modelAsString": true - } - }, - "virtualMachineImage": { - "description": "Virtual Machine image for AML Compute - windows only", - "$ref": "#/definitions/VirtualMachineImage" - }, - "isolatedNetwork": { - "description": "Network is isolated or not", - "type": "boolean" - }, - "scaleSettings": { - "description": "Scale settings for AML Compute", - "$ref": "#/definitions/ScaleSettings" - }, - "userAccountCredentials": { - "title": "User account credentials.", - "description": "Credentials for an administrator user account that will be created on each compute node.", - "$ref": "#/definitions/UserAccountCredentials" - }, - "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" - }, - "remoteLoginPortPublicAccess": { - "type": "string", - "default": "NotSpecified", - "title": "Close remote Login Access Port", - "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" - ], - "x-ms-enum": { - "name": "remoteLoginPortPublicAccess", - "modelAsString": true - } - }, - "allocationState": { - "type": "string", - "readOnly": true, - "title": "Allocation state.", - "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" - ], - "x-ms-enum": { - "name": "AllocationState", - "modelAsString": true - } - }, - "allocationStateTransitionTime": { - "type": "string", - "readOnly": true, - "format": "date-time", - "title": "Allocation state transition time.", - "description": "The time at which the compute entered its current allocation state." - }, - "errors": { - "readOnly": true, - "title": "Errors.", - "description": "Collection of errors encountered by various compute nodes during node setup.", - "type": "array", - "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "currentNodeCount": { - "type": "integer", - "readOnly": true, - "format": "int32", - "title": "Current node count.", - "description": "The number of compute nodes currently assigned to the compute." - }, - "targetNodeCount": { - "type": "integer", - "readOnly": true, - "format": "int32", - "title": "Target node count.", - "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." - }, - "nodeStateCounts": { - "title": "Node state counts.", - "description": "Counts of various node states on the compute.", - "readOnly": true, - "$ref": "#/definitions/NodeStateCounts" - }, - "enableNodePublicIp": { - "type": "boolean", - "default": true, - "title": "Enable node public IP.", - "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." - } - } + "description": "Properties of AmlCompute", + "$ref": "#/definitions/AmlComputeProperties" } } } ], "x-ms-discriminator-value": "AmlCompute" }, + "ComputeInstanceProperties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "setupScripts": { + "description": "Details of customized scripts to execute for setting up the cluster.", + "$ref": "#/definitions/SetupScripts" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + } + } + }, "ComputeInstance": { "description": "An Azure Machine Learning compute instance.", "allOf": [ @@ -3119,102 +3542,11 @@ }, { "type": "object", + "description": "Properties(top level) of ComputeInstance", "properties": { "properties": { - "description": "Compute Instance properties", - "type": "object", - "properties": { - "vmSize": { - "description": "Virtual Machine Size", - "type": "string" - }, - "subnet": { - "title": "Subnet.", - "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" - }, - "applicationSharingPolicy": { - "type": "string", - "default": "Shared", - "title": "Sharing policy for applications on this compute instance", - "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", - "enum": [ - "Personal", - "Shared" - ], - "x-ms-enum": { - "name": "applicationSharingPolicy", - "modelAsString": true - } - }, - "sshSettings": { - "description": "Specifies policy and settings for SSH access.", - "$ref": "#/definitions/ComputeInstanceSshSettings" - }, - "connectivityEndpoints": { - "readOnly": true, - "description": "Describes all connectivity endpoints available for this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" - }, - "applications": { - "type": "array", - "readOnly": true, - "description": "Describes available applications and their endpoints on this ComputeInstance.", - "items": { - "$ref": "#/definitions/ComputeInstanceApplication" - } - }, - "createdBy": { - "readOnly": true, - "description": "Describes information on user who created this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceCreatedBy" - }, - "errors": { - "readOnly": true, - "title": "Errors.", - "description": "Collection of errors encountered on this ComputeInstance.", - "type": "array", - "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "state": { - "description": "The current state of this ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceState", - "readOnly": true - }, - "computeInstanceAuthorizationType": { - "type": "string", - "title": "Compute Instance Authorization type.", - "description": "The Compute Instance Authorization type. Available values are personal (default).", - "default": "personal", - "enum": [ - "personal" - ], - "x-ms-enum": { - "name": "ComputeInstanceAuthorizationType", - "modelAsString": true - } - }, - "personalComputeInstanceSettings": { - "title": "Personal Compute Instance settings.", - "description": "Settings for a personal compute instance.", - "$ref": "#/definitions/PersonalComputeInstanceSettings" - }, - "setupScripts": { - "description": "Details of customized scripts to execute for setting up the cluster.", - "$ref": "#/definitions/SetupScripts" - }, - "lastOperation": { - "description": "The last operation on ComputeInstance.", - "$ref": "#/definitions/ComputeInstanceLastOperation", - "readOnly": true - }, - "schedules": { - "description": "The list of schedules to be applied on the compute instance.", - "$ref": "#/definitions/ComputeSchedules" - } - } + "description": "Properties of ComputeInstance", + "$ref": "#/definitions/ComputeInstanceProperties" } } } @@ -3261,6 +3593,25 @@ ], "x-ms-discriminator-value": "VirtualMachine" }, + "HDInsightProperties": { + "type": "object", + "description": "HDInsight compute properties", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + }, "HDInsight": { "description": "A HDInsight compute.", "allOf": [ @@ -3271,22 +3622,7 @@ "type": "object", "properties": { "properties": { - "type": "object", - "properties": { - "sshPort": { - "description": "Port open for ssh connections on the master node of the cluster.", - "type": "integer", - "format": "int32" - }, - "address": { - "description": "Public IP address of the master node of the cluster.", - "type": "string" - }, - "administratorAccount": { - "description": "Admin credentials for master node of the cluster", - "$ref": "#/definitions/VirtualMachineSshCredentials" - } - } + "$ref": "#/definitions/HDInsightProperties" } } } @@ -3299,8 +3635,22 @@ { "$ref": "#/definitions/Compute" } - ], - "x-ms-discriminator-value": "DataFactory" + ], + "x-ms-discriminator-value": "DataFactory" + }, + "DatabricksProperties": { + "type": "object", + "description": "Properties of Databricks", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + }, + "workspaceUrl": { + "description": "Workspace Url", + "type": "string" + } + } }, "Databricks": { "description": "A DataFactory compute.", @@ -3312,17 +3662,7 @@ "type": "object", "properties": { "properties": { - "type": "object", - "properties": { - "databricksAccessToken": { - "description": "Databricks access token", - "type": "string" - }, - "workspaceUrl": { - "description": "Workspace Url", - "type": "string" - } - } + "$ref": "#/definitions/DatabricksProperties" } } } @@ -3353,13 +3693,59 @@ "x-ms-discriminator-value": "DataLakeAnalytics" }, "SynapseSpark": { + "type": "object", "description": "A SynapseSpark compute.", + "properties": { + "properties": { + "type": "object", + "properties": { + "autoScaleProperties": { + "description": "Auto scale properties.", + "$ref": "#/definitions/AutoScaleProperties" + }, + "autoPauseProperties": { + "description": "Auto pause properties.", + "$ref": "#/definitions/AutoPauseProperties" + }, + "sparkVersion": { + "description": "Spark version.", + "type": "string" + }, + "nodeCount": { + "description": "The number of compute nodes currently assigned to the compute.", + "type": "integer", + "format": "int32" + }, + "nodeSize": { + "description": "Node size.", + "type": "string" + }, + "nodeSizeFamily": { + "description": "Node size family.", + "type": "string" + }, + "subscriptionId": { + "description": "Azure subscription identifier.", + "type": "string" + }, + "resourceGroup": { + "description": "Name of the resource group in which workspace is located.", + "type": "string" + }, + "workspaceName": { + "description": "Name of Azure Machine Learning workspace.", + "type": "string" + }, + "poolName": { + "description": "Pool name.", + "type": "string" + } + } + } + }, "allOf": [ { "$ref": "#/definitions/Compute" - }, - { - "$ref": "#/definitions/SynapseSparkPoolProperties" } ], "x-ms-discriminator-value": "SynapseSpark" @@ -3571,12 +3957,21 @@ }, "description": "Counts of various compute node states on the amlCompute." }, - "ClusterUpdateProperties": { + "ScaleSettingsInformation": { + "type": "object", "properties": { "scaleSettings": { "$ref": "#/definitions/ScaleSettings", - "title": "Scale settings.", - "description": "Desired scale settings for the amlCompute." + "title": "Scale settings." + } + }, + "description": "Desired scale settings for the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "properties": { + "description": "Properties of ClusterUpdate", + "$ref": "#/definitions/ScaleSettingsInformation" } }, "description": "The properties of a amlCompute that need to be updated." @@ -3617,26 +4012,25 @@ "$ref": "#/definitions/ComputeNodesInformation" }, { - "type": "object", - "properties": { - "nodes": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/AmlComputeNodeInformation" - }, - "description": "The collection of returned AmlCompute nodes details." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The continuation token." - } - } + "$ref": "#/definitions/AmlComputeNodesResult" } ], "x-ms-discriminator-value": "AmlCompute" }, + "AmlComputeNodesResult": { + "type": "object", + "description": "Result of AmlCompute Nodes", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + } + } + }, "AmlComputeNodeInformation": { "description": "Compute node information related to a AmlCompute.", "properties": { @@ -3727,6 +4121,24 @@ "computeType" ] }, + "AksComputeSecretsProperties": { + "type": "object", + "description": "Properties of AksComputeSecrets", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + }, "AksComputeSecrets": { "description": "Secrets related to a Machine Learning compute based on AKS.", "allOf": [ @@ -3734,21 +4146,7 @@ "$ref": "#/definitions/ComputeSecrets" }, { - "type": "object", - "properties": { - "userKubeConfig": { - "type": "string", - "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." - }, - "adminKubeConfig": { - "type": "string", - "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." - }, - "imagePullSecretName": { - "type": "string", - "description": "Image registry pull secret." - } - } + "$ref": "#/definitions/AksComputeSecretsProperties" } ], "x-ms-discriminator-value": "AKS" @@ -3771,6 +4169,16 @@ ], "x-ms-discriminator-value": "VirtualMachine" }, + "DatabricksComputeSecretsProperties": { + "type": "object", + "description": "Properties of Databricks Compute Secrets", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + }, "DatabricksComputeSecrets": { "description": "Secrets related to a Machine Learning compute based on Databricks.", "allOf": [ @@ -3778,13 +4186,7 @@ "$ref": "#/definitions/ComputeSecrets" }, { - "type": "object", - "properties": { - "databricksAccessToken": { - "description": "access token for databricks account.", - "type": "string" - } - } + "$ref": "#/definitions/DatabricksComputeSecretsProperties" } ], "x-ms-discriminator-value": "Databricks" @@ -3794,6 +4196,7 @@ "description": "The type of compute", "enum": [ "AKS", + "Kubernetes", "AmlCompute", "ComputeInstance", "DataFactory", @@ -3823,6 +4226,7 @@ } }, "PrivateEndpointConnectionListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -3861,6 +4265,7 @@ "description": "The sku of the workspace." }, "systemData": { + "description": "System data", "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, @@ -3992,6 +4397,7 @@ "description": "The sku of the workspace." }, "systemData": { + "description": "System data", "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, @@ -4575,259 +4981,85 @@ } } }, - "SynapseSparkPoolProperties": { + "InstanceTypeSchema": { "type": "object", - "description": "Properties specific to Synapse Spark pools.", + "description": "Instance type schema.", "properties": { - "properties": { + "nodeSelector": { + "type": "object", + "description": "Node Selector", + "additionalProperties": { + "type": "string" + } + }, + "resources": { "type": "object", - "description": "AKS properties", + "description": "Resource requests/limits for this instance type", "properties": { - "autoScaleProperties": { - "description": "Auto scale properties.", - "$ref": "#/definitions/AutoScaleProperties" - }, - "autoPauseProperties": { - "description": "Auto pause properties.", - "$ref": "#/definitions/AutoPauseProperties" - }, - "sparkVersion": { - "description": "Spark version.", - "type": "string" - }, - "nodeCount": { - "description": "The number of compute nodes currently assigned to the compute.", - "type": "integer", - "format": "int32" - }, - "nodeSize": { - "description": "Node size.", - "type": "string" - }, - "nodeSizeFamily": { - "description": "Node size family.", - "type": "string" - }, - "subscriptionId": { - "description": "Azure subscription identifier.", - "type": "string" - }, - "resourceGroup": { - "description": "Name of the resource group in which workspace is located.", - "type": "string" - }, - "workspaceName": { - "description": "Name of Azure Machine Learning workspace.", - "type": "string" + "requests": { + "description": "Resource requests for this instance type", + "$ref": "#/definitions/InstanceResourceSchema" }, - "poolName": { - "description": "Pool name.", - "type": "string" + "limits": { + "description": "Resource limits for this instance type", + "$ref": "#/definitions/InstanceResourceSchema" } } } } }, - "ComputeStartStopSchedule": { + "InstanceResourceSchema": { "type": "object", - "description": "Compute start stop schedule properties", - "properties": { - "id": { - "description": "Schedule id.", - "readOnly": true, - "type": "string" - }, - "provisioningStatus": { - "type": "string", - "enum": [ - "Completed", - "Provisioning", - "Failed" - ], - "x-ms-enum": { - "name": "provisioningStatus", - "modelAsString": true - }, - "readOnly": true, - "description": "The current deployment state of schedule." - }, - "status": { - "$ref": "#/definitions/ScheduleStatus" - }, - "triggerType": { - "$ref": "#/definitions/TriggerType" - }, - "action": { - "$ref": "#/definitions/ComputePowerAction" - }, - "recurrence": { - "$ref": "#/definitions/Recurrence" - }, - "cron": { - "$ref": "#/definitions/Cron" - } - } - }, - "ScheduleStatus": { - "type": "string", - "description": "The schedule status.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "ScheduleStatus", - "modelAsString": true - } - }, - "ScheduleType": { - "type": "string", - "description": "The schedule type.", - "enum": [ - "ComputeStartStop" - ], - "x-ms-enum": { - "name": "ScheduleType", - "modelAsString": true - } - }, - "ComputePowerAction": { - "type": "string", - "description": "The compute power action.", - "enum": [ - "Start", - "Stop" - ], - "x-ms-enum": { - "name": "ComputePowerAction", - "modelAsString": true - } - }, - "TriggerType": { - "type": "string", - "description": "The schedule trigger type.", - "enum": [ - "Recurrence", - "Cron" - ], - "x-ms-enum": { - "name": "TriggerType", - "modelAsString": true - } - }, - "RecurrenceFrequency": { - "type": "string", - "description": "The recurrence frequency.", - "enum": [ - "NotSpecified", - "Second", - "Minute", - "Hour", - "Day", - "Week", - "Month", - "Year" - ], - "x-ms-enum": { - "name": "RecurrenceFrequency", - "modelAsString": true + "description": "Resource requests/limits for this instance type", + "additionalProperties": { + "type": "string" } }, - "RecurrenceSchedule": { + "FQDNEndpointDetail": { "type": "object", - "description": "The recurrence schedule", "properties": { - "minutes": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "The minutes." - }, - "hours": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - }, - "description": "The hours." - }, - "weekDays": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "x-ms-enum": { - "name": "DaysOfWeek", - "modelAsString": false - } - }, - "description": "The days of the week." + "port": { + "format": "int32", + "type": "integer" } } }, - "Recurrence": { + "FQDNEndpoint": { "type": "object", - "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", "properties": { - "frequency": { - "$ref": "#/definitions/RecurrenceFrequency" - }, - "interval": { - "type": "integer", - "format": "int32", - "description": "The interval." - }, - "startTime": { - "type": "string", - "description": "The start time." - }, - "timeZone": { - "type": "string", - "description": "The time zone." + "domainName": { + "type": "string" }, - "schedule": { - "$ref": "#/definitions/RecurrenceSchedule" + "endpointDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpointDetail" + } } } }, - "Cron": { + "FQDNEndpoints": { "type": "object", - "description": "The workflow trigger cron for ComputeStartStop schedule type.", "properties": { - "startTime": { - "type": "string", - "description": "The start time." - }, - "timeZone": { - "type": "string", - "description": "The time zone." + "category": { + "type": "string" }, - "expression": { - "type": "string", - "description": "The cron expression." + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpoint" + } } } }, - "ComputeSchedules": { + "ExternalFQDNResponse": { "type": "object", - "description": "The list of schedules to be applied on the computes", "properties": { - "computeStartStop": { + "value": { "type": "array", "items": { - "$ref": "#/definitions/ComputeStartStopSchedule" - }, - "description": "The list of compute start stop schedules to be applied." + "$ref": "#/definitions/FQDNEndpoints" + } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json index be4345ff1e6e..ff5b04f12c6e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Azure Machine Learning Workspaces", - "version": "2021-03-01-preview" + "version": "2021-07-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json index 1df2a3a27317..0355e1e3a729 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Azure Machine Learning Workspaces", - "version": "2021-03-01-preview" + "version": "2021-07-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md index dce4e4fc53d2..da2c14b8f2be 100644 --- a/specification/machinelearningservices/resource-manager/readme.go.md +++ b/specification/machinelearningservices/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ```yaml $(go) && $(multiapi) batch: + - tag: package-2021-07-01 - tag: package-2021-03-01-preview - tag: package-2020-04-01 - tag: package-2020-03-01 @@ -24,6 +25,15 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` +## Tag: package-2021-07-01 and go + +These settings apply only when `--tag=package-2021-07-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2021-07-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-07-01/$(namespace) +``` + ## Tag: package-2021-03-01-preview and go These settings apply only when `--tag=package-2021-03-01-preview --go` is specified on the command line. diff --git a/specification/machinelearningservices/resource-manager/readme.java.md b/specification/machinelearningservices/resource-manager/readme.java.md index 38010227dd0b..01fd170edcd0 100644 --- a/specification/machinelearningservices/resource-manager/readme.java.md +++ b/specification/machinelearningservices/resource-manager/readme.java.md @@ -18,6 +18,7 @@ service-name: MachineLearningServices ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-07-01 - tag: package-2021-03-01-preview - tag: package-2021-04-01 - tag: package-2021-01-01 @@ -38,6 +39,19 @@ batch: ``` ### Tag: package-2021-03-01-preview and java +These settings apply only when `--tag=package-2021-07-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-07-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2021_07_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_07_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2021-03-01-preview and java + These settings apply only when `--tag=package-2021-03-01-preview --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 4d2686c19b85..b42c40ec35aa 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -27,7 +27,18 @@ These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2021-04-01 +tag: package-2021-07-01 +``` + +### Tag: package-2021-07-01 + +These settings apply only when `--tag=package-2021-07` is specified on the command line. + +```yaml $(tag) == 'package-2021-07-01' +input-file: + - Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json + - Microsoft.MachineLearningServices/stable/2021-07-01/workspaceFeatures.json + - Microsoft.MachineLearningServices/stable/2021-07-01/workspaceSkus.json ``` ### Tag: package-2021-04-01 From 8cf12a1202a537420f1766b16f15bb1639bbaa7f Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 9 Jul 2021 11:50:43 -0700 Subject: [PATCH 063/211] remove more preview features and examples --- custom-words.txt | 1 + .../BatchDeployment/createOrUpdate.json | 234 - .../examples/BatchDeployment/delete.json | 14 - .../examples/BatchDeployment/get.json | 90 - .../examples/BatchDeployment/list.json | 94 - .../examples/BatchDeployment/update.json | 97 - .../BatchEndpoint/createOrUpdate.json | 136 - .../examples/BatchEndpoint/delete.json | 13 - .../examples/BatchEndpoint/get.json | 56 - .../examples/BatchEndpoint/list.json | 61 - .../examples/BatchEndpoint/listKeys.json | 17 - .../examples/BatchEndpoint/update.json | 63 - .../CodeContainer/createOrUpdate.json | 64 - .../examples/CodeContainer/delete.json | 13 - .../examples/CodeContainer/get.json | 33 - .../examples/CodeContainer/list.json | 58 - .../examples/CodeVersion/createOrUpdate.json | 92 - .../examples/CodeVersion/delete.json | 14 - .../2021-07-01/examples/CodeVersion/get.json | 43 - .../2021-07-01/examples/CodeVersion/list.json | 48 - .../DataContainer/createOrUpdate.json | 76 - .../examples/DataContainer/delete.json | 13 - .../examples/DataContainer/get.json | 37 - .../examples/DataContainer/list.json | 65 - .../examples/DataVersion/createOrUpdate.json | 95 - .../examples/DataVersion/delete.json | 14 - .../2021-07-01/examples/DataVersion/get.json | 44 - .../2021-07-01/examples/DataVersion/list.json | 48 - .../AzureBlobWAccountKey/createOrUpdate.json | 136 - .../createOrUpdate.json | 139 - .../createOrUpdate.json | 148 - .../AzureFileWAccountKey/createOrUpdate.json | 136 - .../createOrUpdate.json | 142 - .../createOrUpdate.json | 139 - .../2021-07-01/examples/Datastore/delete.json | 13 - .../2021-07-01/examples/Datastore/get.json | 56 - .../2021-07-01/examples/Datastore/list.json | 60 - .../examples/Datastore/listSecrets.json | 17 - .../EnvironmentContainer/createOrUpdate.json | 82 - .../examples/EnvironmentContainer/delete.json | 13 - .../examples/EnvironmentContainer/get.json | 33 - .../examples/EnvironmentContainer/list.json | 38 - .../createOrUpdate.json | 98 - .../delete.json | 14 - .../EnvironmentSpecificationVersion/get.json | 45 - .../EnvironmentSpecificationVersion/list.json | 82 - .../Job/CommandJob/createOrUpdate.json | 181 - .../examples/Job/CommandJob/get.json | 92 - .../examples/Job/CommandJob/list.json | 98 - .../examples/Job/SweepJob/createOrUpdate.json | 217 - .../2021-07-01/examples/Job/SweepJob/get.json | 84 - .../examples/Job/SweepJob/list.json | 90 - .../2021-07-01/examples/Job/cancel.json | 12 - .../2021-07-01/examples/Job/delete.json | 14 - .../examples/LabelingJob/createOrUpdate.json | 275 - .../examples/LabelingJob/delete.json | 13 - .../examples/LabelingJob/exportLabels.json | 24 - .../2021-07-01/examples/LabelingJob/get.json | 111 - .../2021-07-01/examples/LabelingJob/list.json | 115 - .../examples/LabelingJob/pause.json | 12 - .../examples/LabelingJob/resume.json | 13 - .../ModelContainer/createOrUpdate.json | 64 - .../examples/ModelContainer/delete.json | 13 - .../examples/ModelContainer/get.json | 33 - .../examples/ModelContainer/list.json | 38 - .../examples/ModelVersion/createOrUpdate.json | 97 - .../examples/ModelVersion/delete.json | 14 - .../2021-07-01/examples/ModelVersion/get.json | 47 - .../examples/ModelVersion/list.json | 52 - .../K8sOnlineDeployment/createOrUpdate.json | 203 - .../K8sOnlineDeployment/get.json | 77 - .../K8sOnlineDeployment/update.json | 108 - .../createOrUpdate.json | 199 - .../ManagedOnlineDeployment/get.json | 78 - .../ManagedOnlineDeployment/update.json | 110 - .../examples/OnlineDeployment/delete.json | 15 - .../examples/OnlineDeployment/getLogs.json | 21 - .../examples/OnlineDeployment/list.json | 145 - .../OnlineEndpoint/createOrUpdate.json | 125 - .../examples/OnlineEndpoint/delete.json | 14 - .../examples/OnlineEndpoint/get.json | 50 - .../examples/OnlineEndpoint/getToken.json | 19 - .../examples/OnlineEndpoint/list.json | 54 - .../examples/OnlineEndpoint/listKeys.json | 17 - .../OnlineEndpoint/regenerateKeys.json | 17 - .../examples/OnlineEndpoint/update.json | 74 - .../stable/2021-07-01/mfe.json | 9515 ----------------- 87 files changed, 1 insertion(+), 15573 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json diff --git a/custom-words.txt b/custom-words.txt index 8c0c4b786897..71c127d2a66b 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1137,6 +1137,7 @@ Mkdirs mktorest ML's mlapi +mlFlowTrackingUri mnist modelmanagement modifiedtime diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json deleted file mode 100644 index e0665a3471b5..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/createOrUpdate.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json deleted file mode 100644 index ea9d9cf451e0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json deleted file mode 100644 index 7b8786b625e3..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/get.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json deleted file mode 100644 index 60fd50774dd4..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/list.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json deleted file mode 100644 index 47b43f35442c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchDeployment/update.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "errorThreshold": 0, - "retrySettings": { - "maxRetries": 0, - "timeout": "string" - }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, - "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json deleted file mode 100644 index 7193dc10d7ae..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/createOrUpdate.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "endpointName": "testBatchEndpoint", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "keys": { - "primaryKey": "string", - "secondaryKey": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json deleted file mode 100644 index 45104ebc1299..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json deleted file mode 100644 index 48ee8272b3b9..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/get.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json deleted file mode 100644 index 6912243fd754..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/list.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "count": 1 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json deleted file mode 100644 index ac3d3b432d0a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/listKeys.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "endpointName": "testBatchEndpoint" - }, - "responses": { - "200": { - "body": { - "primaryKey": "string", - "secondaryKey": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json deleted file mode 100644 index 06fab02ba585..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/BatchEndpoint/update.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testBatchEndpoint", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" - }, - "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json deleted file mode 100644 index 71ebee7ba51b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/createOrUpdate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "body": { - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/codes", - "properties": { - "description": "string", - "tags": { - "property1": "string", - "property2": "string" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/codes", - "properties": { - "description": "string", - "tags": { - "property1": "string", - "property2": "string" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json deleted file mode 100644 index 9198deab4166..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json deleted file mode 100644 index 6446f2e5fabb..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/get.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/codes", - "properties": { - "description": "string", - "tags": { - "property1": "string", - "property2": "string" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-08-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json deleted file mode 100644 index 73e02ca2c0bc..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeContainer/list.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/codes", - "properties": { - "description": "string", - "tags": { - "property1": "string", - "property2": "string" - } - }, - "systemData": { - "createdAt": "2020-08-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-08-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer2", - "name": "testContainer2", - "type": "Microsoft.MachineLearningServices/workspaces/codes", - "properties": { - "description": "string", - "tags": { - "property1": "string", - "property2": "string" - } - }, - "systemData": { - "createdAt": "2020-08-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-08-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json deleted file mode 100644 index a8f88ec37b5b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/createOrUpdate.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1", - "body": { - "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", - "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", - "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json deleted file mode 100644 index 6bb446d6869e..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json deleted file mode 100644 index 054e0b6192b5..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/get.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", - "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json deleted file mode 100644 index 72fcc4480273..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/CodeVersion/list.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", - "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json deleted file mode 100644 index bdc677161a55..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/createOrUpdate.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "datacontainer123", - "body": { - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", - "name": "datacontainer123", - "type": "Microsoft.MachineLearningServices/workspaces/data", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", - "name": "datacontainer123", - "type": "Microsoft.MachineLearningServices/workspaces/data", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json deleted file mode 100644 index 8f4fac7c6b98..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "datacontainer123" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json deleted file mode 100644 index 4cb6ef56aa05..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/get.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "datacontainer123" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", - "name": "datacontainer123", - "type": "Microsoft.MachineLearningServices/workspaces/data", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json deleted file mode 100644 index ec4cd60666d2..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataContainer/list.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", - "name": "datastore123", - "type": "Microsoft.MachineLearningServices/workspaces/data", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer124", - "name": "datastore124", - "type": "Microsoft.MachineLearningServices/workspaces/data", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "properties1": "value1", - "properties2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "nextlink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json deleted file mode 100644 index 0723a7cb2785..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/createOrUpdate.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "dataset123", - "version": "1", - "body": { - "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", - "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", - "properties": { - "datasetType": "Simple", - "datastoreId": "string", - "path": "string", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json deleted file mode 100644 index 015e64c15dba..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "dataset123", - "version": "1" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json deleted file mode 100644 index e57de45a9dfe..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/get.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "dataset123", - "version": "1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", - "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json deleted file mode 100644 index 237aaf98a68b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/DataVersion/list.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "dataset123" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", - "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json deleted file mode 100644 index 4256b6a716c7..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey", - "secrets": { - "secretsType": "AccountKey", - "key": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json deleted file mode 100644 index 4fc78ee17415..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "secrets": { - "secretsType": "ServicePrincipal", - "clientSecret": "string" - } - }, - "storeName": "testStore" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "storeName": "testStore" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "storeName": "testStore" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json deleted file mode 100644 index c01877c5ce1b..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "secrets": { - "secretsType": "ServicePrincipal", - "clientSecret": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json deleted file mode 100644 index 2147d4985c96..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey", - "secrets": { - "secretsType": "AccountKey", - "key": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json deleted file mode 100644 index cfc68b024e2a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string", - "secrets": { - "secretsType": "SqlAdmin", - "password": "string" - } - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json deleted file mode 100644 index 605e1811706c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore", - "body": { - "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string", - "secrets": { - "secretsType": "SqlAdmin", - "password": "string" - } - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "201": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json deleted file mode 100644 index d953f417799a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json deleted file mode 100644 index 6d9a1ff86179..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/get.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore" - }, - "responses": { - "200": { - "body": { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json deleted file mode 100644 index 37bf195e3f4e..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/list.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json deleted file mode 100644 index ca384be6e731..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Datastore/listSecrets.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testDatastore" - }, - "responses": { - "200": { - "body": { - "secretsType": "AccountKey", - "key": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json deleted file mode 100644 index e596ec038359..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/createOrUpdate.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testEnvironment", - "body": { - "properties": { - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", - "name": "testEnvironment", - "type": "Microsoft.MachineLearningServices/workspaces/environments", - "properties": { - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string" - }, - "systemData": { - "createdAt": "2020-12-04T03:39:11.300Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-04T03:39:11.300Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", - "name": "testEnvironment", - "type": "Microsoft.MachineLearningServices/workspaces/environments", - "properties": { - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string" - }, - "systemData": { - "createdAt": "2020-12-04T03:39:11.301Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-04T03:39:11.301Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json deleted file mode 100644 index 9198deab4166..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json deleted file mode 100644 index 46258d640ce4..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/get.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "name": "testEnvironment" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", - "name": "testEnvironment", - "type": "Microsoft.MachineLearningServices/workspaces/environments", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json deleted file mode 100644 index 2d7de2bcc85e..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentContainer/list.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", - "name": "testEnvironment", - "type": "Microsoft.MachineLearningServices/workspaces/environments", - "properties": { - "description": "string", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json deleted file mode 100644 index 581526e4d985..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/createOrUpdate.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", - "version": "1", - "api-version": "2021-03-01-preview", - "body": { - "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json deleted file mode 100644 index 11bfc42fbc54..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testContainer", - "version": "1", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json deleted file mode 100644 index 09d4f131f6c8..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/get.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", - "version": "1", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json deleted file mode 100644 index 388d9d8f13f0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/EnvironmentSpecificationVersion/list.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", - "api-version": "2021-03-01-preview", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "2", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "environmentSpecificationType": "Curated", - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json deleted file mode 100644 index 64e43cbdfe63..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/createOrUpdate.json +++ /dev/null @@ -1,181 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob", - "body": { - "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "identity": { - "identityType": "AMLToken" - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "identity": { - "identityType": "AMLToken" - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "identity": { - "identityType": "AMLToken" - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json deleted file mode 100644 index 554ab3dff455..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/get.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Command", - "provisioningState": "Succeeded", - "status": "Running", - "interactionEndpoints": { - "Tracking": { - "jobEndpointType": "Tracking", - "port": null, - "endpoint": "azureml://tracking/endpoint", - "properties": {} - }, - "Studio": { - "jobEndpointType": "Studio", - "port": null, - "endpoint": "https://studio/endpoint", - "properties": {} - } - }, - "output": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", - "path": "path/to/output" - }, - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "identity": { - "identityType": "AMLToken" - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json deleted file mode 100644 index 43150c34a05f..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/CommandJob/list.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "jobType": "Command", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Command", - "provisioningState": "Succeeded", - "status": "Running", - "interactionEndpoints": { - "Tracking": { - "jobEndpointType": "Tracking", - "port": null, - "endpoint": "azureml://tracking/endpoint", - "properties": {} - }, - "Studio": { - "jobEndpointType": "Studio", - "port": null, - "endpoint": "https://studio/endpoint", - "properties": {} - } - }, - "output": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", - "path": "path/to/output" - }, - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "identity": { - "identityType": "AMLToken" - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json deleted file mode 100644 index eda95df628e9..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/createOrUpdate.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob", - "body": { - "properties": { - "jobType": "Sweep", - "searchSpace": { - "name": {} - }, - "objective": { - "primaryMetric": "string", - "goal": "Minimize" - }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, - "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - } - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Sweep", - "searchSpace": { - "name": {} - }, - "objective": { - "primaryMetric": "string", - "goal": "Minimize" - }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, - "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - } - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "jobType": "Sweep", - "searchSpace": { - "name": {} - }, - "objective": { - "primaryMetric": "string", - "goal": "Minimize" - }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, - "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - } - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json deleted file mode 100644 index 4e010f6936c1..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/get.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Sweep", - "searchSpace": { - "name": {} - }, - "objective": { - "primaryMetric": "string", - "goal": "Minimize" - }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, - "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - } - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json deleted file mode 100644 index 599a00dbdda0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/SweepJob/list.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "jobType": "Sweep", - "$skipToken": "skiptoken" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", - "properties": { - "jobType": "Sweep", - "searchSpace": { - "name": {} - }, - "objective": { - "primaryMetric": "string", - "goal": "Minimize" - }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, - "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } - }, - "distribution": { - "distributionType": "PyTorch", - "processCount": 2 - }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" - } - }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json deleted file mode 100644 index df2eaa220536..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/cancel.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob" - }, - "responses": { - "200": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json deleted file mode 100644 index 3eb00d3f546a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Job/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testJob" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json deleted file mode 100644 index 8cdc2d8909b1..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/createOrUpdate.json +++ /dev/null @@ -1,275 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob", - "body": { - "properties": { - "jobType": "Labeling", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "labelCategories": { - "myCategory1": { - "displayName": "myCategory1Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - }, - "myCategory2": { - "displayName": "myCategory2Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - } - }, - "jobInstructions": { - "uri": "link/to/instructions" - }, - "datasetConfiguration": { - "assetName": "myAsset", - "incrementalDatasetRefreshEnabled": true, - "datasetVersion": "1" - }, - "mlAssistConfiguration": { - "inferencingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", - "instanceCount": 1 - }, - "trainingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", - "instanceCount": 1 - }, - "mlAssistEnabled": true - }, - "labelingJobMediaProperties": { - "mediaType": "Image" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", - "name": "testLabelingJob", - "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", - "properties": { - "jobType": "Labeling", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "labelCategories": { - "myCategory1": { - "displayName": "myCategory1Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - }, - "myCategory2": { - "displayName": "myCategory2Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - } - }, - "jobInstructions": { - "uri": "link/to/instructions" - }, - "datasetConfiguration": { - "assetName": "myAsset", - "incrementalDatasetRefreshEnabled": true, - "datasetVersion": "1" - }, - "mlAssistConfiguration": { - "inferencingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", - "instanceCount": 1 - }, - "trainingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", - "instanceCount": 1 - }, - "mlAssistEnabled": true - }, - "labelingJobMediaProperties": { - "mediaType": "Image" - }, - "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "status": "NotStarted", - "progressMetrics": { - "totalDatapointCount": 0, - "completedDatapointCount": 0, - "skippedDatapointCount": 0, - "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" - }, - "statusMessages": [ - { - "level": "Error", - "code": "string", - "message": "string", - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - } - ], - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - }, - "systemData": { - "createdAt": "2020-12-08T01:23:37.235Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:23:37.235Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", - "name": "testLabelingJob", - "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", - "properties": { - "jobType": "Labeling", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "labelCategories": { - "myCategory1": { - "displayName": "myCategory1Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - }, - "myCategory2": { - "displayName": "myCategory2Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - } - }, - "jobInstructions": { - "uri": "link/to/instructions" - }, - "datasetConfiguration": { - "assetName": "myAsset", - "incrementalDatasetRefreshEnabled": true, - "datasetVersion": "1" - }, - "mlAssistConfiguration": { - "inferencingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", - "instanceCount": 1 - }, - "trainingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", - "instanceCount": 1 - }, - "mlAssistEnabled": true - }, - "labelingJobMediaProperties": { - "mediaType": "Image" - }, - "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "status": "NotStarted", - "progressMetrics": { - "totalDatapointCount": 0, - "completedDatapointCount": 0, - "skippedDatapointCount": 0, - "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" - }, - "statusMessages": [ - { - "level": "Error", - "code": "string", - "message": "string", - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - } - ], - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - }, - "systemData": { - "createdAt": "2020-12-08T01:23:37.235Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:23:37.235Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json deleted file mode 100644 index 1ba8bb4c1baf..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json deleted file mode 100644 index 9618c15e7951..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/exportLabels.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob", - "body": { - "format": "Dataset" - } - }, - "responses": { - "200": { - "body": { - "format": "Dataset", - "labelingJobId": "string", - "exportedRowCount": 0, - "startTimeUtc": "2021-02-08T23:34:40.730Z", - "endTimeUtc": "2021-02-08T23:34:40.730Z" - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json deleted file mode 100644 index 543d65f09dd1..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/get.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob", - "includeJobInstructions": true, - "includeLabelCategories": true - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", - "name": "testLabelingJob", - "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", - "properties": { - "jobType": "Labeling", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "labelCategories": { - "myCategory1": { - "displayName": "myCategory1Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - }, - "myCategory2": { - "displayName": "myCategory2Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - } - }, - "jobInstructions": { - "uri": "link/to/instructions" - }, - "datasetConfiguration": { - "assetName": "myAsset", - "incrementalDatasetRefreshEnabled": true, - "datasetVersion": "1" - }, - "mlAssistConfiguration": { - "inferencingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", - "instanceCount": 1 - }, - "trainingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", - "instanceCount": 1 - }, - "mlAssistEnabled": true - }, - "labelingJobMediaProperties": { - "mediaType": "Image" - }, - "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "status": "NotStarted", - "progressMetrics": { - "totalDatapointCount": 0, - "completedDatapointCount": 0, - "skippedDatapointCount": 0, - "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" - }, - "statusMessages": [ - { - "level": "Error", - "code": "string", - "message": "string", - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - } - ], - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - }, - "systemData": { - "createdAt": "2020-12-08T01:23:37.235Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:23:37.235Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json deleted file mode 100644 index 69c756def7da..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/list.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "$skipToken": "skiptoken", - "count": "10" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/labelingJobs/testLabelingJob", - "name": "testLabelingJob", - "type": "Microsoft.MachineLearningServices/workspaces/labelingJobs", - "properties": { - "jobType": "Labeling", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "labelCategories": { - "myCategory1": { - "displayName": "myCategory1Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - }, - "myCategory2": { - "displayName": "myCategory2Title", - "allowMultiSelect": true, - "classes": { - "myLabelClass1": { - "displayName": "myLabelClass1", - "subclasses": {} - }, - "myLabelClass2": { - "displayName": "myLabelClass2", - "subclasses": {} - } - } - } - }, - "jobInstructions": { - "uri": "link/to/instructions" - }, - "datasetConfiguration": { - "assetName": "myAsset", - "incrementalDatasetRefreshEnabled": true, - "datasetVersion": "1" - }, - "mlAssistConfiguration": { - "inferencingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/myscoringcompute", - "instanceCount": 1 - }, - "trainingComputeBinding": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mytrainingcompute", - "instanceCount": 1 - }, - "mlAssistEnabled": true - }, - "labelingJobMediaProperties": { - "mediaType": "Image" - }, - "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", - "status": "NotStarted", - "progressMetrics": { - "totalDatapointCount": 0, - "completedDatapointCount": 0, - "skippedDatapointCount": 0, - "incrementalDatasetLastRefreshTime": "2020-12-08T01:23:37.234Z" - }, - "statusMessages": [ - { - "level": "Error", - "code": "string", - "message": "string", - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - } - ], - "createdTimeUtc": "2020-12-08T01:23:37.234Z" - }, - "systemData": { - "createdAt": "2020-12-08T01:23:37.235Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:23:37.235Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "nextlink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json deleted file mode 100644 index 604eb10453eb..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/pause.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob" - }, - "responses": { - "200": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json deleted file mode 100644 index 2d9060120bdf..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/LabelingJob/resume.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-1234", - "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", - "id": "testLabelingJob" - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json deleted file mode 100644 index 9cbbffb51201..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/createOrUpdate.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "body": { - "properties": { - "description": "Model container description", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/models", - "properties": { - "description": "Model container description", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/models", - "properties": { - "description": "Model container description", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json deleted file mode 100644 index b27feae6a399..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/delete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json deleted file mode 100644 index 882f7bea8801..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/get.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/models", - "properties": { - "description": "Model container description", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json deleted file mode 100644 index c9b29bd90be7..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelContainer/list.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", - "name": "testContainer", - "type": "Microsoft.MachineLearningServices/workspaces/models", - "properties": { - "description": "Model container description", - "tags": { - "tag1": "value1", - "tag2": "value2" - } - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "nextlink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json deleted file mode 100644 index 7b286b921069..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/createOrUpdate.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1", - "body": { - "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", - "flavors": { - "python_function": { - "data": { - "loader_module": "myLoaderModule" - } - } - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", - "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", - "flavors": { - "python_function": { - "data": { - "loader_module": "myLoaderModule" - } - } - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/999", - "name": "999", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", - "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "LocalUpload/12345/some/path" - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json deleted file mode 100644 index 006074c8bb12..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "999" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json deleted file mode 100644 index 3f53e8828158..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/get.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", - "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", - "flavors": { - "python_function": { - "data": { - "loader_module": "myLoaderModule" - } - } - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json deleted file mode 100644 index 076652c890a0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ModelVersion/list.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "name": "testContainer", - "version": "1" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", - "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", - "flavors": { - "python_function": { - "data": { - "loader_module": "myLoaderModule" - } - } - }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" - }, - "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", - "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "nextlink" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json deleted file mode 100644 index 93263fb1ded9..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json +++ /dev/null @@ -1,203 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "endpointComputeType": "K8S", - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "201": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json deleted file mode 100644 index 6883341f031c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment" - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json deleted file mode 100644 index abd51f90e041..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto" - } - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json deleted file mode 100644 index 8592645864d3..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json +++ /dev/null @@ -1,199 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "endpointComputeType": "Managed", - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "201": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json deleted file mode 100644 index 442ca1f3ee70..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment" - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json deleted file mode 100644 index 86048d903773..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto" - } - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json deleted file mode 100644 index 8fb52c1c3862..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/delete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json deleted file mode 100644 index 00e4108887a5..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/getLogs.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", - "body": { - "containerType": "StorageInitializer", - "tail": 0 - } - }, - "responses": { - "200": { - "body": { - "content": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json deleted file mode 100644 index 8fce3fd11e32..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineDeployment/list.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - }, - { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json deleted file mode 100644 index 2c3bca23230a..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/createOrUpdate.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "keys": { - "primaryKey": "string", - "secondaryKey": "string" - }, - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - }, - "201": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json deleted file mode 100644 index 441d05a10f9c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint" - }, - "responses": { - "200": {}, - "202": {}, - "204": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json deleted file mode 100644 index efffbb9b8232..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/get.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint" - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json deleted file mode 100644 index 2e602c96c444..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/getToken.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint" - }, - "responses": { - "200": { - "body": { - "accessToken": "string", - "tokenType": "string", - "expiryTimeUtc": 0, - "refreshAfterTimeUtc": 0 - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json deleted file mode 100644 index 930030042af7..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/list.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json deleted file mode 100644 index 9da4478dae98..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/listKeys.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint" - }, - "responses": { - "200": { - "body": { - "primaryKey": "string", - "secondaryKey": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json deleted file mode 100644 index 70f21e732c3c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/regenerateKeys.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "body": { - "keyType": "Primary", - "keyValue": "string" - } - }, - "responses": { - "200": {}, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json deleted file mode 100644 index e2ef99f27303..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/OnlineEndpoint/update.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", - "endpointName": "testEndpoint", - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, - "properties": { - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - } - } - } - }, - "responses": { - "200": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json deleted file mode 100644 index 1b4f163670f0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/mfe.json +++ /dev/null @@ -1,9515 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Machine Learning Workspaces", - "version": "2021-03-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": { - "get": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Lists Batch inference endpoint in the workspace.", - "operationId": "BatchEndpoints_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "count", - "description": "Number of endpoints to be retrieved in a page of results.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}": { - "delete": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Delete Batch Inference Endpoint.", - "operationId": "BatchEndpoints_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/delete.json" - } - } - }, - "get": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Gets a batch inference endpoint by name.", - "operationId": "BatchEndpoints_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Name for the Batch Endpoint.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/get.json" - } - } - }, - "patch": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Update a batch inference endpoint.", - "operationId": "BatchEndpoints_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Name for the Batch inference endpoint.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Mutable batch inference endpoint definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialBatchEndpointPartialTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - }, - "x-ms-examples": { - "Update Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/update.json" - } - } - }, - "put": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Creates a batch inference endpoint.", - "operationId": "BatchEndpoints_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Name for the Batch inference endpoint.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference endpoint definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments": { - "get": { - "tags": [ - "BatchDeployment" - ], - "summary": "Lists Batch inference deployments in the workspace.", - "operationId": "BatchDeployments_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Endpoint name", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Top of list.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Batch Deployment.": { - "$ref": "./examples/BatchDeployment/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}": { - "delete": { - "tags": [ - "BatchDeployment" - ], - "summary": "Delete Batch Inference deployment.", - "operationId": "BatchDeployments_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Endpoint name", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference deployment identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Batch Deployment.": { - "$ref": "./examples/BatchDeployment/delete.json" - } - } - }, - "get": { - "tags": [ - "BatchDeployment" - ], - "summary": "Gets a batch inference deployment by id.", - "operationId": "BatchDeployments_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Endpoint name", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The identifier for the Batch deployments.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Batch Deployment.": { - "$ref": "./examples/BatchDeployment/get.json" - } - } - }, - "patch": { - "tags": [ - "BatchDeployment" - ], - "summary": "Update a batch inference deployment.", - "operationId": "BatchDeployments_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The identifier for the Batch inference deployment.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference deployment definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialBatchDeploymentPartialTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "Update Batch Deployment.": { - "$ref": "./examples/BatchDeployment/update.json" - } - } - }, - "put": { - "tags": [ - "BatchDeployment" - ], - "summary": "Creates/updates a batch inference deployment.", - "operationId": "BatchDeployments_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The identifier for the Batch inference deployment.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Batch inference deployment definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Batch Deployment.": { - "$ref": "./examples/BatchDeployment/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys": { - "post": { - "tags": [ - "BatchEndpoint" - ], - "summary": "Lists batch Inference Endpoint keys.", - "operationId": "BatchEndpoints_ListKeys", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthKeys" - } - } - }, - "x-ms-examples": { - "ListKeys Batch Endpoint.": { - "$ref": "./examples/BatchEndpoint/listKeys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes": { - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "List containers.", - "operationId": "CodeContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Code Container.": { - "$ref": "./examples/CodeContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}": { - "delete": { - "tags": [ - "CodeContainer" - ], - "summary": "Delete container.", - "operationId": "CodeContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Code Container.": { - "$ref": "./examples/CodeContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "CodeContainer" - ], - "summary": "Get container.", - "operationId": "CodeContainers_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "x-ms-examples": { - "Get Code Container.": { - "$ref": "./examples/CodeContainer/get.json" - } - } - }, - "put": { - "tags": [ - "CodeContainer" - ], - "summary": "Create or update container.", - "operationId": "CodeContainers_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Code Container.": { - "$ref": "./examples/CodeContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions": { - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "List versions.", - "operationId": "CodeVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Code Version.": { - "$ref": "./examples/CodeVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}": { - "delete": { - "tags": [ - "CodeVersion" - ], - "summary": "Delete version.", - "operationId": "CodeVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Code Version.": { - "$ref": "./examples/CodeVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "CodeVersion" - ], - "summary": "Get version.", - "operationId": "CodeVersions_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - } - }, - "x-ms-examples": { - "Get Code Version.": { - "$ref": "./examples/CodeVersion/get.json" - } - } - }, - "put": { - "tags": [ - "CodeVersion" - ], - "summary": "Create or update version.", - "operationId": "CodeVersions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/CodeVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Code Version.": { - "$ref": "./examples/CodeVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data": { - "get": { - "tags": [ - "DataContainer" - ], - "summary": "List containers.", - "operationId": "DataContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Data Container.": { - "$ref": "./examples/DataContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}": { - "delete": { - "tags": [ - "DataContainer" - ], - "summary": "Delete container.", - "operationId": "DataContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Data Container.": { - "$ref": "./examples/DataContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "DataContainer" - ], - "summary": "Get container.", - "operationId": "DataContainers_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - } - }, - "x-ms-examples": { - "Get Data Container.": { - "$ref": "./examples/DataContainer/get.json" - } - } - }, - "put": { - "tags": [ - "DataContainer" - ], - "summary": "Create or update container.", - "operationId": "DataContainers_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Data Container.": { - "$ref": "./examples/DataContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions": { - "get": { - "tags": [ - "DataVersion" - ], - "summary": "List data versions.", - "operationId": "DataVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Data name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Data Version.": { - "$ref": "./examples/DataVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/data/{name}/versions/{version}": { - "delete": { - "tags": [ - "DataVersion" - ], - "summary": "Delete version.", - "operationId": "DataVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Data Version.": { - "$ref": "./examples/DataVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "DataVersion" - ], - "summary": "Get version.", - "operationId": "DataVersions_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionResource" - } - } - }, - "x-ms-examples": { - "Get Data Version.": { - "$ref": "./examples/DataVersion/get.json" - } - } - }, - "put": { - "tags": [ - "DataVersion" - ], - "summary": "Create or update version.", - "operationId": "DataVersions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DataVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DataVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Data Version.": { - "$ref": "./examples/DataVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": { - "get": { - "tags": [ - "Datastore" - ], - "summary": "List datastores.", - "operationId": "Datastores_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "count", - "description": "Maximum number of results to return.", - "type": "integer", - "format": "int32", - "default": 30 - }, - { - "in": "query", - "name": "isDefault", - "description": "Filter down to the workspace default datastore.", - "type": "boolean" - }, - { - "in": "query", - "name": "names", - "description": "Names of datastores to return.", - "type": "array", - "items": { - "type": "string" - } - }, - { - "in": "query", - "name": "searchText", - "description": "Text to search for in the datastore names.", - "type": "string" - }, - { - "in": "query", - "name": "orderBy", - "description": "Order by property (createdtime | modifiedtime | name).", - "type": "string" - }, - { - "in": "query", - "name": "orderByAsc", - "description": "Order by property in ascending order.", - "type": "boolean", - "default": false - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DatastorePropertiesResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List datastores.": { - "$ref": "./examples/Datastore/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": { - "delete": { - "tags": [ - "Datastore" - ], - "summary": "Delete datastore.", - "operationId": "Datastores_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Datastore name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete datastore.": { - "$ref": "./examples/Datastore/delete.json" - } - } - }, - "get": { - "tags": [ - "Datastore" - ], - "summary": "Get datastore.", - "operationId": "Datastores_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Datastore name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DatastorePropertiesResource" - } - } - }, - "x-ms-examples": { - "Get datastore.": { - "$ref": "./examples/Datastore/get.json" - } - } - }, - "put": { - "tags": [ - "Datastore" - ], - "summary": "Create or update datastore.", - "operationId": "Datastores_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Datastore name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "skipValidation", - "description": "Flag to skip validation.", - "type": "boolean", - "default": false - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Datastore entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/DatastorePropertiesResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DatastorePropertiesResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DatastorePropertiesResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate datastore (AzureBlob w/ AccountKey).": { - "$ref": "./examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).": { - "$ref": "./examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).": { - "$ref": "./examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { - "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure Postgre SQL w/ SQL Admin).": { - "$ref": "./examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure SQL Database w/ SQL Admin).": { - "$ref": "./examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets": { - "post": { - "tags": [ - "Datastore" - ], - "summary": "Get datastore secrets.", - "operationId": "Datastores_ListSecrets", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Datastore name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "description": "Base definition for datastore secrets.", - "$ref": "#/definitions/DatastoreSecrets" - } - } - }, - "x-ms-examples": { - "Get datastore secrets.": { - "$ref": "./examples/Datastore/listSecrets.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments": { - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "List containers.", - "operationId": "EnvironmentContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Environment Container.": { - "$ref": "./examples/EnvironmentContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}": { - "delete": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Delete container.", - "operationId": "EnvironmentContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Environment Container.": { - "$ref": "./examples/EnvironmentContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Get container.", - "operationId": "EnvironmentContainers_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "x-ms-examples": { - "Get Environment Container.": { - "$ref": "./examples/EnvironmentContainer/get.json" - } - } - }, - "put": { - "tags": [ - "EnvironmentContainer" - ], - "summary": "Create or update container.", - "operationId": "EnvironmentContainers_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Environment Container.": { - "$ref": "./examples/EnvironmentContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions": { - "get": { - "tags": [ - "EnvironmentSpecification" - ], - "summary": "List versions.", - "operationId": "EnvironmentSpecificationVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Environment Specification Version.": { - "$ref": "./examples/EnvironmentSpecificationVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}": { - "delete": { - "tags": [ - "EnvironmentSpecification" - ], - "summary": "Delete version.", - "operationId": "EnvironmentSpecificationVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Environment Specification Version.": { - "$ref": "./examples/EnvironmentSpecificationVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "EnvironmentSpecification" - ], - "summary": "Get version.", - "operationId": "EnvironmentSpecificationVersions_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResource" - } - } - }, - "x-ms-examples": { - "Get Environment Specification Version.": { - "$ref": "./examples/EnvironmentSpecificationVersion/get.json" - } - } - }, - "put": { - "tags": [ - "EnvironmentSpecification" - ], - "summary": "Creates or updates an EnvironmentSpecificationVersion.", - "operationId": "EnvironmentSpecificationVersions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Name of EnvironmentSpecificationVersion.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version of EnvironmentSpecificationVersion.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Definition of EnvironmentSpecificationVersion.", - "required": true, - "schema": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Environment Specification Version.": { - "$ref": "./examples/EnvironmentSpecificationVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { - "get": { - "tags": [ - "Job" - ], - "summary": "Lists Jobs in the workspace.", - "operationId": "Jobs_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "jobType", - "description": "Type of job to be returned.", - "type": "string" - }, - { - "in": "query", - "name": "tags", - "description": "Tags for job to be returned.", - "type": "string" - }, - { - "in": "query", - "name": "tag", - "description": "Jobs returned will have this tag key.", - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Command Job.": { - "$ref": "./examples/Job/CommandJob/list.json" - }, - "List Sweep Job.": { - "$ref": "./examples/Job/SweepJob/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { - "delete": { - "tags": [ - "Job" - ], - "summary": "Deletes a Job (asynchronous).", - "operationId": "Jobs_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the Job.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Job.": { - "$ref": "./examples/Job/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "Job" - ], - "summary": "Gets a Job by name/id.", - "operationId": "Jobs_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the Job.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "x-ms-examples": { - "Get Command Job.": { - "$ref": "./examples/Job/CommandJob/get.json" - }, - "Get Sweep Job.": { - "$ref": "./examples/Job/SweepJob/get.json" - } - } - }, - "put": { - "tags": [ - "Job" - ], - "summary": "Creates and executes a Job.", - "operationId": "Jobs_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the Job.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Job definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Command Job.": { - "$ref": "./examples/Job/CommandJob/createOrUpdate.json" - }, - "CreateOrUpdate Sweep Job.": { - "$ref": "./examples/Job/SweepJob/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel": { - "post": { - "tags": [ - "Job" - ], - "summary": "Cancels a Job.", - "operationId": "Jobs_Cancel", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the Job.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - } - }, - "x-ms-examples": { - "Cancel Job.": { - "$ref": "./examples/Job/cancel.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs": { - "get": { - "tags": [ - "LabelingJob" - ], - "summary": "Lists labeling jobs in the workspace.", - "operationId": "LabelingJobs_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "count", - "description": "Number of labeling jobs to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LabelingJobResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Labeling Job.": { - "$ref": "./examples/LabelingJob/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}": { - "delete": { - "tags": [ - "LabelingJob" - ], - "summary": "Delete a labeling job.", - "operationId": "LabelingJobs_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Labeling Job.": { - "$ref": "./examples/LabelingJob/delete.json" - } - } - }, - "get": { - "tags": [ - "LabelingJob" - ], - "summary": "Gets a labeling job by name/id.", - "operationId": "LabelingJobs_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "includeJobInstructions", - "description": "Boolean value to indicate whether to include JobInstructions in response.", - "type": "boolean" - }, - { - "in": "query", - "name": "includeLabelCategories", - "description": "Boolean value to indicate Whether to include LabelCategories in response.", - "type": "boolean" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LabelingJobResource" - } - } - }, - "x-ms-examples": { - "Get Labeling Job.": { - "$ref": "./examples/LabelingJob/get.json" - } - } - }, - "put": { - "tags": [ - "LabelingJob" - ], - "summary": "Creates or updates a labeling job (asynchronous).", - "operationId": "LabelingJobs_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "LabelingJob definition object.", - "required": true, - "schema": { - "$ref": "#/definitions/LabelingJobResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/LabelingJobResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/LabelingJobResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Labeling Job.": { - "$ref": "./examples/LabelingJob/createOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/exportLabels": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Export labels from a labeling job (asynchronous).", - "operationId": "LabelingJobs_ExportLabels", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "The export summary.", - "required": true, - "schema": { - "$ref": "#/definitions/ExportSummary" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ExportSummary" - } - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "ExportLabels Labeling Job.": { - "$ref": "./examples/LabelingJob/exportLabels.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/pause": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Pause a labeling job.", - "operationId": "LabelingJobs_Pause", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - } - }, - "x-ms-examples": { - "Pause Labeling Job.": { - "$ref": "./examples/LabelingJob/pause.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}/resume": { - "post": { - "tags": [ - "LabelingJob" - ], - "summary": "Resume a labeling job (asynchronous).", - "operationId": "LabelingJobs_Resume", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "id", - "description": "The name and identifier for the LabelingJob.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Resume Labeling Job.": { - "$ref": "./examples/LabelingJob/resume.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "List model containers.", - "operationId": "ModelContainers_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "count", - "description": "Maximum number of results to return.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Model Container.": { - "$ref": "./examples/ModelContainer/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { - "delete": { - "tags": [ - "ModelContainer" - ], - "summary": "Delete container.", - "operationId": "ModelContainers_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Model Container.": { - "$ref": "./examples/ModelContainer/delete.json" - } - } - }, - "get": { - "tags": [ - "ModelContainer" - ], - "summary": "Get container.", - "operationId": "ModelContainers_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "x-ms-examples": { - "Get Model Container.": { - "$ref": "./examples/ModelContainer/get.json" - } - } - }, - "put": { - "tags": [ - "ModelContainer" - ], - "summary": "Create or update container.", - "operationId": "ModelContainers_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Container entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Model Container.": { - "$ref": "./examples/ModelContainer/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "List model versions.", - "operationId": "ModelVersions_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Model name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Maximum number of records to return.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "version", - "description": "Model version.", - "type": "string" - }, - { - "in": "query", - "name": "description", - "description": "Model description.", - "type": "string" - }, - { - "in": "query", - "name": "offset", - "description": "Number of initial results to skip.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "tags", - "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", - "type": "string" - }, - { - "in": "query", - "name": "properties", - "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Model Version.": { - "$ref": "./examples/ModelVersion/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { - "delete": { - "tags": [ - "ModelVersion" - ], - "summary": "Delete version.", - "operationId": "ModelVersions_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - } - }, - "x-ms-examples": { - "Delete Model Version.": { - "$ref": "./examples/ModelVersion/delete.json" - } - } - }, - "get": { - "tags": [ - "ModelVersion" - ], - "summary": "Get version.", - "operationId": "ModelVersions_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "x-ms-examples": { - "Get Model Version.": { - "$ref": "./examples/ModelVersion/get.json" - } - } - }, - "put": { - "tags": [ - "ModelVersion" - ], - "summary": "Create or update version.", - "operationId": "ModelVersions_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "name", - "description": "Container name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "version", - "description": "Version identifier.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Version entity to create or update.", - "required": true, - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Model Version.": { - "$ref": "./examples/ModelVersion/createOrUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints": { - "get": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "List Online Endpoints.", - "operationId": "OnlineEndpoints_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "name", - "description": "Name of the endpoint.", - "type": "string" - }, - { - "in": "query", - "name": "count", - "description": "Number of endpoints to be retrieved in a page of results.", - "type": "integer", - "format": "int32" - }, - { - "in": "query", - "name": "computeType", - "description": "EndpointComputeType to be filtered by.", - "type": "string", - "enum": [ - "Managed", - "K8S", - "AzureMLCompute" - ], - "x-ms-enum": { - "name": "EndpointComputeType", - "modelAsString": true - } - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "in": "query", - "name": "tags", - "description": "A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .", - "type": "string" - }, - { - "in": "query", - "name": "properties", - "description": "A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", - "type": "string" - }, - { - "in": "query", - "name": "orderBy", - "description": "The option to order the response.", - "type": "string", - "enum": [ - "CreatedAtDesc", - "CreatedAtAsc", - "UpdatedAtDesc", - "UpdatedAtAsc" - ], - "x-ms-enum": { - "name": "OrderString", - "modelAsString": true - } - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { - "delete": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Delete Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "204": { - "description": "No Content" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - }, - "200": { - "description": "Success" - } - }, - "x-ms-examples": { - "Delete Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Get Online Endpoint.", - "operationId": "OnlineEndpoints_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/get.json" - } - } - }, - "patch": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Update Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Online Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialOnlineEndpointPartialTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/update.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "put": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Create or update Online Endpoint (asynchronous).", - "operationId": "OnlineEndpoints_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Online Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/createOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { - "get": { - "tags": [ - "OnlineDeployment" - ], - "summary": "List Inference Endpoint Deployments.", - "operationId": "OnlineDeployments_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "query", - "name": "$orderBy", - "description": "Ordering of list.", - "type": "string" - }, - { - "in": "query", - "name": "$top", - "description": "Top of list.", - "type": "integer", - "format": "int32" - }, - { - "$ref": "machineLearningServices.json#/parameters/PaginationParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" - } - } - }, - "x-ms-examples": { - "List Online Deployments.": { - "$ref": "./examples/OnlineDeployment/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { - "delete": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Delete Inference Endpoint Deployment (asynchronous).", - "operationId": "OnlineDeployments_Delete", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "204": { - "description": "No Content" - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Delete Online Deployment.": { - "$ref": "./examples/OnlineDeployment/delete.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Get Inference Deployment Deployment.", - "operationId": "OnlineDeployments_Get", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - } - }, - "x-ms-examples": { - "Get Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" - }, - "Get K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/get.json" - } - } - }, - "patch": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Update Online Deployment (asynchronous).", - "operationId": "OnlineDeployments_Update", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Online Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/PartialOnlineDeploymentPartialTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - }, - "202": { - "description": "Accepted", - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "Update Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" - }, - "Update K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/update.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "put": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Create or update Inference Endpoint Deployment (asynchronous).", - "operationId": "OnlineDeployments_CreateOrUpdate", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "in": "path", - "name": "deploymentName", - "description": "Inference Endpoint Deployment name.", - "required": true, - "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "Inference Endpoint entity to apply during operation.", - "required": true, - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - }, - "headers": { - "x-ms-async-operation-timeout": { - "description": "Timeout for the client to use when polling the asynchronous operation.", - "type": "string", - "format": "duration" - }, - "Azure-AsyncOperation": { - "description": "URI to poll for asynchronous operation status.", - "type": "string" - } - } - } - }, - "x-ms-examples": { - "CreateOrUpdate Managed Online Deployment.": { - "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" - }, - "CreateOrUpdate K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": { - "post": { - "tags": [ - "OnlineDeployment" - ], - "summary": "Polls an Endpoint operation.", - "operationId": "OnlineDeployments_GetLogs", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Inference endpoint name.", - "required": true, - "type": "string" - }, - { - "in": "path", - "name": "deploymentName", - "description": "The name and identifier for the endpoint.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "The request containing parameters for retrieving logs.", - "required": true, - "schema": { - "$ref": "#/definitions/DeploymentLogsRequest" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/DeploymentLogs" - } - } - }, - "x-ms-examples": { - "Get Online Deployment Logs.": { - "$ref": "./examples/OnlineDeployment/getLogs.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys": { - "post": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", - "operationId": "OnlineEndpoints_ListKeys", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthKeys" - } - } - }, - "x-ms-examples": { - "ListKeys Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/listKeys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys": { - "post": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", - "operationId": "OnlineEndpoints_RegenerateKeys", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - }, - { - "in": "body", - "name": "body", - "description": "RegenerateKeys request .", - "required": true, - "schema": { - "$ref": "#/definitions/RegenerateEndpointKeysRequest" - } - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success" - }, - "202": { - "description": "Accepted", - "headers": { - "Location": { - "description": "URI to poll for asynchronous operation result.", - "type": "string" - }, - "Retry-After": { - "description": "Duration the client should wait between requests, in seconds.", - "type": "integer", - "format": "int32", - "maximum": 600, - "minimum": 10 - } - } - } - }, - "x-ms-examples": { - "RegenerateKeys Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/regenerateKeys.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token": { - "post": { - "tags": [ - "OnlineEndpoint" - ], - "summary": "Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.", - "operationId": "OnlineEndpoints_GetToken", - "produces": [ - "application/json" - ], - "parameters": [ - { - "in": "path", - "name": "endpointName", - "description": "Online Endpoint name.", - "required": true, - "type": "string" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - }, - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/EndpointAuthToken" - } - } - }, - "x-ms-examples": { - "GetToken Online Endpoint.": { - "$ref": "./examples/OnlineEndpoint/getToken.json" - } - } - } - } - }, - "definitions": { - "AccountKeyDatastoreCredentials": { - "description": "Account key datastore credentials configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "Storage account secrets.", - "$ref": "#/definitions/AccountKeyDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "AccountKey", - "additionalProperties": false - }, - "AccountKeyDatastoreSecrets": { - "description": "Datastore account key secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "key": { - "description": "Storage account key.", - "type": "string" - } - }, - "x-ms-discriminator-value": "AccountKey", - "additionalProperties": false - }, - "AmlToken": { - "description": "AML Token identity configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" - } - ], - "x-ms-discriminator-value": "AMLToken", - "additionalProperties": false - }, - "AssetReferenceBase": { - "description": "Base definition for asset references.", - "required": [ - "referenceType" - ], - "type": "object", - "properties": { - "referenceType": { - "description": "Specifies the type of asset reference.", - "$ref": "#/definitions/ReferenceType" - } - }, - "discriminator": "referenceType" - }, - "AutoScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineScaleSettings" - } - ], - "properties": { - "pollingInterval": { - "format": "duration", - "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", - "type": "string" - }, - "targetUtilizationPercentage": { - "format": "int32", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Auto", - "additionalProperties": false - }, - "AzureBlobContents": { - "description": "Azure Blob datastore configuration.", - "required": [ - "accountName", - "containerName", - "credentials", - "endpoint", - "protocol" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "accountName": { - "description": "Storage account name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "containerName": { - "description": "Storage account container name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureBlob", - "additionalProperties": false - }, - "AzureDataLakeGen1Contents": { - "description": "Azure Data Lake Gen1 datastore configuration.", - "required": [ - "credentials", - "storeName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "storeName": { - "description": "Azure Data Lake store name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "AzureDataLakeGen1", - "additionalProperties": false - }, - "AzureDataLakeGen2Contents": { - "description": "Azure Data Lake Gen2 datastore configuration.", - "required": [ - "accountName", - "containerName", - "credentials", - "endpoint", - "protocol" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "accountName": { - "description": "Storage account name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "containerName": { - "description": "Storage account container name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureDataLakeGen2", - "additionalProperties": false - }, - "AzureFileContents": { - "description": "Azure File datastore configuration.", - "required": [ - "accountName", - "containerName", - "credentials", - "endpoint", - "protocol" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "accountName": { - "description": "Storage account name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "containerName": { - "description": "Storage account container name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "endpoint": { - "description": "Azure cloud endpoint for the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "core.windows.net", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "protocol": { - "description": "Protocol used to communicate with the storage account.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "https", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureFile", - "additionalProperties": false - }, - "AzurePostgreSqlContents": { - "description": "Azure Postgre SQL datastore configuration.", - "required": [ - "credentials", - "databaseName", - "endpoint", - "portNumber", - "serverName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "databaseName": { - "description": "Azure SQL database name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "enableSSL": { - "description": "Whether the Azure PostgreSQL server requires SSL.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "endpoint": { - "description": "Azure cloud endpoint for the database.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "database.windows.net", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "portNumber": { - "format": "int32", - "description": "Azure SQL server port.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "serverName": { - "description": "Azure SQL server name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzurePostgreSql", - "additionalProperties": false - }, - "AzureSqlDatabaseContents": { - "description": "Azure SQL Database datastore configuration.", - "required": [ - "credentials", - "databaseName", - "endpoint", - "portNumber", - "serverName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "credentials": { - "description": "Account credentials.", - "$ref": "#/definitions/DatastoreCredentials" - }, - "databaseName": { - "description": "Azure SQL database name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "endpoint": { - "description": "Azure cloud endpoint for the database.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "example": "database.windows.net", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "portNumber": { - "format": "int32", - "description": "Azure SQL server port.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "serverName": { - "description": "Azure SQL server name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "AzureSqlDatabase", - "additionalProperties": false - }, - "BanditPolicy": { - "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "properties": { - "slackAmount": { - "format": "float", - "type": "number" - }, - "slackFactor": { - "format": "float", - "type": "number" - } - }, - "x-ms-discriminator-value": "Bandit", - "additionalProperties": false - }, - "BatchDeployment": { - "description": "Batch inference settings per deployment.", - "type": "object", - "properties": { - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration" - }, - "compute": { - "description": "Configuration for compute binding.", - "$ref": "#/definitions/ComputeConfiguration" - }, - "description": { - "description": "Description of the endpoint deployment.", - "type": "string" - }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string" - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "errorThreshold": { - "format": "int32", - "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", - "type": "integer" - }, - "loggingLevel": { - "description": "Logging level for batch inference operation.", - "$ref": "#/definitions/BatchLoggingLevel" - }, - "miniBatchSize": { - "format": "int64", - "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", - "type": "integer" - }, - "model": { - "description": "Reference to the model asset for the endpoint deployment.", - "$ref": "#/definitions/AssetReferenceBase" - }, - "outputConfiguration": { - "description": "Output configuration for the batch inference operation.", - "$ref": "#/definitions/BatchOutputConfiguration" - }, - "partitionKeys": { - "description": "Partition keys list used for Named partitioning.", - "type": "array", - "items": { - "type": "string" - } - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "retrySettings": { - "description": "Retry Settings for the batch inference operation.", - "$ref": "#/definitions/BatchRetrySettings" - } - }, - "additionalProperties": false - }, - "BatchDeploymentTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/BatchDeployment" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "BatchDeploymentTrackedResourceArmPaginatedResult": { - "description": "A paginated list of BatchDeployment entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type BatchDeployment.", - "type": "array", - "items": { - "$ref": "#/definitions/BatchDeploymentTrackedResource" - } - } - }, - "additionalProperties": false - }, - "BatchEndpoint": { - "description": "Batch endpoint configuration.", - "type": "object", - "properties": { - "authMode": { - "description": "Enum to determine endpoint authentication mode.", - "$ref": "#/definitions/EndpointAuthMode" - }, - "description": { - "description": "Description of the inference endpoint.", - "type": "string" - }, - "keys": { - "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", - "$ref": "#/definitions/EndpointAuthKeys", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "scoringUri": { - "format": "uri", - "description": "Endpoint URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "swaggerUri": { - "format": "uri", - "description": "Endpoint Swagger URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "traffic": { - "description": "Traffic rules on how the traffic will be routed across deployments.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - } - } - }, - "additionalProperties": false - }, - "BatchEndpointTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/BatchEndpoint" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "BatchEndpointTrackedResourceArmPaginatedResult": { - "description": "A paginated list of BatchEndpoint entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type BatchEndpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/BatchEndpointTrackedResource" - } - } - }, - "additionalProperties": false - }, - "BatchLoggingLevel": { - "description": "Log verbosity for batch inferencing.\r\nIncreasing verbosity order for logging is : Warning, Info and Debug.\r\nThe default value is Info.", - "enum": [ - "Info", - "Warning", - "Debug" - ], - "type": "string", - "x-ms-enum": { - "name": "BatchLoggingLevel", - "modelAsString": true - }, - "additionalProperties": false - }, - "BatchOutputAction": { - "description": "Enum to determine how batch inferencing will handle output", - "enum": [ - "SummaryOnly", - "AppendRow" - ], - "type": "string", - "x-ms-enum": { - "name": "BatchOutputAction", - "modelAsString": true - }, - "additionalProperties": false - }, - "BatchOutputConfiguration": { - "description": "Batch inference output configuration.", - "type": "object", - "properties": { - "appendRowFileName": { - "description": "Customized output file name for append_row output action.", - "type": "string" - }, - "outputAction": { - "description": "Indicates how the output will be organized.", - "$ref": "#/definitions/BatchOutputAction" - } - }, - "additionalProperties": false - }, - "BatchRetrySettings": { - "description": "Retry settings for a batch inference operation.", - "type": "object", - "properties": { - "maxRetries": { - "format": "int32", - "description": "Maximum retry count for a mini-batch", - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "type": "string" - } - }, - "additionalProperties": false - }, - "CertificateDatastoreCredentials": { - "description": "Certificate datastore credentials configuration.", - "required": [ - "clientId", - "tenantId", - "thumbprint" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "authorityUrl": { - "description": "Authority URL used for authentication.", - "type": "string" - }, - "clientId": { - "format": "uuid", - "description": "Service principal client ID.", - "type": "string" - }, - "resourceUri": { - "description": "Resource the service principal has access to.", - "type": "string" - }, - "secrets": { - "description": "Service principal secrets.", - "$ref": "#/definitions/CertificateDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "tenantId": { - "format": "uuid", - "description": "ID of the tenant to which the service principal belongs.", - "type": "string" - }, - "thumbprint": { - "description": "Thumbprint of the certificate used for authentication.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "Certificate", - "additionalProperties": false - }, - "CertificateDatastoreSecrets": { - "description": "Datastore certificate secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "certificate": { - "description": "Service principal certificate.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Certificate", - "additionalProperties": false - }, - "CocoExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "containerName": { - "description": "The container name to which the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "snapshotPath": { - "description": "The output path where the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-discriminator-value": "Coco", - "additionalProperties": false - }, - "CodeConfiguration": { - "description": "Configuration for a scoring code asset.", - "required": [ - "scoringScript" - ], - "type": "object", - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "scoringScript": { - "description": "The script to execute on startup. eg. \"score.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "CodeContainer": { - "description": "Container for code asset versions.", - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "CodeContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/CodeContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "CodeContainerResourceArmPaginatedResult": { - "description": "A paginated list of CodeContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type CodeContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/CodeContainerResource" - } - } - }, - "additionalProperties": false - }, - "CodeVersion": { - "description": "Code asset version details.", - "required": [ - "path" - ], - "type": "object", - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string" - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "CodeVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/CodeVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "CodeVersionResourceArmPaginatedResult": { - "description": "A paginated list of CodeVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type CodeVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/CodeVersionResource" - } - } - }, - "additionalProperties": false - }, - "CommandJob": { - "description": "Command job definition.", - "required": [ - "command", - "compute" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "command": { - "description": "The command to execute on startup of the job. eg. \"python train.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "compute": { - "description": "Compute binding for the job.", - "$ref": "#/definitions/ComputeConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "distribution": { - "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", - "$ref": "#/definitions/DistributionConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentId": { - "description": "The ARM resource ID of the Environment specification for the job.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentVariables": { - "description": "Environment variables included in the job.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "experimentName": { - "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "identity": { - "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null.\r\nDefaults to AmlToken if null.", - "$ref": "#/definitions/IdentityConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "inputDataBindings": { - "description": "Mapping of input data bindings used in the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/InputDataBinding" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "output": { - "description": "Location of the job output logs and artifacts.", - "$ref": "#/definitions/JobOutput", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "outputDataBindings": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OutputDataBinding" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "parameters": { - "description": "Input parameters.", - "type": "object", - "additionalProperties": {}, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "priority": { - "format": "int32", - "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "status": { - "description": "Status of the job.", - "$ref": "#/definitions/JobStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Command", - "additionalProperties": false - }, - "ComputeConfiguration": { - "description": "Configuration for compute binding.", - "type": "object", - "properties": { - "instanceCount": { - "format": "int32", - "description": "Number of instances or nodes.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "instanceType": { - "description": "SKU type to run on.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isLocal": { - "description": "Set to true for jobs running on local compute.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "location": { - "description": "Location for virtual cluster run.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "Additional properties.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "target": { - "description": "ARM resource ID of the compute resource.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "ContainerType": { - "enum": [ - "StorageInitializer", - "InferenceServer" - ], - "type": "string", - "x-ms-enum": { - "name": "ContainerType", - "modelAsString": true - }, - "additionalProperties": false - }, - "ContentsType": { - "description": "Enum to determine the datastore contents type.", - "enum": [ - "AzureBlob", - "AzureDataLakeGen1", - "AzureDataLakeGen2", - "AzureFile", - "AzureMySql", - "AzurePostgreSql", - "AzureSqlDatabase", - "GlusterFs" - ], - "type": "string", - "x-ms-enum": { - "name": "ContentsType", - "modelAsString": true - }, - "additionalProperties": false - }, - "CredentialsType": { - "description": "Enum to determine the datastore credentials type.", - "enum": [ - "AccountKey", - "Certificate", - "None", - "Sas", - "ServicePrincipal", - "SqlAdmin" - ], - "type": "string", - "x-ms-enum": { - "name": "CredentialsType", - "modelAsString": true - }, - "additionalProperties": false - }, - "CsvExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "containerName": { - "description": "The container name to which the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "snapshotPath": { - "description": "The output path where the labels will be exported.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-discriminator-value": "CSV", - "additionalProperties": false - }, - "DataBindingMode": { - "description": "Describes how the data should be attached to the container.", - "enum": [ - "Mount", - "Download", - "Upload" - ], - "type": "string", - "x-ms-enum": { - "name": "DataBindingMode", - "modelAsString": true - }, - "additionalProperties": false - }, - "DataContainer": { - "description": "Container for data asset versions.", - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "DataContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/DataContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "DataContainerResourceArmPaginatedResult": { - "description": "A paginated list of DataContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type DataContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/DataContainerResource" - } - } - }, - "additionalProperties": false - }, - "DataPathAssetReference": { - "description": "Reference to an asset via its path in a datastore.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string" - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "type": "string" - } - }, - "x-ms-discriminator-value": "DataPath", - "additionalProperties": false - }, - "DataVersion": { - "description": "Data asset version details.", - "required": [ - "path" - ], - "type": "object", - "properties": { - "datasetType": { - "description": "The Format of dataset.", - "$ref": "#/definitions/DatasetType" - }, - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string" - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "DataVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/DataVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "DataVersionResourceArmPaginatedResult": { - "description": "A paginated list of DataVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type DataVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/DataVersionResource" - } - } - }, - "additionalProperties": false - }, - "DatasetExportSummary": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ExportSummary" - } - ], - "properties": { - "labeledAssetName": { - "description": "The unique name of the labeled data asset.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "x-ms-discriminator-value": "Dataset", - "additionalProperties": false - }, - "DatasetType": { - "enum": [ - "Simple", - "Dataflow" - ], - "type": "string", - "x-ms-enum": { - "name": "DatasetType", - "modelAsString": true - }, - "additionalProperties": false - }, - "DatastoreContents": { - "description": "Base definition for datastore contents configuration.", - "required": [ - "contentsType" - ], - "type": "object", - "properties": { - "contentsType": { - "description": "Storage type backing the datastore.", - "$ref": "#/definitions/ContentsType" - } - }, - "discriminator": "contentsType" - }, - "DatastoreCredentials": { - "description": "Base definition for datastore credentials.", - "required": [ - "credentialsType" - ], - "type": "object", - "properties": { - "credentialsType": { - "description": "Credential type used to authentication with storage.", - "$ref": "#/definitions/CredentialsType" - } - }, - "discriminator": "credentialsType" - }, - "DatastoreProperties": { - "description": "Datastore definition.", - "required": [ - "contents" - ], - "type": "object", - "properties": { - "contents": { - "description": "Reference to the datastore storage contents.", - "$ref": "#/definitions/DatastoreContents" - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "hasBeenValidated": { - "description": "Whether the service has validated access to the datastore with the provided credentials.", - "type": "boolean", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "isDefault": { - "description": "Whether this datastore is the default for the workspace.", - "type": "boolean" - }, - "linkedInfo": { - "description": "Information about the datastore origin, if linked.", - "$ref": "#/definitions/LinkedInfo" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "DatastorePropertiesResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/DatastoreProperties" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "DatastorePropertiesResourceArmPaginatedResult": { - "description": "A paginated list of DatastoreProperties entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type DatastoreProperties.", - "type": "array", - "items": { - "$ref": "#/definitions/DatastorePropertiesResource" - } - } - }, - "additionalProperties": false - }, - "DatastoreSecrets": { - "description": "Base definition for datastore secrets.", - "required": [ - "secretsType" - ], - "type": "object", - "properties": { - "secretsType": { - "description": "Credential type used to authentication with storage.", - "$ref": "#/definitions/SecretsType" - } - }, - "discriminator": "secretsType" - }, - "DeploymentLogs": { - "type": "object", - "properties": { - "content": { - "type": "string" - } - }, - "additionalProperties": false - }, - "DeploymentLogsRequest": { - "type": "object", - "properties": { - "containerType": { - "description": "The type of container to retrieve logs from.", - "$ref": "#/definitions/ContainerType" - }, - "tail": { - "format": "int32", - "description": "The maximum number of lines to tail.", - "type": "integer" - } - }, - "additionalProperties": false - }, - "DeploymentProvisioningState": { - "enum": [ - "Creating", - "Deleting", - "Scaling", - "Updating", - "Succeeded", - "Failed", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "DeploymentProvisioningState", - "modelAsString": true - }, - "additionalProperties": false - }, - "DistributionConfiguration": { - "description": "Base definition for job distribution configuration.", - "required": [ - "distributionType" - ], - "type": "object", - "properties": { - "distributionType": { - "description": "Specifies the type of distribution framework.", - "$ref": "#/definitions/DistributionType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "distributionType" - }, - "DistributionType": { - "description": "Enum to determine the job distribution type.", - "enum": [ - "PyTorch", - "TensorFlow", - "Mpi" - ], - "type": "string", - "x-ms-enum": { - "name": "DistributionType", - "modelAsString": true - }, - "additionalProperties": false - }, - "DockerBuild": { - "description": "Class to represent configuration settings for Docker Build", - "required": [ - "dockerfile" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DockerSpecification" - } - ], - "properties": { - "context": { - "description": "Path to a snapshot of the Docker Context. This property is only valid if Dockerfile is specified.\r\nThe path is relative to the asset path which must contain a single Blob URI value.\r\n", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "dockerfile": { - "description": "Docker command line instructions to assemble an image.\r\n", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Build", - "additionalProperties": false - }, - "DockerImage": { - "description": "Class to represent configuration settings for Docker Build", - "required": [ - "dockerImageUri" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DockerSpecification" - } - ], - "properties": { - "dockerImageUri": { - "description": "Image name of a custom base image.\r\n", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Image", - "additionalProperties": false - }, - "DockerImagePlatform": { - "type": "object", - "properties": { - "operatingSystemType": { - "description": "The OS type the Environment.", - "$ref": "#/definitions/OperatingSystemType" - } - }, - "additionalProperties": false - }, - "DockerSpecification": { - "description": "Configuration settings for Docker", - "required": [ - "dockerSpecificationType" - ], - "type": "object", - "properties": { - "dockerSpecificationType": { - "description": "Docker specification must be either Build or Image", - "$ref": "#/definitions/DockerSpecificationType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "platform": { - "description": "The platform information of the docker image.", - "$ref": "#/definitions/DockerImagePlatform", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "dockerSpecificationType" - }, - "DockerSpecificationType": { - "description": "Enum to determine docker specification type. Must be either Build or Image.", - "enum": [ - "Build", - "Image" - ], - "type": "string", - "x-ms-enum": { - "name": "DockerSpecificationType", - "modelAsString": true - }, - "additionalProperties": false - }, - "EarlyTerminationPolicy": { - "description": "Early termination policies enable canceling poor-performing runs before they complete", - "required": [ - "policyType" - ], - "type": "object", - "properties": { - "delayEvaluation": { - "format": "int32", - "type": "integer" - }, - "evaluationInterval": { - "format": "int32", - "type": "integer" - }, - "policyType": { - "description": "Name of policy configuration", - "$ref": "#/definitions/EarlyTerminationPolicyType" - } - }, - "discriminator": "policyType" - }, - "EarlyTerminationPolicyType": { - "enum": [ - "Bandit", - "MedianStopping", - "TruncationSelection" - ], - "type": "string", - "x-ms-enum": { - "name": "EarlyTerminationPolicyType", - "modelAsString": true - }, - "additionalProperties": false - }, - "EndpointAuthKeys": { - "description": "Keys for endpoint authentication.", - "type": "object", - "properties": { - "primaryKey": { - "description": "The primary key.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "secondaryKey": { - "description": "The secondary key.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "EndpointAuthMode": { - "description": "Enum to determine endpoint authentication mode.", - "enum": [ - "AMLToken", - "Key", - "AADToken" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointAuthMode", - "modelAsString": true - }, - "additionalProperties": false - }, - "EndpointAuthToken": { - "description": "Service Token", - "type": "object", - "properties": { - "accessToken": { - "description": "Access token.", - "type": "string" - }, - "expiryTimeUtc": { - "format": "int64", - "description": "Access token expiry time (UTC).", - "type": "integer" - }, - "refreshAfterTimeUtc": { - "format": "int64", - "description": "Refresh access token after time (UTC).", - "type": "integer" - }, - "tokenType": { - "description": "Access token type.", - "type": "string" - } - }, - "additionalProperties": false - }, - "EndpointComputeType": { - "description": "Enum to determine endpoint compute type.", - "enum": [ - "Managed", - "K8S", - "AzureMLCompute" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointComputeType", - "modelAsString": true - }, - "additionalProperties": false - }, - "EndpointProvisioningState": { - "description": "State of endpoint provisioning.", - "enum": [ - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Updating", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointProvisioningState", - "modelAsString": true - }, - "additionalProperties": false - }, - "EnvironmentContainer": { - "description": "Container for environment specification versions.", - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "EnvironmentContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/EnvironmentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "EnvironmentContainerResourceArmPaginatedResult": { - "description": "A paginated list of EnvironmentContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type EnvironmentContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentContainerResource" - } - } - }, - "additionalProperties": false - }, - "EnvironmentSpecificationType": { - "description": "Environment specification is either user created or curated by Azure ML service", - "enum": [ - "Curated", - "UserCreated" - ], - "type": "string", - "x-ms-enum": { - "name": "EnvironmentSpecificationType", - "modelAsString": true - }, - "additionalProperties": false - }, - "EnvironmentSpecificationVersion": { - "description": "Environment specification version details.\r\n", - "type": "object", - "properties": { - "condaFile": { - "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", - "type": "string" - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "docker": { - "description": "Configuration settings for Docker.", - "$ref": "#/definitions/DockerSpecification" - }, - "environmentSpecificationType": { - "description": "Environment specification is either user managed or curated by the Azure ML service\r\n", - "$ref": "#/definitions/EnvironmentSpecificationType", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "inferenceContainerProperties": { - "description": "Defines configuration specific to inference.", - "$ref": "#/definitions/InferenceContainerProperties" - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "EnvironmentSpecificationVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/EnvironmentSpecificationVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "EnvironmentSpecificationVersionResourceArmPaginatedResult": { - "description": "A paginated list of EnvironmentSpecificationVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type EnvironmentSpecificationVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentSpecificationVersionResource" - } - } - }, - "additionalProperties": false - }, - "ExportFormatType": { - "description": "The format of exported labels.", - "enum": [ - "Dataset", - "Coco", - "CSV" - ], - "type": "string", - "x-ms-enum": { - "name": "ExportFormatType", - "modelAsString": true - }, - "additionalProperties": false - }, - "ExportSummary": { - "required": [ - "format" - ], - "type": "object", - "properties": { - "endTimeUtc": { - "format": "date-time", - "description": "The time when the export was completed.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "exportedRowCount": { - "format": "int64", - "description": "The total number of labeled datapoints exported.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "format": { - "description": "The format of exported labels, also as the discriminator.", - "$ref": "#/definitions/ExportFormatType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "labelingJobId": { - "description": "Name and identifier of the job containing exported labels.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "startTimeUtc": { - "format": "date-time", - "description": "The time when the export was requested.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "discriminator": "format" - }, - "FlavorData": { - "type": "object", - "properties": { - "data": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "GlusterFsContents": { - "description": "GlusterFs datastore configuration.", - "required": [ - "serverAddress", - "volumeName" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreContents" - } - ], - "properties": { - "serverAddress": { - "description": "GlusterFS server address (can be the IP address or server name).", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "volumeName": { - "description": "GlusterFS volume name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "GlusterFs", - "additionalProperties": false - }, - "Goal": { - "description": "Defines supported metric goals for hyperparameter tuning", - "enum": [ - "Minimize", - "Maximize" - ], - "type": "string", - "x-ms-enum": { - "name": "Goal", - "modelAsString": true - }, - "additionalProperties": false - }, - "IdAssetReference": { - "description": "Reference to an asset via its ARM resource ID.", - "required": [ - "assetId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "assetId": { - "description": "ARM resource ID of the asset.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "Id", - "additionalProperties": false - }, - "IdentityConfiguration": { - "description": "Base definition for identity configuration.", - "required": [ - "identityType" - ], - "type": "object", - "properties": { - "identityType": { - "description": "Specifies the type of identity framework.", - "$ref": "#/definitions/IdentityConfigurationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "identityType" - }, - "IdentityConfigurationType": { - "description": "Enum to determine identity framework.", - "enum": [ - "Managed", - "AMLToken" - ], - "type": "string", - "x-ms-enum": { - "name": "IdentityConfigurationType", - "modelAsString": true - }, - "additionalProperties": false - }, - "ImageAnnotationType": { - "description": "Annotation type of image data.", - "enum": [ - "Classification", - "BoundingBox", - "InstanceSegmentation" - ], - "type": "string", - "x-ms-enum": { - "name": "ImageAnnotationType", - "modelAsString": true - }, - "additionalProperties": false - }, - "InferenceContainerProperties": { - "type": "object", - "properties": { - "livenessRoute": { - "description": "The route to check the liveness of the inference server container.", - "$ref": "#/definitions/Route" - }, - "readinessRoute": { - "description": "The route to check the readiness of the inference server container.", - "$ref": "#/definitions/Route" - }, - "scoringRoute": { - "description": "The port to send the scoring requests to, within the inference server container.", - "$ref": "#/definitions/Route" - } - }, - "additionalProperties": false - }, - "InputDataBinding": { - "type": "object", - "properties": { - "dataId": { - "description": "ARM resource ID of the registered dataVersion.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "mode": { - "description": "Mechanism for accessing the data artifact.", - "$ref": "#/definitions/DataBindingMode", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "pathOnCompute": { - "description": "Location of data inside the container process.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "JobBase": { - "description": "Base definition for a job.", - "required": [ - "jobType" - ], - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string" - }, - "interactionEndpoints": { - "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/JobEndpoint" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "jobType": { - "description": "Specifies the type of job.", - "$ref": "#/definitions/JobType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/JobProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "discriminator": "jobType" - }, - "JobBaseResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/JobBase" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "JobBaseResourceArmPaginatedResult": { - "description": "A paginated list of JobBase entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type JobBase.", - "type": "array", - "items": { - "$ref": "#/definitions/JobBaseResource" - } - } - }, - "additionalProperties": false - }, - "JobEndpoint": { - "description": "Job endpoint definition", - "type": "object", - "properties": { - "endpoint": { - "description": "Url for endpoint.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "jobEndpointType": { - "description": "Endpoint type.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "port": { - "format": "int32", - "description": "Port for endpoint.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "JobOutput": { - "description": "Job output definition container information on where to find job output/logs.", - "type": "object", - "properties": { - "datastoreId": { - "description": "ARM ID of the datastore where the job logs and artifacts are stored, or null for the default container (\"azureml\") in the workspace's storage account.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "path": { - "description": "Path within the datastore to the job logs and artifacts.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "JobProvisioningState": { - "enum": [ - "Succeeded", - "Failed", - "Canceled", - "InProgress" - ], - "type": "string", - "x-ms-enum": { - "name": "JobProvisioningState", - "modelAsString": true - }, - "additionalProperties": false - }, - "JobStatus": { - "description": "The status of a job.", - "enum": [ - "NotStarted", - "Starting", - "Provisioning", - "Preparing", - "Queued", - "Running", - "Finalizing", - "CancelRequested", - "Completed", - "Failed", - "Canceled", - "NotResponding", - "Paused", - "Unknown" - ], - "type": "string", - "x-ms-enum": { - "name": "JobStatus", - "modelAsString": true - }, - "additionalProperties": false - }, - "JobType": { - "description": "Enum to determine the type of job.", - "enum": [ - "Command", - "Sweep", - "Labeling" - ], - "type": "string", - "x-ms-enum": { - "name": "JobType", - "modelAsString": true - }, - "additionalProperties": false - }, - "K8sOnlineDeployment": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineDeployment" - } - ], - "properties": { - "containerResourceRequirements": { - "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" - } - }, - "x-ms-discriminator-value": "K8S", - "additionalProperties": false - }, - "KeyType": { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyType", - "modelAsString": true - }, - "additionalProperties": false - }, - "LabelCategory": { - "description": "Label category definition", - "type": "object", - "properties": { - "allowMultiSelect": { - "description": "Indicates whether it is allowed to select multiple classes in this category.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "classes": { - "description": "Dictionary of label classes in this category.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelClass" - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "displayName": { - "description": "Display name of the label category.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "LabelClass": { - "description": "Label class definition", - "type": "object", - "properties": { - "displayName": { - "description": "Display name of the label class.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "subclasses": { - "description": "Dictionary of subclasses of the label class.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelClass" - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "LabelingDatasetConfiguration": { - "description": "Labeling dataset configuration definition", - "type": "object", - "properties": { - "assetName": { - "description": "Name of the data asset to perform labeling.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "datasetVersion": { - "description": "AML dataset version.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "incrementalDatasetRefreshEnabled": { - "description": "Indicates whether to enable incremental dataset refresh.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "LabelingJob": { - "description": "Labeling job definition", - "required": [ - "jobType" - ], - "type": "object", - "properties": { - "createdTimeUtc": { - "format": "date-time", - "description": "Created time of the job in UTC timezone.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "datasetConfiguration": { - "description": "Configuration of dataset used in the job.", - "$ref": "#/definitions/LabelingDatasetConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "interactionEndpoints": { - "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/JobEndpoint" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "jobInstructions": { - "description": "Labeling instructions of the job.", - "$ref": "#/definitions/LabelingJobInstructions", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "jobType": { - "description": "Specifies the type of job. This field should always be set to \"Labeling\".", - "$ref": "#/definitions/JobType", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "labelCategories": { - "description": "Label categories of the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelCategory" - }, - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "labelingJobMediaProperties": { - "description": "Media type specific properties in the job.", - "$ref": "#/definitions/LabelingJobMediaProperties", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "mlAssistConfiguration": { - "description": "Configuration of MLAssist feature in the job.", - "$ref": "#/definitions/MLAssistConfiguration" - }, - "progressMetrics": { - "description": "Progress metrics of the job.", - "$ref": "#/definitions/ProgressMetrics", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "projectId": { - "format": "uuid", - "description": "Internal id of the job(Previously called project).", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "provisioningState": { - "$ref": "#/definitions/JobProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "status": { - "description": "Status of the job.", - "$ref": "#/definitions/JobStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "statusMessages": { - "description": "Status messages of the job.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusMessage" - }, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "LabelingJobImageProperties": { - "description": "Properties of a labeling job for image data", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LabelingJobMediaProperties" - } - ], - "properties": { - "annotationType": { - "description": "Annotation type of image labeling job.", - "$ref": "#/definitions/ImageAnnotationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Image", - "additionalProperties": false - }, - "LabelingJobInstructions": { - "description": "Instructions for labeling job", - "type": "object", - "properties": { - "uri": { - "description": "The link to a page with detailed labeling instructions for labelers.", - "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "LabelingJobMediaProperties": { - "description": "Properties of a labeling job", - "required": [ - "mediaType" - ], - "type": "object", - "properties": { - "mediaType": { - "description": "Media type of the job.", - "$ref": "#/definitions/MediaType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "discriminator": "mediaType" - }, - "LabelingJobResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/LabelingJob" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "LabelingJobResourceArmPaginatedResult": { - "description": "A paginated list of LabelingJob entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type LabelingJob.", - "type": "array", - "items": { - "$ref": "#/definitions/LabelingJobResource" - } - } - }, - "additionalProperties": false - }, - "LabelingJobTextProperties": { - "description": "Properties of a labeling job for text data", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LabelingJobMediaProperties" - } - ], - "properties": { - "annotationType": { - "description": "Annotation type of text labeling job.", - "$ref": "#/definitions/TextAnnotationType", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Text", - "additionalProperties": false - }, - "LinkedInfo": { - "description": "Information about a datastore origin, if linked.", - "type": "object", - "properties": { - "linkedId": { - "description": "Linked service ID.", - "type": "string" - }, - "linkedResourceName": { - "description": "Linked service resource name.", - "type": "string" - }, - "origin": { - "description": "Type of the linked service.", - "$ref": "#/definitions/OriginType" - } - }, - "additionalProperties": false - }, - "MLAssistConfiguration": { - "description": "Labeling MLAssist configuration definition", - "type": "object", - "properties": { - "inferencingComputeBinding": { - "description": "AML compute binding used in inferencing.", - "$ref": "#/definitions/ComputeConfiguration", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "mlAssistEnabled": { - "description": "Indicates whether MLAssist feature is enabled.", - "type": "boolean" - }, - "trainingComputeBinding": { - "description": "AML compute binding used in training.", - "$ref": "#/definitions/ComputeConfiguration", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - }, - "additionalProperties": false - }, - "ManagedIdentity": { - "description": "Managed identity configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" - } - ], - "properties": { - "clientId": { - "format": "uuid", - "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "objectId": { - "format": "uuid", - "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "resourceId": { - "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, - "ManagedOnlineDeployment": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineDeployment" - } - ], - "properties": { - "instanceType": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "readinessProbe": { - "$ref": "#/definitions/ProbeSettings" - } - }, - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, - "ManualScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/OnlineScaleSettings" - } - ], - "properties": { - "instanceCount": { - "format": "int32", - "type": "integer" - } - }, - "x-ms-discriminator-value": "Manual", - "additionalProperties": false - }, - "MediaType": { - "description": "Media type of data asset.", - "enum": [ - "Image", - "Text" - ], - "type": "string", - "x-ms-enum": { - "name": "MediaType", - "modelAsString": true - }, - "additionalProperties": false - }, - "MedianStoppingPolicy": { - "description": "Defines an early termination policy based on running averages of the primary metric of all runs", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "x-ms-discriminator-value": "MedianStopping", - "additionalProperties": false - }, - "ModelContainer": { - "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "ModelContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/ModelContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "ModelContainerResourceArmPaginatedResult": { - "description": "A paginated list of ModelContainer entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type ModelContainer.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelContainerResource" - } - } - }, - "additionalProperties": false - }, - "ModelVersion": { - "description": "Model asset version details.", - "required": [ - "path" - ], - "type": "object", - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string" - }, - "description": { - "description": "The asset description text.", - "type": "string" - }, - "flavors": { - "description": "Mapping of model flavors to their properties.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/FlavorData" - } - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "ModelVersionResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/ModelVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "ModelVersionResourceArmPaginatedResult": { - "description": "A paginated list of ModelVersion entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type ModelVersion.", - "type": "array", - "items": { - "$ref": "#/definitions/ModelVersionResource" - } - } - }, - "additionalProperties": false - }, - "Mpi": { - "description": "MPI distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "processCountPerInstance": { - "format": "int32", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "Mpi", - "additionalProperties": false - }, - "NoneDatastoreCredentials": { - "description": "Empty/none datastore credentials.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "Empty/none datastore secret.", - "$ref": "#/definitions/NoneDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "None", - "additionalProperties": false - }, - "NoneDatastoreSecrets": { - "description": "Empty/none datastore secret.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "x-ms-discriminator-value": "None", - "additionalProperties": false - }, - "Objective": { - "required": [ - "goal", - "primaryMetric" - ], - "type": "object", - "properties": { - "goal": { - "description": "Defines supported metric goals for hyperparameter tuning", - "$ref": "#/definitions/Goal" - }, - "primaryMetric": { - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "additionalProperties": false - }, - "OnlineDeployment": { - "required": [ - "endpointComputeType" - ], - "type": "object", - "properties": { - "appInsightsEnabled": { - "description": "If true, enables Application Insights logging.", - "type": "boolean" - }, - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration" - }, - "description": { - "description": "Description of the endpoint deployment.", - "type": "string" - }, - "endpointComputeType": { - "description": "The compute type of the endpoint.", - "$ref": "#/definitions/EndpointComputeType" - }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string" - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "livenessProbe": { - "$ref": "#/definitions/ProbeSettings" - }, - "model": { - "description": "Reference to the model asset for the endpoint deployment.", - "$ref": "#/definitions/AssetReferenceBase" - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "provisioningState": { - "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "requestSettings": { - "$ref": "#/definitions/OnlineRequestSettings" - }, - "scaleSettings": { - "$ref": "#/definitions/OnlineScaleSettings" - } - }, - "discriminator": "endpointComputeType" - }, - "OnlineDeploymentTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/OnlineDeployment" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "OnlineDeploymentTrackedResourceArmPaginatedResult": { - "description": "A paginated list of OnlineDeployment entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type OnlineDeployment.", - "type": "array", - "items": { - "$ref": "#/definitions/OnlineDeploymentTrackedResource" - } - } - }, - "additionalProperties": false - }, - "OnlineEndpoint": { - "description": "Online endpoint configuration", - "required": [ - "authMode" - ], - "type": "object", - "properties": { - "authMode": { - "description": "Inference endpoint authentication mode type", - "$ref": "#/definitions/EndpointAuthMode" - }, - "description": { - "description": "Description of the inference endpoint.", - "type": "string" - }, - "keys": { - "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", - "$ref": "#/definitions/EndpointAuthKeys", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "provisioningState": { - "description": "State of endpoint provisioning.", - "$ref": "#/definitions/EndpointProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "scoringUri": { - "format": "uri", - "description": "Endpoint URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "swaggerUri": { - "format": "uri", - "description": "Endpoint Swagger URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "target": { - "description": "ARM resource ID of the compute if it exists.\r\noptional", - "type": "string" - }, - "traffic": { - "description": "Traffic rules on how the traffic will be routed across deployments.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - } - } - }, - "additionalProperties": false - }, - "OnlineEndpointTrackedResource": { - "required": [ - "location", - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/OnlineEndpoint" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "OnlineEndpointTrackedResourceArmPaginatedResult": { - "description": "A paginated list of OnlineEndpoint entities.", - "type": "object", - "properties": { - "nextLink": { - "type": "string" - }, - "value": { - "description": "An array of objects of type OnlineEndpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/OnlineEndpointTrackedResource" - } - } - }, - "additionalProperties": false - }, - "OnlineRequestSettings": { - "type": "object", - "properties": { - "maxConcurrentRequestsPerInstance": { - "format": "int32", - "type": "integer" - }, - "maxQueueWait": { - "format": "duration", - "description": "The maximum queue wait time in ISO 8601 format. Supports millisecond precision.", - "type": "string" - }, - "requestTimeout": { - "format": "duration", - "description": "The request timeout in ISO 8601 format. Supports millisecond precision.", - "type": "string" - } - }, - "additionalProperties": false - }, - "OnlineScaleSettings": { - "required": [ - "scaleType" - ], - "type": "object", - "properties": { - "maxInstances": { - "format": "int32", - "type": "integer" - }, - "minInstances": { - "format": "int32", - "type": "integer" - }, - "scaleType": { - "$ref": "#/definitions/ScaleType" - } - }, - "discriminator": "scaleType" - }, - "OperatingSystemType": { - "description": "The type of operating system.", - "enum": [ - "Linux", - "Windows" - ], - "type": "string", - "x-ms-enum": { - "name": "OperatingSystemType", - "modelAsString": true - }, - "additionalProperties": false - }, - "OrderString": { - "enum": [ - "CreatedAtDesc", - "CreatedAtAsc", - "UpdatedAtDesc", - "UpdatedAtAsc" - ], - "type": "string", - "x-ms-enum": { - "name": "OrderString", - "modelAsString": true - }, - "additionalProperties": false - }, - "OriginType": { - "description": "Enum to determine the type of linked service.", - "enum": [ - "Synapse" - ], - "type": "string", - "x-ms-enum": { - "name": "OriginType", - "modelAsString": true - }, - "additionalProperties": false - }, - "OutputDataBinding": { - "type": "object", - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the data output will be stored.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "mode": { - "description": "Mechanism for data movement to datastore.", - "$ref": "#/definitions/DataBindingMode", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "pathOnCompute": { - "description": "Location of data inside the container process.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "pathOnDatastore": { - "description": "Path within the datastore to the data.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "OutputPathAssetReference": { - "description": "Reference to an asset via its path in a job output.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/AssetReferenceBase" - } - ], - "properties": { - "jobId": { - "description": "ARM resource ID of the job.", - "type": "string" - }, - "path": { - "description": "The path of the file/directory in the job output.", - "type": "string" - } - }, - "x-ms-discriminator-value": "OutputPath", - "additionalProperties": false - }, - "PartialAksOnlineDeployment": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineDeployment" - } - ], - "properties": { - "containerResourceRequirements": { - "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" - } - }, - "x-ms-discriminator-value": "K8S", - "additionalProperties": false - }, - "PartialBatchDeployment": { - "description": "Mutable batch inference settings per deployment.", - "type": "object", - "properties": { - "description": { - "description": "Description of the endpoint deployment.", - "type": "string" - } - }, - "additionalProperties": false - }, - "PartialBatchDeploymentPartialTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchDeployment" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "PartialBatchEndpoint": { - "description": "Mutable Batch endpoint configuration", - "type": "object", - "properties": { - "traffic": { - "description": "Traffic rules on how the traffic will be routed across deployments.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - } - } - }, - "additionalProperties": false - }, - "PartialBatchEndpointPartialTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchEndpoint" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "PartialManagedOnlineDeployment": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineDeployment" - } - ], - "properties": { - "readinessProbe": { - "$ref": "#/definitions/ProbeSettings" - } - }, - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, - "PartialOnlineDeployment": { - "description": "Mutable online deployment configuration", - "required": [ - "endpointComputeType" - ], - "type": "object", - "properties": { - "appInsightsEnabled": { - "type": "boolean" - }, - "endpointComputeType": { - "description": "Enum to determine endpoint compute type.", - "$ref": "#/definitions/EndpointComputeType" - }, - "livenessProbe": { - "$ref": "#/definitions/ProbeSettings" - }, - "requestSettings": { - "$ref": "#/definitions/OnlineRequestSettings" - }, - "scaleSettings": { - "$ref": "#/definitions/OnlineScaleSettings" - } - }, - "discriminator": "endpointComputeType" - }, - "PartialOnlineDeploymentPartialTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineDeployment" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "PartialOnlineEndpoint": { - "description": "Mutable online endpoint configuration", - "type": "object", - "properties": { - "traffic": { - "description": "Traffic rules on how the traffic will be routed across deployments.", - "type": "object", - "additionalProperties": { - "format": "int32", - "type": "integer" - } - } - }, - "additionalProperties": false - }, - "PartialOnlineEndpointPartialTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" - }, - "kind": { - "type": "string" - }, - "location": { - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineEndpoint" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "additionalProperties": false - }, - "ProbeSettings": { - "type": "object", - "properties": { - "failureThreshold": { - "format": "int32", - "description": "The number of failures to allow before returning an unhealthy status.", - "type": "integer" - }, - "initialDelay": { - "format": "duration", - "description": "The delay before the first probe in ISO 8601 format.", - "type": "string" - }, - "period": { - "format": "duration", - "description": "The length of time between probes in ISO 8601 format.", - "type": "string" - }, - "successThreshold": { - "format": "int32", - "description": "The number of successful probes before returning a healthy status.", - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "The probe timeout in ISO 8601 format.", - "type": "string" - } - }, - "additionalProperties": false - }, - "ProgressMetrics": { - "description": "Progress metrics definition", - "type": "object", - "properties": { - "completedDatapointCount": { - "format": "int64", - "description": "The completed datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "incrementalDatasetLastRefreshTime": { - "format": "date-time", - "description": "The time of last successful incremental dataset refresh in UTC.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "skippedDatapointCount": { - "format": "int64", - "description": "The skipped datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "totalDatapointCount": { - "format": "int64", - "description": "The total datapoint count.", - "type": "integer", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "PyTorch": { - "description": "PyTorch distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "processCount": { - "format": "int32", - "description": "Total process count for the distributed job.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "PyTorch", - "additionalProperties": false - }, - "ReferenceType": { - "description": "Enum to determine which reference method to use for an asset.", - "enum": [ - "Id", - "DataPath", - "OutputPath" - ], - "type": "string", - "x-ms-enum": { - "name": "ReferenceType", - "modelAsString": true - }, - "additionalProperties": false - }, - "RegenerateEndpointKeysRequest": { - "required": [ - "keyType" - ], - "type": "object", - "properties": { - "keyType": { - "description": "Specification for which type of key to generate. Primary or Secondary.", - "$ref": "#/definitions/KeyType" - }, - "keyValue": { - "description": "The value the key is set to.", - "type": "string" - } - }, - "additionalProperties": false - }, - "ResourceIdentity": { - "description": "Service identity associated with a resource.", - "type": "object", - "properties": { - "principalId": { - "description": "Client ID that is used when authenticating.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "tenantId": { - "description": "AAD Tenant where this identity lives.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "type": { - "description": "Defines values for a ResourceIdentity's type.", - "$ref": "#/definitions/ResourceIdentityAssignment" - }, - "userAssignedIdentities": { - "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityMeta" - } - } - }, - "additionalProperties": false - }, - "ResourceIdentityAssignment": { - "description": "Defines values for a ResourceIdentity's type.", - "enum": [ - "SystemAssigned", - "UserAssigned", - "SystemAssigned,UserAssigned", - "None" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityAssignment", - "modelAsString": true - }, - "additionalProperties": false - }, - "Route": { - "required": [ - "path", - "port" - ], - "type": "object", - "properties": { - "path": { - "description": "The path for the route.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "port": { - "format": "int32", - "description": "The port for the route.", - "type": "integer" - } - }, - "additionalProperties": false - }, - "SamplingAlgorithm": { - "enum": [ - "Grid", - "Random", - "Bayesian" - ], - "type": "string", - "x-ms-enum": { - "name": "SamplingAlgorithm", - "modelAsString": true - }, - "additionalProperties": false - }, - "SasDatastoreCredentials": { - "description": "SAS datastore credentials configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "Storage container secrets.", - "$ref": "#/definitions/SasDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - } - }, - "x-ms-discriminator-value": "Sas", - "additionalProperties": false - }, - "SasDatastoreSecrets": { - "description": "Datastore SAS secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "sasToken": { - "description": "Storage container SAS token.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Sas", - "additionalProperties": false - }, - "ScaleType": { - "enum": [ - "Auto", - "Manual" - ], - "type": "string", - "x-ms-enum": { - "name": "ScaleType", - "modelAsString": true - }, - "additionalProperties": false - }, - "SecretsType": { - "description": "Enum to determine the datastore secrets type.", - "enum": [ - "AccountKey", - "Certificate", - "None", - "Sas", - "ServicePrincipal", - "SqlAdmin" - ], - "type": "string", - "x-ms-enum": { - "name": "SecretsType", - "modelAsString": true - }, - "additionalProperties": false - }, - "ServicePrincipalDatastoreCredentials": { - "description": "Service Principal datastore credentials configuration.", - "required": [ - "clientId", - "tenantId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "authorityUrl": { - "description": "Authority URL used for authentication.", - "type": "string" - }, - "clientId": { - "format": "uuid", - "description": "Service principal client ID.", - "type": "string" - }, - "resourceUri": { - "description": "Resource the service principal has access to.", - "type": "string" - }, - "secrets": { - "description": "Service principal secrets.", - "$ref": "#/definitions/ServicePrincipalDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "tenantId": { - "format": "uuid", - "description": "ID of the tenant to which the service principal belongs.", - "type": "string" - } - }, - "x-ms-discriminator-value": "ServicePrincipal", - "additionalProperties": false - }, - "ServicePrincipalDatastoreSecrets": { - "description": "Datastore Service Principal secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "clientSecret": { - "description": "Service principal secret.", - "type": "string" - } - }, - "x-ms-discriminator-value": "ServicePrincipal", - "additionalProperties": false - }, - "SqlAdminDatastoreCredentials": { - "description": "SQL Admin datastore credentials configuration.", - "required": [ - "userId" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreCredentials" - } - ], - "properties": { - "secrets": { - "description": "SQL database secrets.", - "$ref": "#/definitions/SqlAdminDatastoreSecrets", - "x-ms-mutability": [ - "create", - "update" - ], - "x-ms-secret": true - }, - "userId": { - "description": "SQL database user name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - } - }, - "x-ms-discriminator-value": "SqlAdmin", - "additionalProperties": false - }, - "SqlAdminDatastoreSecrets": { - "description": "Datastore SQL Admin secrets.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DatastoreSecrets" - } - ], - "properties": { - "password": { - "description": "SQL database password.", - "type": "string" - } - }, - "x-ms-discriminator-value": "SqlAdmin", - "additionalProperties": false - }, - "StatusMessage": { - "description": "Active message associated with project", - "type": "object", - "properties": { - "code": { - "description": "Service-defined message code.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "createdTimeUtc": { - "format": "date-time", - "description": "Time in UTC at which the message was created.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "level": { - "description": "Severity level of message.", - "$ref": "#/definitions/StatusMessageLevel", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "message": { - "description": "A human-readable representation of the message code.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - } - }, - "additionalProperties": false - }, - "StatusMessageLevel": { - "enum": [ - "Error", - "Information", - "Warning" - ], - "type": "string", - "x-ms-enum": { - "name": "StatusMessageLevel", - "modelAsString": true - }, - "additionalProperties": false - }, - "SweepJob": { - "description": "Sweep job definition.", - "required": [ - "algorithm", - "compute", - "objective", - "searchSpace" - ], - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/JobBase" - } - ], - "properties": { - "algorithm": { - "description": "Type of the hyperparameter sampling algorithms", - "$ref": "#/definitions/SamplingAlgorithm" - }, - "compute": { - "description": "Compute binding for the job.", - "$ref": "#/definitions/ComputeConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "earlyTermination": { - "description": "Early termination policies enable canceling poor-performing runs before they complete", - "$ref": "#/definitions/EarlyTerminationPolicy" - }, - "experimentName": { - "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "identity": { - "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null.\r\nDefaults to AmlToken if null.", - "$ref": "#/definitions/IdentityConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "maxConcurrentTrials": { - "format": "int32", - "type": "integer" - }, - "maxTotalTrials": { - "format": "int32", - "type": "integer" - }, - "objective": { - "$ref": "#/definitions/Objective" - }, - "output": { - "description": "Location of the job output logs and artifacts.", - "$ref": "#/definitions/JobOutput", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "priority": { - "format": "int32", - "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "searchSpace": { - "description": "A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", - "type": "object", - "additionalProperties": { - "type": "object" - } - }, - "status": { - "description": "The status of a job.", - "$ref": "#/definitions/JobStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] - }, - "timeout": { - "format": "duration", - "description": "The total timeout in ISO 8601 format. Only supports duration with precision as low as Minutes.", - "type": "string" - }, - "trial": { - "description": "Trial component definition.", - "$ref": "#/definitions/TrialComponent" - } - }, - "x-ms-discriminator-value": "Sweep", - "additionalProperties": false - }, - "TensorFlow": { - "description": "TensorFlow distribution configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - } - ], - "properties": { - "parameterServerCount": { - "format": "int32", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "workerCount": { - "format": "int32", - "description": "Number of workers. Overwrites the node count in compute binding.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "x-ms-discriminator-value": "TensorFlow", - "additionalProperties": false - }, - "TextAnnotationType": { - "description": "Annotation type of text data.", - "enum": [ - "Classification" - ], - "type": "string", - "x-ms-enum": { - "name": "TextAnnotationType", - "modelAsString": true - }, - "additionalProperties": false - }, - "TrialComponent": { - "description": "Trial component definition.", - "required": [ - "command" - ], - "type": "object", - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "command": { - "description": "The command to execute on startup of the job. eg. \"python train.py\"", - "minLength": 1, - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "distribution": { - "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", - "$ref": "#/definitions/DistributionConfiguration", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "environmentId": { - "description": "The ARM resource ID of the Environment specification for the job.", - "type": "string" - }, - "environmentVariables": { - "description": "Environment variables included in the job.", - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "inputDataBindings": { - "description": "Mapping of input data bindings used in the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/InputDataBinding" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "outputDataBindings": { - "description": "Mapping of output data bindings used in the job.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OutputDataBinding" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the trial component will be cancelled.\r\nOnly supports duration with precision as low as Seconds.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "TruncationSelectionPolicy": { - "description": "Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/EarlyTerminationPolicy" - } - ], - "properties": { - "truncationPercentage": { - "format": "int32", - "type": "integer" - } - }, - "x-ms-discriminator-value": "TruncationSelection", - "additionalProperties": false - }, - "UserAssignedIdentityMeta": { - "description": "User assigned identities associated with a resource.", - "type": "object", - "properties": { - "clientId": { - "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", - "type": "string" - }, - "principalId": { - "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", - "type": "string" - } - }, - "additionalProperties": false - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow." - } - } -} From eec94770a553e61393cc4b239c312ef064a6369e Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 9 Jul 2021 11:55:49 -0700 Subject: [PATCH 064/211] delete more examples of preview features --- .../ComputeInstanceWithSchedules.json | 73 ------------------- .../examples/Compute/updateSchedules.json | 36 --------- 2 files changed, 109 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json deleted file mode 100644 index eb954d42090e..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/ComputeInstanceWithSchedules.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-03-01-preview", - "parameters": { - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "properties": { - "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", - "applicationSharingPolicy": "Personal", - "sshSettings": { - "sshPublicAccess": "Disabled" - }, - "computeInstanceAuthorizationType": "personal", - "personalComputeInstanceSettings": { - "assignedUser": { - "objectId": "00000000-0000-0000-0000-000000000000", - "tenantId": "00000000-0000-0000-0000-000000000000" - } - }, - "schedules": { - "computeStartStop": [ - { - "status": "Enabled", - "action": "Stop", - "triggerType": "Cron", - "cron": { - "expression": "0 18 * * *", - "startTime": "2021-04-23T01:30:00", - "timeZone": "Pacific Standard Time" - } - } - ] - } - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", - "type": "Microsoft.MachineLearningServices/workspaces/computes", - "name": "compute123", - "location": "eastus", - "properties": { - "computeType": "ComputeInstance", - "provisioningState": "Creating" - } - }, - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json deleted file mode 100644 index 293bec00382c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/updateSchedules.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "resourceGroupName": "testrg123", - "workspaceName": "workspaces123", - "computeName": "compute123", - "api-version": "2021-03-01-preview", - "parameters": { - "computeStartStop": [ - { - "status": "Enabled", - "action": "Start", - "triggerType": "Recurrence", - "recurrence": { - "frequency": "Day", - "interval": 1, - "startTime": "2021-04-23T01:30:00", - "timeZone": "Pacific Standard Time", - "schedule": { - "hours": [ - 18 - ], - "minutes": [ - 30 - ], - "weekDays": null - } - } - } - ] - } - }, - "responses": { - "200": {} - } -} From 8d8db202113325d6a75fec714597eabdaaac7214 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Mon, 12 Jul 2021 14:05:27 -0700 Subject: [PATCH 065/211] do some fixes --- .../machineLearningServices.json | 4 +- .../2021-07-01/machineLearningServices.json | 45 ++++++++++++++----- 2 files changed, 36 insertions(+), 13 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json index d34f75ec32e7..43d70cc024d5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2021-03-01-preview/machineLearningServices.json @@ -4379,13 +4379,13 @@ }, "notebookPreparationError": { "$ref": "#/definitions/NotebookPreparationError", - "description": "The error that occurs when preparing notebook." + "description": "The error that occurs when preparing notebook.", + "x-nullable": true } } }, "NotebookPreparationError": { "type": "object", - "x-nullable": true, "properties": { "errorMessage": { "type": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index d3eb6b334ce6..fc8495e7c873 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2554,39 +2554,62 @@ }, "DiagnoseRequestProperties": { "type": "object", - "description": "Properties of a diagnose request", "properties": { "udr": { "description": "Setting for diagnosing user defined routing", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "nsg": { "description": "Setting for diagnosing network security group", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "resourceLock": { "description": "Setting for diagnosing resource lock", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "dnsResolution": { "description": "Setting for diagnosing dns resolution", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "storageAccount": { "description": "Setting for diagnosing dependent storage account", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "keyVault": { "description": "Setting for diagnosing dependent key vault", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "containerRegistry": { "description": "Setting for diagnosing dependent container registry", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } }, "others": { "description": "Setting for diagnosing unclassified category of problems", - "type": "object" + "type": "object", + "additionalProperties": { + "type": "object" + } } } }, @@ -4785,13 +4808,13 @@ }, "notebookPreparationError": { "$ref": "#/definitions/NotebookPreparationError", - "description": "The error that occurs when preparing notebook." + "description": "The error that occurs when preparing notebook.", + "x-nullable": true } } }, "NotebookPreparationError": { "type": "object", - "x-nullable": true, "properties": { "errorMessage": { "type": "string" From 3e92abdbfae8ebc5bf84fae6a59f94e17e4c0b03 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Fri, 16 Jul 2021 11:10:54 -0700 Subject: [PATCH 066/211] add a new enum value in DiagnoseResult --- .../stable/2021-07-01/machineLearningServices.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index fc8495e7c873..91f01985f0ed 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2636,7 +2636,8 @@ "description": "Level of workspace setup error", "enum": [ "Warning", - "Error" + "Error", + "Information" ], "type": "string", "readOnly": true, From ed2a9eccf8bed23bc7da3263bf48551e780da1b8 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Mon, 19 Jul 2021 14:48:25 -0700 Subject: [PATCH 067/211] fix bug --- .../2021-07-01/machineLearningServices.json | 46 ++++++++----------- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index 91f01985f0ed..a6981e3c77b2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2159,8 +2159,8 @@ "readOnly": true }, "storageHnsEnabled": { - "description": "If the storage associated with the workspace has HNS enabled.", - "type": "string", + "description": "If the storage associated with the workspace has hierarchical namespace(HNS) enabled.", + "type": "boolean", "readOnly": true }, "mlFlowTrackingUri": { @@ -2655,64 +2655,54 @@ }, "DiagnoseResponseResult": { "type": "object", - "description": "Result of DiagnoseResponse", "properties": { "value": { "type": "object", - "description": "Value of DiagnoseResponse", "properties": { - "UDR": { + "userDefinedRouteResults": { "type": "array", - "description": "UDR value", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "NSG": { + "networkSecurityRuleResults": { "type": "array", - "description": "NSG value", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "ResourceLock": { + "resourceLockResults": { "type": "array", - "description": "Resource Lock", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "DNSResolution": { + "dnsResolutionResults": { "type": "array", - "description": "DNS Resolution", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "StorageAccount": { + "storageAccountResults": { "type": "array", - "description": "Storage Account", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "KeyVault": { + "keyVaultResults": { "type": "array", - "description": "The KeyVault", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "ContainerRegistry": { + "containerRegistryResults": { "type": "array", - "description": "Container Registry", "items": { "$ref": "#/definitions/DiagnoseResult" } }, - "Others": { + "otherResults": { "type": "array", - "description": "Other items", "items": { "$ref": "#/definitions/DiagnoseResult" } @@ -5065,13 +5055,15 @@ "FQDNEndpoints": { "type": "object", "properties": { - "category": { - "type": "string" - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/FQDNEndpoint" + "properties": { + "category": { + "type": "string" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpoint" + } } } } From a130e868cd735508d6ad799e79443f64333e1076 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 20 Jul 2021 17:06:02 -0700 Subject: [PATCH 068/211] update example --- .../2021-07-01/examples/ExternalFQDN/get.json | 275 ++---------------- .../examples/PrivateLinkResource/list.json | 2 +- 2 files changed, 29 insertions(+), 248 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json index d448c7acb814..591626f1fa3f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/ExternalFQDN/get.json @@ -10,253 +10,34 @@ "body": { "value": [ { - "category": "Azure Active Directory", - "endpoints": [ - { - "domainName": "login.microsoftonline.com", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure portal", - "endpoints": [ - { - "domainName": "management.azure.com", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure Resource Manager", - "endpoints": [ - { - "domainName": "management.azure.com", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure Machine Learning studio", - "endpoints": [ - { - "domainName": "ml.azure.com", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "API", - "endpoints": [ - { - "domainName": "*.azureml.ms", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure Active Directory", - "endpoints": [ - { - "domainName": "login.microsoftonline.com", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Integrated notebook", - "endpoints": [ - { - "domainName": "*.notebooks.azure.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "localtest9127254374.file.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "localtest9127254374.dfs.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "localtest9127254374.blob.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "graph.microsoft.com", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "*.aznbcontent.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Compute cluster/instance", - "endpoints": [ - { - "domainName": "*.batchai.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "graph.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Compute instance", - "endpoints": [ - { - "domainName": "*.instances.azureml.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "*.instances.azureml.ms", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure Storage Account", - "endpoints": [ - { - "domainName": "core.windows.net", - "endpointDetails": [ - { - "port": 443 - }, - { - "port": 18881 - }, - { - "port": 8787 - } - ] - } - ] - }, - { - "category": "Azure Key Vault", - "endpoints": [ - { - "domainName": "vault.azure.net", - "endpointDetails": [ - { - "port": 443 - }, - { - "port": 18881 - }, - { - "port": 8787 - } - ] - } - ] - }, - { - "category": "Azure Container Registry", - "endpoints": [ - { - "domainName": "azurecr.io", - "endpointDetails": [ - { - "port": 443 - }, - { - "port": 18881 - }, - { - "port": 8787 - } - ] - } - ] - }, - { - "category": "Microsoft Container Registry", - "endpoints": [ - { - "domainName": "mcr.microsoft.com", - "endpointDetails": [ - { - "port": 443 - }, - { - "port": 18881 - }, - { - "port": 8787 - } - ] - } - ] + "properties": { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + }, + { + "properties": { + "category": "Azure portal", + "endpoints": [ + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } } ] } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json index 7d85cdd55e03..7b12b961de22 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/PrivateLinkResource/list.json @@ -13,7 +13,7 @@ { "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", "name": "amlworkspace", - "type": "Microsoft.Storage/workspaces/privateLinkResources", + "type": "Microsoft.MachineLearningServices/workspaces/privateLinkResources", "properties": { "groupId": "amlworkspace", "requiredMembers": [ From 9e6132c01dad3541f9afb2683ed2356dde8f319f Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Wed, 21 Jul 2021 13:21:55 +0800 Subject: [PATCH 069/211] add x-ms-secret to some fields of KubernetesProperties --- .../stable/2021-07-01/machineLearningServices.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index a6981e3c77b2..d3e8fd8b7330 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -3273,11 +3273,13 @@ "properties": { "relayConnectionString": { "description": "Relay connection string.", - "type": "string" + "type": "string", + "x-ms-secret": true }, "serviceBusConnectionString": { "description": "ServiceBus connection string.", - "type": "string" + "type": "string", + "x-ms-secret": true }, "extensionPrincipalId": { "description": "Extension principal-id.", From 7dac7cbbfe5b260d241982b8931821b30675e46e Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 21 Jul 2021 10:00:44 -0700 Subject: [PATCH 070/211] fix example --- .../2021-07-01/examples/Workspace/diagnose.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json index 7ca129ce7a75..32af4e63c754 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json @@ -21,20 +21,20 @@ "200": { "body": { "value": { - "UDR": [], - "NSG": [], - "ResourceLock": [], - "DNSResolution": [ + "userDefinedRouteResults": [], + "networkSecurityRuleResults": [], + "resourceLockResults": [], + "dnsResolutionResults": [ { "code": "CustomDNSInUse", "level": "Warning", "message": "We have detected an on-premise dns server is configured. Please make sure conditional forwarding is configured correctly according to doc https://foo" } ], - "StorageAccount": [], - "KeyVault": [], - "ContainerRegistry": [], - "Others": [] + "storageAccountResults": [], + "keyVaultResults": [], + "containerRegistryResults": [], + "otherResults": [] } } }, From fe14f861eb4eee762c39a3c57f1358397a9fc336 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 21 Jul 2021 10:24:01 -0700 Subject: [PATCH 071/211] fix build error --- .../2021-07-01/machineLearningServices.json | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index d3e8fd8b7330..7989bd819399 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -5054,19 +5054,25 @@ } } }, + "FQDNEndpointsProperties": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpoint" + } + } + } + }, "FQDNEndpoints": { "type": "object", "properties": { "properties": { - "category": { - "type": "string" - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/definitions/FQDNEndpoint" - } - } + "$ref": "#/definitions/FQDNEndpointsProperties" } } }, From 6054d87ee6fbf075a28b71089050692c6d7431d3 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 21 Jul 2021 14:22:46 -0700 Subject: [PATCH 072/211] add one new diagnosis category --- .../2021-07-01/examples/Workspace/diagnose.json | 2 ++ .../stable/2021-07-01/machineLearningServices.json | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json index 32af4e63c754..c2a838aab424 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/diagnose.json @@ -13,6 +13,7 @@ "storageAccount": {}, "keyVault": {}, "containerRegistry": {}, + "applicationInsights": {}, "others": {} } } @@ -34,6 +35,7 @@ "storageAccountResults": [], "keyVaultResults": [], "containerRegistryResults": [], + "applicationInsightsResults": [], "otherResults": [] } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index 7989bd819399..239f3a0de917 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2604,6 +2604,13 @@ "type": "object" } }, + "applicationInsights": { + "description": "Setting for diagnosing dependent application insights", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, "others": { "description": "Setting for diagnosing unclassified category of problems", "type": "object", @@ -2701,6 +2708,12 @@ "$ref": "#/definitions/DiagnoseResult" } }, + "applicationInsightsResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, "otherResults": { "type": "array", "items": { From 5761fe64d248e55141ab1e77075cdb9df979b022 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 22 Jul 2021 16:40:47 -0700 Subject: [PATCH 073/211] fix swagger example --- .../Compute/createOrUpdate/AKSCompute.json | 5 ++- .../Compute/createOrUpdate/AmlCompute.json | 32 ++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json index e321caeef10c..02611046de3b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AKSCompute.json @@ -28,7 +28,10 @@ "description": "some compute", "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", "computeType": "AKS", - "provisioningState": "Updating" + "provisioningState": "Succeeded", + "properties": { + "agentCount": 4 + } } } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json index 489a382b8f6b..ac555ff18eb2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -29,8 +29,38 @@ "location": "eastus2", "properties": { "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", "computeType": "AmlCompute", - "provisioningState": "Updating" + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } } } }, From 9358de2e4daa5ee78f8b253846198267c2532c26 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 27 Jul 2021 09:51:04 -0700 Subject: [PATCH 074/211] address comments on ListNodes api --- .../examples/Compute/listNodes.json | 1 - .../2021-07-01/machineLearningServices.json | 39 +++---------------- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json index 1a2939480de2..398b809a3900 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Compute/listNodes.json @@ -9,7 +9,6 @@ "responses": { "200": { "body": { - "computeType": "AmlCompute", "nodes": [ { "nodeId": "tvm-3601533753_1-20170719t162906z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index 239f3a0de917..85c1831db462 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -4015,38 +4015,7 @@ }, "description": "AmlCompute update parameters." }, - "ComputeNodesInformation": { - "type": "object", - "description": "Compute nodes information related to a Machine Learning compute. Might differ for every type of compute.", - "discriminator": "computeType", - "properties": { - "computeType": { - "description": "The type of compute", - "$ref": "#/definitions/ComputeType" - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The continuation token." - } - }, - "required": [ - "computeType" - ] - }, "AmlComputeNodesInformation": { - "description": "Compute node information related to a AmlCompute.", - "allOf": [ - { - "$ref": "#/definitions/ComputeNodesInformation" - }, - { - "$ref": "#/definitions/AmlComputeNodesResult" - } - ], - "x-ms-discriminator-value": "AmlCompute" - }, - "AmlComputeNodesResult": { "type": "object", "description": "Result of AmlCompute Nodes", "properties": { @@ -4057,6 +4026,11 @@ "$ref": "#/definitions/AmlComputeNodeInformation" }, "description": "The collection of returned AmlCompute nodes details." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." } } }, @@ -4111,8 +4085,7 @@ "title": "Run ID.", "description": "ID of the Experiment running on the node, if any else null." } - }, - "x-ms-discriminator-value": "AmlCompute" + } }, "VirtualMachineSshCredentials": { "type": "object", From 50c2006e9c2af7c36f2dcb454ea49ccbb2fba5ed Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 28 Jul 2021 16:34:44 -0700 Subject: [PATCH 075/211] move 2021-07-01 version to 2021-10-01 --- .../Compute/createOrUpdate/AKSCompute.json | 56 + .../Compute/createOrUpdate/AmlCompute.json | 84 + .../createOrUpdate/BasicAKSCompute.json | 44 + .../createOrUpdate/BasicAmlCompute.json | 60 + .../BasicDataFactoryCompute.json | 44 + .../createOrUpdate/ComputeInstance.json | 59 + .../ComputeInstanceMinimal.json | 47 + .../createOrUpdate/KubernetesCompute.json | 123 + .../2021-10-01/examples/Compute/delete.json | 19 + .../examples/Compute/get/AKSCompute.json | 27 + .../examples/Compute/get/AmlCompute.json | 54 + .../examples/Compute/get/ComputeInstance.json | 60 + .../Compute/get/KubernetesCompute.json | 54 + .../2021-10-01/examples/Compute/list.json | 45 + .../2021-10-01/examples/Compute/listKeys.json | 19 + .../examples/Compute/listNodes.json | 33 + .../2021-10-01/examples/Compute/patch.json | 38 + .../2021-10-01/examples/Compute/restart.json | 12 + .../2021-10-01/examples/Compute/start.json | 12 + .../2021-10-01/examples/Compute/stop.json | 12 + .../2021-10-01/examples/ExternalFQDN/get.json | 46 + .../examples/Notebook/listKeys.json | 16 + .../2021-10-01/examples/Notebook/prepare.json | 21 + .../createOrUpdate.json | 38 + .../PrivateEndpointConnection/delete.json | 14 + .../PrivateEndpointConnection/get.json | 30 + .../PrivateEndpointConnection/list.json | 50 + .../examples/PrivateLinkResource/list.json | 28 + .../2021-10-01/examples/Quota/list.json | 415 ++ .../2021-10-01/examples/Quota/update.json | 45 + .../2021-10-01/examples/Usage/list.json | 400 ++ .../examples/VirtualMachineSize/list.json | 388 ++ .../2021-10-01/examples/Workspace/create.json | 105 + .../2021-10-01/examples/Workspace/delete.json | 13 + .../examples/Workspace/diagnose.json | 45 + .../2021-10-01/examples/Workspace/get.json | 85 + .../Workspace/listByResourceGroup.json | 46 + .../Workspace/listBySubscription.json | 45 + .../examples/Workspace/listKeys.json | 35 + .../Workspace/listNotebookAccessToken.json | 20 + .../Workspace/listStorageAccountKeys.json | 15 + .../examples/Workspace/resyncKeys.json | 12 + .../2021-10-01/examples/Workspace/update.json | 40 + .../examples/WorkspaceConnection/create.json | 32 + .../examples/WorkspaceConnection/delete.json | 13 + .../examples/WorkspaceConnection/get.json | 24 + .../examples/WorkspaceConnection/list.json | 40 + .../examples/WorkspaceFeature/list.json | 26 + .../examples/WorkspaceSku/list.json | 79 + .../2021-10-01/machineLearningServices.json | 5077 +++++++++++++++++ .../stable/2021-10-01/workspaceFeatures.json | 113 + .../stable/2021-10-01/workspaceSkus.json | 230 + 52 files changed, 8488 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json new file mode 100644 index 000000000000..02611046de3b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "properties": { + "agentCount": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded", + "properties": { + "agentCount": 4 + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json new file mode 100644 index 000000000000..ac555ff18eb2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "description": "some compute", + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "computeType": "AmlCompute", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json new file mode 100644 index 000000000000..8275f639cb76 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AKS" + } + } + }, + "responses": { + "200": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AKS", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json new file mode 100644 index 000000000000..69edafb6cfd5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myImageGallery/images/myImageDefinition/versions/0.0.1" + }, + "isolatedNetwork": false, + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "NotSpecified", + "enableNodePublicIp": true + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "AmlCompute", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json new file mode 100644 index 000000000000..a8caa00c4095 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "DataFactory" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "DataFactory", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json new file mode 100644 index 000000000000..2b7d9a5f608f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Personal", + "sshSettings": { + "sshPublicAccess": "Disabled" + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json new file mode 100644 index 000000000000..5f3f4f5f7e89 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "properties": { + "vmSize": "STANDARD_NC6" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "computeType": "ComputeInstance", + "provisioningState": "Creating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json new file mode 100644 index 000000000000..a06657a2dc9a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json @@ -0,0 +1,123 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "properties": { + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Creating", + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Creating", + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json new file mode 100644 index 000000000000..acb29eb23e03 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "underlyingResourceAction": "Delete" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", + "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json new file mode 100644 index 000000000000..2fb95a55a5c1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json new file mode 100644 index 000000000000..ac34921c93d3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "computeType": "AmlCompute", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "vmPriority": "Dedicated", + "osType": "Windows", + "virtualMachineImage": null, + "isolatedNetwork": false, + "subnet": "test-subnet-resource-id", + "scaleSettings": { + "maxNodeCount": 1, + "minNodeCount": 0, + "nodeIdleTimeBeforeScaleDown": "PT5M" + }, + "remoteLoginPortPublicAccess": "Enabled", + "allocationState": "Resizing", + "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z", + "errors": null, + "currentNodeCount": 0, + "targetNodeCount": 1, + "nodeStateCounts": { + "preparingNodeCount": 0, + "runningNodeCount": 0, + "idleNodeCount": 0, + "unusableNodeCount": 0, + "leavingNodeCount": 0, + "preemptedNodeCount": 0 + }, + "enableNodePublicIp": true + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json new file mode 100644 index 000000000000..ba8e8b560f9f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "computeType": "ComputeInstance", + "provisioningState": "Succeeded", + "properties": { + "vmSize": "STANDARD_NC6", + "subnet": "test-subnet-resource-id", + "applicationSharingPolicy": "Shared", + "sshSettings": { + "sshPublicAccess": "Enabled", + "adminUserName": "azureuser", + "sshPort": 22 + }, + "computeInstanceAuthorizationType": "personal", + "personalComputeInstanceSettings": { + "assignedUser": { + "objectId": "00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + } + }, + "createdBy": { + "userName": "foobar@microsoft.com", + "userOrgId": "00000000-0000-0000-0000-000000000000", + "userId": "00000000-0000-0000-0000-000000000000" + }, + "connectivityEndpoints": { + "publicIpAddress": "10.0.0.1", + "privateIpAddress": "10.0.0.1" + }, + "applications": [ + { + "displayName": "Jupyter", + "endpointUri": "https://compute123.eastus2.azureml.net/jupyter" + } + ], + "errors": null, + "state": "Running" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json new file mode 100644 index 000000000000..f13fa52091bf --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "description": "some compute", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "Kubernetes", + "provisioningState": "Succeeded", + "isAttachedCompute": true, + "properties": { + "relayConnectionString": null, + "serviceBusConnectionString": null, + "extensionPrincipalId": null, + "extensionInstanceReleaseTrain": "stable", + "vcName": null, + "namespace": "default", + "defaultInstanceType": "defaultInstanceType", + "instanceTypes": { + "defaultInstanceType": { + "nodeSelector": null, + "resources": { + "requests": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + }, + "limits": { + "cpu": "1", + "memory": "4Gi", + "nvidia.com/gpu": null + } + } + } + } + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json new file mode 100644 index 000000000000..657146bbdf03 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute1234", + "location": "eastus", + "properties": { + "description": "some compute", + "createdOn": "2021-04-01T22:00:00.0000000+00:00", + "modifiedOn": "2021-04-01T22:00:00.0000000+00:00", + "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2", + "computeType": "AKS", + "provisioningState": "Succeeded" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json new file mode 100644 index 000000000000..ff5eb1395a78 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "computeType": "AKS", + "userKubeConfig": "user kube config...", + "adminKubeConfig": "admin kube config...", + "imagePullSecretName": "the image pull secret name" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json new file mode 100644 index 000000000000..398b809a3900 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "nodes": [ + { + "nodeId": "tvm-3601533753_1-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50000, + "nodeState": "running", + "runId": "2f378a44-38f2-443a-9f0d-9909d0b47890" + }, + { + "nodeId": "tvm-3601533753_2-20170719t162906z", + "privateIpAddress": "13.84.190.124", + "publicIpAddress": "13.84.190.134", + "port": 50001, + "nodeState": "idle" + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json new file mode 100644 index 000000000000..018da04bec51 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01", + "parameters": { + "properties": { + "properties": { + "scaleSettings": { + "maxNodeCount": 4, + "minNodeCount": 4, + "nodeIdleTimeBeforeScaleDown": "PT5M" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", + "type": "Microsoft.MachineLearningServices/workspaces/computes", + "name": "compute123", + "location": "eastus2", + "properties": { + "description": "some compute", + "computeType": "AmlCompute", + "provisioningState": "Updating" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json new file mode 100644 index 000000000000..7326f11d534a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json new file mode 100644 index 000000000000..7326f11d534a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json new file mode 100644 index 000000000000..7326f11d534a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "computeName": "compute123", + "api-version": "2021-07-01" + }, + "responses": { + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json new file mode 100644 index 000000000000..591626f1fa3f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "category": "Azure Active Directory", + "endpoints": [ + { + "domainName": "login.microsoftonline.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + }, + { + "properties": { + "category": "Azure portal", + "endpoints": [ + { + "domainName": "management.azure.com", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json new file mode 100644 index 000000000000..3daff45dffe0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json new file mode 100644 index 000000000000..5bd461d2b336 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "resourceId": "aabbccddee112233445566778899", + "fqdn": "testnotebook.notebooks.azure.com", + "notebookPreparationError": { + "statusCode": 500, + "errorMessage": "general error" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json new file mode 100644 index 000000000000..56a0760417e8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-07-01", + "monitor": "true", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json new file mode 100644 index 000000000000..ea2f5adcec32 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-07-01", + "monitor": "true" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json new file mode 100644 index 000000000000..dbe9336b1a69 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-07-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json new file mode 100644 index 000000000000..a19dbfe54820 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "privateEndpointConnectionName": "{privateEndpointConnectionName}", + "api-version": "2021-07-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/{privateEndpointConnectionName}", + "name": "{privateEndpointConnectionName}", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json new file mode 100644 index 000000000000..7b12b961de22 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "rg-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01", + "monitor": "true" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateLinkResources/amlworkspace", + "name": "amlworkspace", + "type": "Microsoft.MachineLearningServices/workspaces/privateLinkResources", + "properties": { + "groupId": "amlworkspace", + "requiredMembers": [ + "default" + ] + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json new file mode 100644 index 000000000000..68875002eba2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json @@ -0,0 +1,415 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard D Family Cluster Dedicated vCPUs", + "localizedValue": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quota", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard Dv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 12, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NCv3 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard ND Family Cluster Dedicated vCPUs", + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/quotas", + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace3/quotas/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 24, + "name": { + "value": "Standard NV Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json new file mode 100644 index 000000000000..669f01c82d19 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-07-01", + "parameters": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count" + } + ] + } + }, + "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", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 100, + "unit": "Count", + "status": "Success" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/quotas/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/quotas", + "limit": 200, + "unit": "Count", + "status": "Success" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json new file mode 100644 index 000000000000..cdd29efeb5d4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json @@ -0,0 +1,400 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "location": "eastus", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/totalCores/usages", + "currentValue": 7, + "limit": 100, + "name": { + "localizedValue": "Clusters", + "value": "Clusters" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/dedicatedCores/usages", + "currentValue": 14, + "limit": 24, + "name": { + "localizedValue": "Total Cluster Dedicated Regional vCPUs", + "value": "Total Cluster Dedicated Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 48, + "name": { + "localizedValue": "Standard D Family Cluster Dedicated vCPUs", + "value": "Standard D Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_DSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 2, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard DSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard DSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard Dv2 Family Cluster Dedicated vCPUs", + "value": "Standard Dv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "value": "Standard FSv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard FSv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 12, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs", + "value": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/workspaces/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspaces/computes/usages", + "currentValue": 6, + "limit": 24, + "name": { + "value": "Standard NC Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NC Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv2 Family Cluster Dedicated vCPUs", + "value": "Standard NCv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard NCv3 Family Cluster Dedicated vCPUs", + "value": "Standard NCv3 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "localizedValue": "Standard ND Family Cluster Dedicated vCPUs", + "value": "Standard ND Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 0, + "name": { + "value": "Standard NDv2 Family Cluster Dedicated vCPUs", + "localizedValue": "Standard NDv2 Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_Dedicated_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": 24, + "name": { + "localizedValue": "Standard NV Family Cluster Dedicated vCPUs", + "value": "Standard NV Family Cluster Dedicated vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages", + "type": "Microsoft.MachineLearningServices/lowPriorityCores/usages", + "currentValue": 18, + "limit": 50, + "name": { + "localizedValue": "Total Cluster LowPriority Regional vCPUs", + "value": "Total Cluster LowPriority Regional vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_D_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "value": "Standard D Family Cluster LowPriority vCPUs", + "localizedValue": "Standard D Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_DSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard DSv2 Family Cluster LowPriority vCPUs", + "value": "Standard DSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_Dv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard Dv2 Family Cluster LowPriority vCPUs", + "value": "Standard Dv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_FSv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard FSv2 Family Cluster LowPriority vCPUs", + "value": "Standard FSv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 18, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace1/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace2/usages/Standard_NC_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/workspace/usages", + "currentValue": 12, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "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", + "type": "Microsoft.MachineLearningServices/workspace/computes/usages", + "currentValue": 6, + "limit": -1, + "name": { + "localizedValue": "Standard NC Family Cluster LowPriority vCPUs", + "value": "Standard NC Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv2 Family Cluster LowPriority vCPUs", + "value": "Standard NCv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NCv3_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NCv3 Family Cluster LowPriority vCPUs", + "value": "Standard NCv3 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_ND_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard ND Family Cluster LowPriority vCPUs", + "value": "Standard ND Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NDv2_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NDv2 Family Cluster LowPriority vCPUs", + "value": "Standard NDv2 Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/usages/Standard_NV_Family_Cluster_LowPriority_vCPUs", + "type": "Microsoft.MachineLearningServices/vmFamily/usages", + "currentValue": 0, + "limit": -1, + "name": { + "localizedValue": "Standard NV Family Cluster LowPriority vCPUs", + "value": "Standard NV Family Cluster LowPriority vCPUs" + }, + "unit": "Count" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json new file mode 100644 index 000000000000..f4d7b56926ca --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json @@ -0,0 +1,388 @@ +{ + "parameters": { + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "api-version": "2021-07-01", + "location": "eastus" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Standard_DS1_v2", + "family": "standardDSv2Family", + "vCPUs": 1, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 7168, + "memoryGB": 3.5, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.13, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] + }, + { + "name": "Standard_DS2_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 14336, + "memoryGB": 7.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.25, + "osType": "Windows", + "vmTier": "Standard" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] + }, + { + "name": "Standard_DS3_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.2, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.5, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.29, + "osType": "Linux", + "vmTier": "Standard" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] + }, + { + "name": "Standard_DS4_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.12, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.4, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.01, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.58, + "osType": "Linux", + "vmTier": "Standard" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] + }, + { + "name": "Standard_DS5_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.17, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.81, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.02, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.23, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance", + "MIR" + ] + }, + { + "name": "Standard_DS11_v2", + "family": "standardDSv2Family", + "vCPUs": 2, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 28672, + "memoryGB": 14.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.26, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.04, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] + }, + { + "name": "Standard_DS12_v2", + "family": "standardDSv2Family", + "vCPUs": 4, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 57344, + "memoryGB": 28.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.37, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.53, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.21, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.07, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] + }, + { + "name": "Standard_DS13_v2", + "family": "standardDSv2Family", + "vCPUs": 8, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 114688, + "memoryGB": 56.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.42, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.74, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.06, + "osType": "Windows", + "vmTier": "Standard" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] + }, + { + "name": "Standard_DS14_v2", + "family": "standardDSv2Family", + "vCPUs": 16, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 229376, + "memoryGB": 112.0, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.3, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.48, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.84, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.11, + "osType": "Windows", + "vmTier": "Standard" + } + ] + }, + "supportedComputeTypes": [ + "AmlCompute", + "ComputeInstance" + ] + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json new file mode 100644 index 000000000000..ca0db7b5834e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01", + "parameters": { + "location": "eastus2euap", + "identity": { + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": {} + } + }, + "properties": { + "friendlyName": "HelloName", + "description": "test description", + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", + "sharedPrivateLinkResources": [ + { + "name": "testdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json new file mode 100644 index 000000000000..c042b38277bd --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json new file mode 100644 index 000000000000..c2a838aab424 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01", + "parameters": { + "value": { + "udr": {}, + "nsg": {}, + "resourceLock": {}, + "dnsResolution": {}, + "storageAccount": {}, + "keyVault": {}, + "containerRegistry": {}, + "applicationInsights": {}, + "others": {} + } + } + }, + "responses": { + "200": { + "body": { + "value": { + "userDefinedRouteResults": [], + "networkSecurityRuleResults": [], + "resourceLockResults": [], + "dnsResolutionResults": [ + { + "code": "CustomDNSInUse", + "level": "Warning", + "message": "We have detected an on-premise dns server is configured. Please make sure conditional forwarding is configured correctly according to doc https://foo" + } + ], + "storageAccountResults": [], + "keyVaultResults": [], + "containerRegistryResults": [], + "applicationInsightsResults": [], + "otherResults": [] + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json new file mode 100644 index 000000000000..5fdd566b54b6 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned,UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { + "principalId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444" + } + } + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description", + "encryption": { + "status": "Enabled", + "identity": { + "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai" + }, + "keyVaultProperties": { + "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", + "identityClientId": "" + } + }, + "hbiWorkspace": false, + "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", + "privateLinkCount": 0, + "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", + "imageBuildCompute": "testcompute", + "privateEndpointConnections": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/privateEndpointConnections/testprivatelinkconnection", + "name": "testprivatelinkconnection", + "type": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg-1234/providers/Microsoft.Network/privateEndpoints/petest01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ], + "sharedPrivateLinkResources": [ + { + "name": "testcosmosdbresource", + "properties": { + "privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDB/databaseAccounts/testcosmosdbresource/privateLinkResources/Sql", + "groupId": "Sql", + "requestMessage": "Please approve", + "status": "Approved" + } + } + ] + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json new file mode 100644 index 000000000000..ddee8f105a76 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1", + "name": "testworkspace1", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName 1", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json new file mode 100644 index 000000000000..d903527db353 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld", + "discoveryUrl": "http://example.com", + "friendlyName": "HelloName", + "description": "test description" + } + } + ], + "nextLink": "nextLink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json new file mode 100644 index 000000000000..e4459a79f7da --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null, + "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr", + "appInsightsInstrumentationKey": null, + "containerRegistryCredentials": { + "location": null, + "username": "testdemoworkjmjmeykp", + "passwords": [ + { + "name": "password", + "value": "" + }, + { + "name": "password2", + "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t" + } + ] + }, + "notebookAccessKeys": { + "primaryAccessKey": null, + "secondaryAccessKey": null + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json new file mode 100644 index 000000000000..28a0fdb63450 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "notebookResourceId": "94350843095843059", + "hostName": "Host product name", + "publicDns": "resource.notebooks.azure.net", + "tokenType": "Bearer", + "expiresIn": 28800.0, + "scope": "aznb_identity" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json new file mode 100644 index 000000000000..a03c0eb31d98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "userStorageKey": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json new file mode 100644 index 000000000000..774ba026b870 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resourceGroupName": "testrg123", + "workspaceName": "workspaces123", + "api-version": "2021-07-01" + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json new file mode 100644 index 000000000000..b278f987068b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "workspace-1234", + "workspaceName": "testworkspace", + "api-version": "2021-07-01", + "parameters": { + "properties": { + "friendlyName": "New friendly name", + "description": "new description", + "publicNetworkAccess": "Disabled" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace", + "name": "testworkspace", + "type": "Microsoft.MachineLearningServices/workspaces", + "location": "eastus2euap", + "identity": { + "principalId": "00000000-1111-2222-3333-444444444444", + "tenantId": "00000000-1111-2222-3333-444444444444", + "type": "SystemAssigned" + }, + "properties": { + "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry", + "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", + "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights", + "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", + "discoveryUrl": "http://example.com", + "friendlyName": "New friendly name", + "description": "new description", + "publicNetworkAccess": "Disabled" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json new file mode 100644 index 000000000000..c1df092c9e30 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-07-01", + "parameters": { + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json new file mode 100644 index 000000000000..34cee2db7fe6 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-07-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json new file mode 100644 index 000000000000..27dc5e29e5f2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "connectionName": "connection-1", + "api-version": "2021-07-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/connections/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json new file mode 100644 index 000000000000..82869701c230 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1", + "workspaceName": "workspace-1", + "api-version": "2021-07-01", + "target": "www.facebook.com", + "category": "ACR" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-1", + "name": "connection-1", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.MachineLearningServices/workspaces/workspace-1/linkedWorkspaces/connection-2", + "name": "connection-2", + "type": "Microsoft.MachineLearningServices/workspaces/connections", + "properties": { + "category": "ACR", + "target": "www.facebook.com", + "authType": "PAT", + "value": "secrets" + } + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json new file mode 100644 index 000000000000..fc6ba633a28b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2021-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "workspaceName": "testworkspace" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "automatedml_createeditexperimentsui", + "displayName": "Create edit experiments UI", + "description": "Create, edit or delete AutoML experiments in the SDK" + }, + { + "id": "workspace_upgradeworkspaceui", + "displayName": "Upgrade workspace UI", + "description": "Upgrade workspace from Basic to enterprise from the UI" + } + ] + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json new file mode 100644 index 000000000000..2ee3416b711b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2021-07-01", + "subscriptionId": "{subscription-id}" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "workspaces", + "name": "Basic", + "tier": "Basic", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ02", + "westus-AZ01" + ] + } + ], + "capabilities": [ + { + "name": "automatedml_readhyperdrivesdk", + "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" + }, + { + "name": "workspace_upgradeworkspacesdk", + "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" + } + ], + "restrictions": [] + }, + { + "resourceType": "workspaces", + "name": "Enterprise", + "tier": "Enterprise", + "locations": [ + "westus" + ], + "locationInfo": [ + { + "location": "westus", + "zones": [ + "westus-AZ01" + ], + "zoneDetails": [ + { + "name": [ + "westus-AZ01" + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ] + } + ] + } + ], + "capabilities": [ + { + "name": "automatedml_createeditexperimentssdk", + "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" + } + ], + "restrictions": [] + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json new file mode 100644 index 000000000000..85c1831db462 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -0,0 +1,5077 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", + "version": "2021-07-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow.", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.MachineLearningServices/operations": { + "get": { + "tags": [ + "Operation" + ], + "description": "Lists all of the available Azure Machine Learning Workspaces REST API operations.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified machine learning workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get Workspace": { + "$ref": "./examples/Workspace/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create Workspace": { + "$ref": "./examples/Workspace/create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for creating or updating a machine learning workspace.", + "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" + } + }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "Workspaces" + ], + "description": "Deletes a machine learning workspace.", + "operationId": "Workspaces_Delete", + "x-ms-examples": { + "Delete Workspace": { + "$ref": "./examples/Workspace/delete.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was accepted; 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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "Workspaces" + ], + "description": "Updates a machine learning workspace with the specified parameters.", + "operationId": "Workspaces_Update", + "x-ms-examples": { + "Update Workspace": { + "$ref": "./examples/Workspace/update.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The parameters for updating a machine learning workspace.", + "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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get Workspaces by Resource Group": { + "$ref": "./examples/Workspace/listByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/diagnose": { + "post": { + "tags": [ + "Workspaces" + ], + "summary": "Diagnose workspace setup issue.", + "operationId": "Workspaces_Diagnose", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "parameters", + "description": "The parameter of diagnosing workspace health", + "schema": { + "$ref": "#/definitions/DiagnoseWorkspaceParameters" + } + } + ], + "responses": { + "202": { + "description": "Success", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DiagnoseResponseResult" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Diagnose Workspace": { + "$ref": "./examples/Workspace/diagnose.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/resyncKeys": { + "post": { + "tags": [ + "Workspaces" + ], + "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", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Resync Workspace Keys": { + "$ref": "./examples/Workspace/resyncKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was accepted; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/usages": { + "get": { + "tags": [ + "Usage" + ], + "operationId": "Usages_List", + "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListUsagesResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List Usages": { + "$ref": "./examples/Usage/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/vmSizes": { + "get": { + "tags": [ + "VirtualMachineSizes" + ], + "operationId": "VirtualMachineSizes_List", + "description": "Returns supported VM Sizes in a location", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VirtualMachineSizeListResult" + } + } + }, + "x-ms-examples": { + "List VM Sizes": { + "$ref": "./examples/VirtualMachineSize/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/updateQuotas": { + "post": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_Update", + "description": "Update quota for each VM family in workspace.", + "parameters": [ + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for update quota is queried.", + "pattern": "^[-\\w\\._]+$" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/QuotaUpdateParameters" + }, + "description": "Quota update parameters." + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The operation was successful.", + "schema": { + "$ref": "#/definitions/UpdateWorkspaceQuotasResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "update quotas": { + "$ref": "./examples/Quota/update.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/locations/{location}/quotas": { + "get": { + "tags": [ + "Quota" + ], + "operationId": "Quotas_List", + "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location for which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ListWorkspaceQuotas" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "List workspace quotas by VMFamily": { + "$ref": "./examples/Quota/list.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available machine learning workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get Workspaces by subscription": { + "$ref": "./examples/Workspace/listBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "operationId": "Compute_List", + "description": "Gets computes in specified workspace.", + "x-ms-examples": { + "Get Computes": { + "$ref": "./examples/Compute/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}": { + "get": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_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.", + "x-ms-examples": { + "Get a AKS Compute": { + "$ref": "./examples/Compute/get/AKSCompute.json" + }, + "Get a AML Compute": { + "$ref": "./examples/Compute/get/AmlCompute.json" + }, + "Get an ComputeInstance": { + "$ref": "./examples/Compute/get/ComputeInstance.json" + }, + "Get a Kubernetes Compute": { + "$ref": "./examples/Compute/get/KubernetesCompute.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_CreateOrUpdate", + "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.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create a AML Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicAmlCompute.json" + }, + "Create an ComputeInstance Compute with minimal inputs": { + "$ref": "./examples/Compute/createOrUpdate/ComputeInstanceMinimal.json" + }, + "Create an ComputeInstance Compute": { + "$ref": "./examples/Compute/createOrUpdate/ComputeInstance.json" + }, + "Create an AKS Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicAKSCompute.json" + }, + "Create a DataFactory Compute": { + "$ref": "./examples/Compute/createOrUpdate/BasicDataFactoryCompute.json" + }, + "Update a AML Compute": { + "$ref": "./examples/Compute/createOrUpdate/AmlCompute.json" + }, + "Update an AKS Compute": { + "$ref": "./examples/Compute/createOrUpdate/AKSCompute.json" + }, + "Attach a Kubernetes Compute": { + "$ref": "./examples/Compute/createOrUpdate/KubernetesCompute.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "patch": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Update", + "description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Update a AmlCompute Compute": { + "$ref": "./examples/Compute/patch.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/ClusterUpdateParameters" + }, + "description": "Additional parameters for cluster update." + } + ], + "responses": { + "200": { + "description": "Compute update initiated.", + "schema": { + "$ref": "#/definitions/ComputeResource" + } + }, + "default": { + "description": "Error response describing why the request failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Delete", + "description": "Deletes specified Machine Learning compute.", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete Compute": { + "$ref": "./examples/Compute/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes": { + "post": { + "tags": [ + "MachineLearningComputes" + ], + "operationId": "Compute_ListNodes", + "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/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": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink", + "itemName": "nodes" + }, + "x-ms-examples": { + "Get compute nodes information for a compute": { + "$ref": "./examples/Compute/listNodes.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookAccessToken": { + "post": { + "tags": [ + "Workspaces" + ], + "description": "return notebook access token and refresh token", + "operationId": "Workspaces_ListNotebookAccessToken", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listNotebookAccessToken.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/NotebookAccessTokenResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listKeys": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_ListKeys", + "description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).", + "x-ms-examples": { + "List AKS Compute Keys": { + "$ref": "./examples/Compute/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success.", + "schema": { + "$ref": "#/definitions/ComputeSecrets" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/start": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Start", + "description": "Posts a start action to a compute instance", + "x-ms-examples": { + "Start ComputeInstance Compute": { + "$ref": "./examples/Compute/start.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/stop": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Stop", + "description": "Posts a stop action to a compute instance", + "x-ms-examples": { + "Stop ComputeInstance Compute": { + "$ref": "./examples/Compute/stop.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/restart": { + "post": { + "tags": [ + "OperationalizationClusters", + "MachineLearningComputes" + ], + "operationId": "Compute_Restart", + "description": "Posts a restart action to a compute instance", + "x-ms-examples": { + "Restart ComputeInstance Compute": { + "$ref": "./examples/Compute/restart.json" + } + }, + "x-ms-long-running-operation": true, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ComputeNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Success." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_List", + "description": "List all the private endpoint connections associated with the workspace.", + "x-ms-examples": { + "StorageAccountListPrivateEndpointConnections": { + "$ref": "./examples/PrivateEndpointConnection/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Successfully retrieved private endpoint connections.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceGetPrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Get the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspacePutPrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/createOrUpdate.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "OK -- Update the private endpoint connection properties successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Delete", + "description": "Deletes the specified private endpoint connection associated with the workspace.", + "x-ms-examples": { + "WorkspaceDeletePrivateEndpointConnection": { + "$ref": "./examples/PrivateEndpointConnection/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/PrivateEndpointConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK -- Delete the private endpoint connection successfully." + }, + "204": { + "description": "No Content -- The private endpoint connection does not exist." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "PrivateLinkResources_List", + "description": "Gets the private link resources that need to be created for a workspace.", + "x-ms-examples": { + "WorkspaceListPrivateLinkResources": { + "$ref": "./examples/PrivateLinkResource/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved private link resources.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/prepareNotebook": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_PrepareNotebook", + "description": "Prepare a notebook.", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-examples": { + "Prepare Notebook": { + "$ref": "./examples/Notebook/prepare.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/NotebookResourceInfo" + } + }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listStorageAccountKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_ListStorageAccountKeys", + "description": "List storage account keys of a workspace.", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Workspace/listStorageAccountKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListStorageAccountKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/listNotebookKeys": { + "post": { + "tags": [ + "ProxyOperations" + ], + "operationId": "Workspaces_ListNotebookKeys", + "description": "List keys of a notebook.", + "x-ms-examples": { + "List Workspace Keys": { + "$ref": "./examples/Notebook/listKeys.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListNotebookKeysResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections": { + "get": { + "tags": [ + "WorkspaceConnections" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "ListWorkspaceConnections": { + "$ref": "./examples/WorkspaceConnection/list.json" + } + }, + "operationId": "WorkspaceConnections_List", + "description": "List all connections under a AML workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/TargetParameter" + }, + { + "$ref": "#/parameters/CategoryParameter" + } + ], + "responses": { + "200": { + "description": "The response includes a paginated array of Workspace connections 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/PaginatedWorkspaceConnectionsList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/connections/{connectionName}": { + "put": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Create", + "description": "Add a new workspace connection.", + "x-ms-examples": { + "CreateWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/create.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The object for creating or updating a new workspace connection", + "required": true, + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + } + ], + "responses": { + "200": { + "description": "Successfully created the workspace connection.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "get": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Get", + "description": "Get the detail of a workspace connection.", + "x-ms-examples": { + "GetWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/get.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully retrieved the detail of the linked workspace.", + "schema": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + }, + "delete": { + "tags": [ + "WorkspaceConnections" + ], + "operationId": "WorkspaceConnections_Delete", + "description": "Delete a workspace connection.", + "x-ms-examples": { + "DeleteWorkspaceConnection": { + "$ref": "./examples/WorkspaceConnection/delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/ConnectionName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully deleted the workspace connection." + }, + "204": { + "description": "Specific workspace connection not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/outboundNetworkDependenciesEndpoints": { + "get": { + "tags": [ + "OutboundNetworkDependenciesEndpoints" + ], + "summary": "Called by Client (Portal, CLI, etc) to get a list of all external outbound dependencies (FQDNs) programmatically.", + "operationId": "Workspaces_ListOutboundNetworkDependenciesEndpoints", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ExternalFQDNResponse" + } + }, + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ListOutboundNetworkDependenciesEndpoints": { + "$ref": "./examples/ExternalFQDN/get.json" + } + } + } + } + }, + "parameters": { + "WorkspaceNameParameter": { + "name": "workspaceName", + "description": "Name of Azure Machine Learning workspace.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "ComputeNameParameter": { + "name": "computeName", + "description": "Name of the Azure Machine Learning compute.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "AsyncOperationIdParameter": { + "name": "asyncOperationId", + "description": "Identifier of an asynchronous Azure Machine Learning compute operation.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "name": "location", + "description": "The name of the Azure location/region.", + "in": "path", + "type": "string", + "required": true, + "x-ms-parameter-location": "method" + }, + "PaginationParameter": { + "in": "query", + "name": "$skip", + "type": "string", + "description": "Continuation token for pagination.", + "required": false, + "x-ms-parameter-location": "method" + }, + "ComputeDefinitionParameter": { + "in": "body", + "name": "parameters", + "description": "Payload with Machine Learning compute definition.", + "required": true, + "schema": { + "$ref": "#/definitions/ComputeResource" + }, + "x-ms-parameter-location": "method" + }, + "ComputeTypeParameter": { + "in": "query", + "name": "compute-type", + "type": "string", + "description": "Type of compute to filter by.", + "required": false, + "x-ms-parameter-location": "method" + }, + "UnderlyingResourceActionParameter": { + "in": "query", + "name": "underlyingResourceAction", + "type": "string", + "description": "Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.", + "required": true, + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "UnderlyingResourceAction", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace", + "x-ms-parameter-location": "method" + }, + "ConnectionName": { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string", + "description": "Friendly name of the workspace connection", + "x-ms-parameter-location": "method" + }, + "TargetParameter": { + "in": "query", + "name": "target", + "type": "string", + "description": "Target of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + }, + "CategoryParameter": { + "in": "query", + "name": "category", + "type": "string", + "description": "Category of the workspace connection.", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "definitions": { + "Operation": { + "description": "Azure Machine Learning workspace REST API operation", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}", + "type": "string" + }, + "display": { + "description": "Display name of operation", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft.MachineLearningExperimentation", + "type": "string" + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + } + } + }, + "OperationListResult": { + "description": "An array of operations supported by the resource provider.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + }, + "description": "List of AML workspace operations supported by the AML workspace resource provider." + } + } + }, + "Workspace": { + "type": "object", + "description": "An object that represents a machine learning workspace.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WorkspaceProperties", + "description": "The properties of the machine learning workspace.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "WorkspaceProperties": { + "type": "object", + "description": "The properties of a machine learning workspace.", + "properties": { + "workspaceId": { + "description": "The immutable id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "description": { + "description": "The description of this workspace.", + "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" + }, + "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", + "x-nullable": true + }, + "storageAccount": { + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created", + "type": "string" + }, + "discoveryUrl": { + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services", + "type": "string" + }, + "provisioningState": { + "type": "string", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true, + "description": "The current deployment state of workspace resource. The provisioningState is to indicate states for resource provisioning." + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperty", + "description": "The encryption settings of Azure ML workspace." + }, + "hbiWorkspace": { + "type": "boolean", + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service", + "default": false + }, + "serviceProvisionedResourceGroup": { + "type": "string", + "description": "The name of the managed resource group created by workspace RP in customer subscription if the workspace is CMK workspace", + "readOnly": true + }, + "privateLinkCount": { + "type": "integer", + "format": "int32", + "description": "Count of private connections in the workspace", + "readOnly": true + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "allowPublicAccessWhenBehindVnet": { + "type": "boolean", + "description": "The flag to indicate whether to allow public access when behind VNet.", + "default": false + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } + }, + "privateEndpointConnections": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The list of private endpoint connections in the workspace." + }, + "sharedPrivateLinkResources": { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + }, + "description": "The list of shared private link resources in this workspace." + }, + "notebookInfo": { + "readOnly": true, + "$ref": "#/definitions/NotebookResourceInfo", + "description": "The notebook info of Azure ML workspace." + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + }, + "tenantId": { + "description": "The tenant id associated with this workspace.", + "type": "string", + "readOnly": true + }, + "storageHnsEnabled": { + "description": "If the storage associated with the workspace has hierarchical namespace(HNS) enabled.", + "type": "boolean", + "readOnly": true + }, + "mlFlowTrackingUri": { + "description": "The URI associated with this workspace that machine learning flow must point at to set up tracking.", + "type": "string", + "readOnly": true + } + } + }, + "WorkspaceUpdateParameters": { + "description": "The parameters for updating a machine learning workspace.", + "properties": { + "tags": { + "description": "The resource tags for the machine learning workspace.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "properties": { + "$ref": "#/definitions/WorkspacePropertiesUpdateParameters", + "description": "The properties that the machine learning workspace will be updated with.", + "x-ms-client-flatten": true + } + } + }, + "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" + }, + "imageBuildCompute": { + "description": "The compute name for image build", + "type": "string" + }, + "serviceManagedResourcesSettings": { + "$ref": "#/definitions/ServiceManagedResourcesSettings", + "description": "The service managed resource settings." + }, + "primaryUserAssignedIdentity": { + "description": "The user assigned identity resource id that represents the workspace identity.", + "type": "string" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } + } + } + }, + "UsageName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of usage measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true + } + }, + "currentValue": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The current usage of the resource." + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "description": "The maximum permitted usage of the resource." + }, + "name": { + "readOnly": true, + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "description": "Describes AML Resource Usage." + }, + "ListUsagesResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Usage" + }, + "description": "The list of AML resource usages." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "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." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "title": "Virtual Machine size name", + "description": "The name of the virtual machine size.", + "readOnly": true + }, + "family": { + "type": "string", + "title": "Virtual Machine family name", + "description": "The family name of the virtual machine size.", + "readOnly": true + }, + "vCPUs": { + "type": "integer", + "format": "int32", + "title": "Number of vPUs", + "description": "The number of vCPUs supported by the virtual machine size.", + "readOnly": true + }, + "gpus": { + "type": "integer", + "format": "int32", + "title": "Number of gPUs", + "description": "The number of gPUs supported by the virtual machine size.", + "readOnly": true + }, + "osVhdSizeMB": { + "type": "integer", + "format": "int32", + "title": "OS VHD Disk size", + "description": "The OS VHD disk size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "maxResourceVolumeMB": { + "type": "integer", + "format": "int32", + "title": "Resource volume size", + "description": "The resource volume size, in MB, allowed by the virtual machine size.", + "readOnly": true + }, + "memoryGB": { + "type": "number", + "format": "double", + "title": "Memory size", + "description": "The amount of memory, in GB, supported by the virtual machine size.", + "readOnly": true + }, + "lowPriorityCapable": { + "type": "boolean", + "title": "Low priority capable", + "description": "Specifies if the virtual machine size supports low priority VMs.", + "readOnly": true + }, + "premiumIO": { + "type": "boolean", + "title": "Premium IO supported", + "description": "Specifies if the virtual machine size supports premium IO.", + "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" + }, + "supportedComputeTypes": { + "type": "array", + "items": { + "type": "string" + }, + "title": "Supported Compute Types", + "description": "Specifies the compute types supported by the virtual machine size." + } + }, + "description": "Describes the properties of a VM size." + }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "type": "object", + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, + "VirtualMachineSizeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "The list of virtual machine sizes supported by AmlCompute." + } + }, + "description": "The List Virtual Machine size operation response." + }, + "WorkspaceListResult": { + "description": "The result of a request to list machine learning workspaces.", + "properties": { + "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.", + "type": "array", + "items": { + "$ref": "#/definitions/Workspace" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next list of machine learning workspaces.", + "type": "string" + } + } + }, + "QuotaBaseProperties": { + "properties": { + "id": { + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The properties for Quota update or retrieval." + }, + "QuotaUpdateParameters": { + "properties": { + "value": { + "description": "The list for update quota.", + "type": "array", + "items": { + "$ref": "#/definitions/QuotaBaseProperties" + } + }, + "location": { + "description": "Region of workspace quota to be updated.", + "type": "string" + } + }, + "description": "Quota update parameters." + }, + "DiagnoseRequestProperties": { + "type": "object", + "properties": { + "udr": { + "description": "Setting for diagnosing user defined routing", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "nsg": { + "description": "Setting for diagnosing network security group", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "resourceLock": { + "description": "Setting for diagnosing resource lock", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "dnsResolution": { + "description": "Setting for diagnosing dns resolution", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "storageAccount": { + "description": "Setting for diagnosing dependent storage account", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "keyVault": { + "description": "Setting for diagnosing dependent key vault", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "containerRegistry": { + "description": "Setting for diagnosing dependent container registry", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "applicationInsights": { + "description": "Setting for diagnosing dependent application insights", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "others": { + "description": "Setting for diagnosing unclassified category of problems", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + } + }, + "DiagnoseWorkspaceParameters": { + "type": "object", + "description": "Parameters to diagnose a workspace", + "properties": { + "value": { + "description": "Value of Parameters", + "$ref": "#/definitions/DiagnoseRequestProperties" + } + } + }, + "DiagnoseResult": { + "type": "object", + "description": "Result of Diagnose", + "properties": { + "code": { + "description": "Code for workspace setup error", + "type": "string", + "readOnly": true + }, + "level": { + "description": "Level of workspace setup error", + "enum": [ + "Warning", + "Error", + "Information" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DiagnoseResultLevel", + "modelAsString": true + } + }, + "message": { + "description": "Message of workspace setup error", + "type": "string", + "readOnly": true + } + } + }, + "DiagnoseResponseResult": { + "type": "object", + "properties": { + "value": { + "type": "object", + "properties": { + "userDefinedRouteResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "networkSecurityRuleResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "resourceLockResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "dnsResolutionResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "storageAccountResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "keyVaultResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "containerRegistryResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "applicationInsightsResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + }, + "otherResults": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnoseResult" + } + } + } + } + } + }, + "UpdateWorkspaceQuotasResult": { + "properties": { + "value": { + "description": "The list of workspace quota update result.", + "items": { + "$ref": "#/definitions/UpdateWorkspaceQuotas" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The result of update workspace quota." + }, + "UpdateWorkspaceQuotas": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "limit": { + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + }, + "status": { + "type": "string", + "readOnly": false, + "title": "Update Workspace Quota Status.", + "description": "Status of update workspace quota.", + "enum": [ + "Undefined", + "Success", + "Failure", + "InvalidQuotaBelowClusterMinimum", + "InvalidQuotaExceedsSubscriptionLimit", + "InvalidVMFamilyName", + "OperationNotSupportedForSku", + "OperationNotEnabledForRegion" + ], + "x-ms-enum": { + "name": "status", + "modelAsString": true + } + } + }, + "description": "The properties for update Quota response." + }, + "ResourceName": { + "properties": { + "value": { + "readOnly": true, + "type": "string", + "description": "The name of the resource." + }, + "localizedValue": { + "readOnly": true, + "type": "string", + "description": "The localized name of the resource." + } + }, + "description": "The Resource Name." + }, + "ResourceQuota": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource ID." + }, + "amlWorkspaceLocation": { + "readOnly": true, + "type": "string", + "description": "Region of the AML workspace in the id." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "Specifies the resource type." + }, + "name": { + "$ref": "#/definitions/ResourceName", + "description": "Name of the resource.", + "readOnly": true + }, + "limit": { + "readOnly": true, + "type": "integer", + "format": "int64", + "title": "Limit.", + "description": "The maximum permitted quota of the resource." + }, + "unit": { + "readOnly": true, + "type": "string", + "description": "An enum describing the unit of quota measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "QuotaUnit", + "modelAsString": true + } + } + }, + "description": "The quota assigned to a resource." + }, + "ListWorkspaceQuotas": { + "properties": { + "value": { + "description": "The list of Workspace Quotas by VM Family", + "items": { + "$ref": "#/definitions/ResourceQuota" + }, + "readOnly": true, + "type": "array" + }, + "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" + } + }, + "description": "The List WorkspaceQuotasByVMFamily operation response." + }, + "Identity": { + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of resource." + }, + "type": { + "type": "string", + "description": "The identity type.", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false + } + }, + "userAssignedIdentities": { + "$ref": "#/definitions/UserAssignedIdentities", + "description": "The user assigned identities associated with the resource." + } + }, + "description": "Identity for the resource." + }, + "UserAssignedIdentities": { + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + } + }, + "UserAssignedIdentity": { + "description": "User Assigned Identity", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the user assigned identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the user assigned identity." + }, + "clientId": { + "readOnly": true, + "type": "string", + "description": "The clientId(aka appId) of the user assigned identity." + } + } + }, + "ResourceId": { + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet.", + "x-ms-azure-resource": true + }, + "ListWorkspaceKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "userStorageResourceId": { + "readOnly": true, + "type": "string" + }, + "appInsightsInstrumentationKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "containerRegistryCredentials": { + "readOnly": true, + "$ref": "#/definitions/RegistryListCredentialsResult" + }, + "notebookAccessKeys": { + "readOnly": true, + "$ref": "#/definitions/ListNotebookKeysResult" + } + } + }, + "NotebookAccessTokenResult": { + "type": "object", + "properties": { + "notebookResourceId": { + "readOnly": true, + "type": "string" + }, + "hostName": { + "readOnly": true, + "type": "string" + }, + "publicDns": { + "readOnly": true, + "type": "string" + }, + "accessToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "tokenType": { + "readOnly": true, + "type": "string" + }, + "expiresIn": { + "readOnly": true, + "type": "integer", + "format": "int32" + }, + "refreshToken": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "scope": { + "readOnly": true, + "type": "string" + } + } + }, + "RegistryListCredentialsResult": { + "type": "object", + "properties": { + "location": { + "readOnly": true, + "type": "string" + }, + "username": { + "readOnly": true, + "type": "string" + }, + "passwords": { + "type": "array", + "items": { + "$ref": "#/definitions/Password" + } + } + } + }, + "Password": { + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string" + }, + "value": { + "readOnly": true, + "type": "string" + } + } + }, + "PaginatedComputeResourcesList": { + "type": "object", + "description": "Paginated list of Machine Learning compute objects wrapped in ARM resource envelope.", + "properties": { + "value": { + "type": "array", + "description": "An array of Machine Learning compute objects wrapped in ARM resource envelope.", + "items": { + "$ref": "#/definitions/ComputeResource" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "ComputeResource": { + "type": "object", + "description": "Machine Learning compute object wrapped into ARM resource envelope.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + }, + { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "Compute": { + "type": "object", + "description": "Machine Learning compute object.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + }, + "computeLocation": { + "description": "Location for the underlying compute", + "type": "string" + }, + "provisioningState": { + "type": "string", + "description": "The provision state of the cluster. Valid values are Unknown, Updating, Provisioning, Succeeded, and Failed.", + "enum": [ + "Unknown", + "Updating", + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "createdOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was created." + }, + "modifiedOn": { + "type": "string", + "readOnly": true, + "format": "date-time", + "description": "The time at which the compute was last modified." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + }, + "provisioningErrors": { + "type": "array", + "description": "Errors during provisioning", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + }, + "readOnly": true + }, + "isAttachedCompute": { + "type": "boolean", + "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 + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." + } + }, + "required": [ + "computeType" + ] + }, + "AKS": { + "description": "A Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "description": "AKS properties", + "properties": { + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "agentVmSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "clusterPurpose": { + "description": "Intended usage of the cluster", + "type": "string", + "default": "FastProd", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ], + "x-ms-enum": { + "name": "ClusterPurpose", + "modelAsString": true + } + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + }, + "loadBalancerType": { + "description": "Load Balancer Type", + "type": "string", + "default": "PublicIp", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true + } + }, + "loadBalancerSubnet": { + "description": "Load Balancer Subnet", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "AKS" + }, + "Kubernetes": { + "description": "A Machine Learning compute based on Kubernetes Compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "#/definitions/KubernetesSchema" + } + ], + "x-ms-discriminator-value": "Kubernetes" + }, + "KubernetesSchema": { + "type": "object", + "description": "Kubernetes Compute Schema", + "properties": { + "properties": { + "description": "Properties of Kubernetes", + "$ref": "#/definitions/KubernetesProperties" + } + } + }, + "KubernetesProperties": { + "type": "object", + "description": "Kubernetes properties", + "properties": { + "relayConnectionString": { + "description": "Relay connection string.", + "type": "string", + "x-ms-secret": true + }, + "serviceBusConnectionString": { + "description": "ServiceBus connection string.", + "type": "string", + "x-ms-secret": true + }, + "extensionPrincipalId": { + "description": "Extension principal-id.", + "type": "string" + }, + "extensionInstanceReleaseTrain": { + "description": "Extension instance release train.", + "type": "string" + }, + "vcName": { + "description": "VC name.", + "type": "string" + }, + "namespace": { + "description": "Compute namespace", + "type": "string", + "default": "default" + }, + "defaultInstanceType": { + "description": "Default instance type", + "type": "string" + }, + "instanceTypes": { + "description": "Instance Type Schema", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InstanceTypeSchema" + } + } + } + }, + "AmlComputeProperties": { + "type": "object", + "description": "AML Compute properties", + "properties": { + "osType": { + "description": "Compute OS Type", + "type": "string", + "default": "Linux", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "OsType", + "modelAsString": true + } + }, + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "vmPriority": { + "description": "Virtual Machine priority", + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ], + "x-ms-enum": { + "name": "VmPriority", + "modelAsString": true + } + }, + "virtualMachineImage": { + "description": "Virtual Machine image for AML Compute - windows only", + "$ref": "#/definitions/VirtualMachineImage" + }, + "isolatedNetwork": { + "description": "Network is isolated or not", + "type": "boolean" + }, + "scaleSettings": { + "description": "Scale settings for AML Compute", + "$ref": "#/definitions/ScaleSettings" + }, + "userAccountCredentials": { + "title": "User account credentials.", + "description": "Credentials for an administrator user account that will be created on each compute node.", + "$ref": "#/definitions/UserAccountCredentials" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "remoteLoginPortPublicAccess": { + "type": "string", + "default": "NotSpecified", + "title": "Close remote Login Access Port", + "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" + ], + "x-ms-enum": { + "name": "remoteLoginPortPublicAccess", + "modelAsString": true + } + }, + "allocationState": { + "type": "string", + "readOnly": true, + "title": "Allocation state.", + "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" + ], + "x-ms-enum": { + "name": "AllocationState", + "modelAsString": true + } + }, + "allocationStateTransitionTime": { + "type": "string", + "readOnly": true, + "format": "date-time", + "title": "Allocation state transition time.", + "description": "The time at which the compute entered its current allocation state." + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered by various compute nodes during node setup.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "currentNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Current node count.", + "description": "The number of compute nodes currently assigned to the compute." + }, + "targetNodeCount": { + "type": "integer", + "readOnly": true, + "format": "int32", + "title": "Target node count.", + "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." + }, + "nodeStateCounts": { + "title": "Node state counts.", + "description": "Counts of various node states on the compute.", + "readOnly": true, + "$ref": "#/definitions/NodeStateCounts" + }, + "enableNodePublicIp": { + "type": "boolean", + "default": true, + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + } + } + }, + "AmlCompute": { + "description": "An Azure Machine Learning compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "description": "Properties(top level) of AmlCompute", + "properties": { + "properties": { + "description": "Properties of AmlCompute", + "$ref": "#/definitions/AmlComputeProperties" + } + } + } + ], + "x-ms-discriminator-value": "AmlCompute" + }, + "ComputeInstanceProperties": { + "description": "Compute Instance properties", + "type": "object", + "properties": { + "vmSize": { + "description": "Virtual Machine Size", + "type": "string" + }, + "subnet": { + "title": "Subnet.", + "description": "Virtual network subnet resource ID the compute nodes belong to.", + "$ref": "#/definitions/ResourceId" + }, + "applicationSharingPolicy": { + "type": "string", + "default": "Shared", + "title": "Sharing policy for applications on this compute instance", + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role.", + "enum": [ + "Personal", + "Shared" + ], + "x-ms-enum": { + "name": "applicationSharingPolicy", + "modelAsString": true + } + }, + "sshSettings": { + "description": "Specifies policy and settings for SSH access.", + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + "connectivityEndpoints": { + "readOnly": true, + "description": "Describes all connectivity endpoints available for this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceConnectivityEndpoints" + }, + "applications": { + "type": "array", + "readOnly": true, + "description": "Describes available applications and their endpoints on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceApplication" + } + }, + "createdBy": { + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceCreatedBy" + }, + "errors": { + "readOnly": true, + "title": "Errors.", + "description": "Collection of errors encountered on this ComputeInstance.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "state": { + "description": "The current state of this ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceState", + "readOnly": true + }, + "computeInstanceAuthorizationType": { + "type": "string", + "title": "Compute Instance Authorization type.", + "description": "The Compute Instance Authorization type. Available values are personal (default).", + "default": "personal", + "enum": [ + "personal" + ], + "x-ms-enum": { + "name": "ComputeInstanceAuthorizationType", + "modelAsString": true + } + }, + "personalComputeInstanceSettings": { + "title": "Personal Compute Instance settings.", + "description": "Settings for a personal compute instance.", + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + "setupScripts": { + "description": "Details of customized scripts to execute for setting up the cluster.", + "$ref": "#/definitions/SetupScripts" + }, + "lastOperation": { + "description": "The last operation on ComputeInstance.", + "$ref": "#/definitions/ComputeInstanceLastOperation", + "readOnly": true + } + } + }, + "ComputeInstance": { + "description": "An Azure Machine Learning compute instance.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "description": "Properties(top level) of ComputeInstance", + "properties": { + "properties": { + "description": "Properties of ComputeInstance", + "$ref": "#/definitions/ComputeInstanceProperties" + } + } + } + ], + "x-ms-discriminator-value": "ComputeInstance" + }, + "VirtualMachine": { + "description": "A Machine Learning compute based on Azure Virtual Machines.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + "isNotebookInstanceCompute": { + "description": "Indicates whether this compute will be used for running notebooks.", + "type": "boolean" + } + } + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "HDInsightProperties": { + "type": "object", + "description": "HDInsight compute properties", + "properties": { + "sshPort": { + "description": "Port open for ssh connections on the master node of the cluster.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the master node of the cluster.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for master node of the cluster", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + }, + "HDInsight": { + "description": "A HDInsight compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/HDInsightProperties" + } + } + } + ], + "x-ms-discriminator-value": "HDInsight" + }, + "DataFactory": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "DataFactory" + }, + "DatabricksProperties": { + "type": "object", + "description": "Properties of Databricks", + "properties": { + "databricksAccessToken": { + "description": "Databricks access token", + "type": "string" + }, + "workspaceUrl": { + "description": "Workspace Url", + "type": "string" + } + } + }, + "Databricks": { + "description": "A DataFactory compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DatabricksProperties" + } + } + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "DataLakeAnalytics": { + "description": "A DataLakeAnalytics compute.", + "allOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "type": "object", + "properties": { + "properties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" + } + } + } + } + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "SynapseSpark": { + "type": "object", + "description": "A SynapseSpark compute.", + "properties": { + "properties": { + "type": "object", + "properties": { + "autoScaleProperties": { + "description": "Auto scale properties.", + "$ref": "#/definitions/AutoScaleProperties" + }, + "autoPauseProperties": { + "description": "Auto pause properties.", + "$ref": "#/definitions/AutoPauseProperties" + }, + "sparkVersion": { + "description": "Spark version.", + "type": "string" + }, + "nodeCount": { + "description": "The number of compute nodes currently assigned to the compute.", + "type": "integer", + "format": "int32" + }, + "nodeSize": { + "description": "Node size.", + "type": "string" + }, + "nodeSizeFamily": { + "description": "Node size family.", + "type": "string" + }, + "subscriptionId": { + "description": "Azure subscription identifier.", + "type": "string" + }, + "resourceGroup": { + "description": "Name of the resource group in which workspace is located.", + "type": "string" + }, + "workspaceName": { + "description": "Name of Azure Machine Learning workspace.", + "type": "string" + }, + "poolName": { + "description": "Pool name.", + "type": "string" + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/Compute" + } + ], + "x-ms-discriminator-value": "SynapseSpark" + }, + "ServicePrincipalCredentials": { + "type": "object", + "description": "Service principal credentials.", + "properties": { + "clientId": { + "description": "Client Id", + "type": "string" + }, + "clientSecret": { + "description": "Client secret", + "type": "string" + } + }, + "required": [ + "clientId", + "clientSecret" + ] + }, + "SystemService": { + "type": "object", + "description": "A system service running on a compute.", + "properties": { + "systemServiceType": { + "description": "The type of this system service.", + "readOnly": true, + "type": "string" + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address", + "readOnly": true + }, + "version": { + "description": "The version for this type.", + "readOnly": true, + "type": "string" + } + } + }, + "SslConfiguration": { + "type": "object", + "description": "The ssl configuration for scoring", + "properties": { + "status": { + "description": "Enable or disable ssl for scoring", + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + "cert": { + "description": "Cert data", + "type": "string" + }, + "key": { + "description": "Key data", + "type": "string" + }, + "cname": { + "description": "CNAME of the cert", + "type": "string" + }, + "leafDomainLabel": { + "description": "Leaf domain label of public endpoint", + "type": "string" + }, + "overwriteExistingDomain": { + "description": "Indicates whether to overwrite existing domain label.", + "type": "boolean" + } + } + }, + "AksNetworkingConfiguration": { + "type": "object", + "description": "Advance configuration for AKS networking", + "properties": { + "subnetId": { + "description": "Virtual network subnet resource ID the compute nodes belong to", + "type": "string" + }, + "serviceCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.", + "type": "string" + }, + "dnsServiceIP": { + "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]?)$", + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.", + "type": "string" + }, + "dockerBridgeCidr": { + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$", + "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.", + "type": "string" + } + } + }, + "UserAccountCredentials": { + "properties": { + "adminUserName": { + "type": "string", + "title": "User name.", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserSshPublicKey": { + "type": "string", + "title": "SSH public key.", + "description": "SSH public key of the administrator user account." + }, + "adminUserPassword": { + "type": "string", + "title": "Password.", + "description": "Password of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "ScaleSettings": { + "type": "object", + "description": "scale settings for AML Compute", + "properties": { + "maxNodeCount": { + "description": "Max number of nodes to use", + "type": "integer", + "format": "int32" + }, + "minNodeCount": { + "description": "Min number of nodes to use", + "type": "integer", + "format": "int32", + "default": 0 + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ] + }, + "VirtualMachineImage": { + "type": "object", + "description": "Virtual Machine image for Windows AML Compute", + "properties": { + "id": { + "description": "Virtual Machine image path", + "type": "string" + } + }, + "required": [ + "id" + ] + }, + "NodeStateCounts": { + "properties": { + "idleNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Idle node count.", + "description": "Number of compute nodes in idle state." + }, + "runningNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Running node count.", + "description": "Number of compute nodes which are running jobs." + }, + "preparingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preparing node count.", + "description": "Number of compute nodes which are being prepared." + }, + "unusableNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Unusable node count.", + "description": "Number of compute nodes which are in unusable state." + }, + "leavingNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Leaving node count.", + "description": "Number of compute nodes which are leaving the amlCompute." + }, + "preemptedNodeCount": { + "readOnly": true, + "type": "integer", + "format": "int32", + "title": "Preempted node count.", + "description": "Number of compute nodes which are in preempted state." + } + }, + "description": "Counts of various compute node states on the amlCompute." + }, + "ScaleSettingsInformation": { + "type": "object", + "properties": { + "scaleSettings": { + "$ref": "#/definitions/ScaleSettings", + "title": "Scale settings." + } + }, + "description": "Desired scale settings for the amlCompute." + }, + "ClusterUpdateProperties": { + "properties": { + "properties": { + "description": "Properties of ClusterUpdate", + "$ref": "#/definitions/ScaleSettingsInformation" + } + }, + "description": "The properties of a amlCompute that need to be updated." + }, + "ClusterUpdateParameters": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ClusterUpdateProperties", + "description": "The properties of the amlCompute." + } + }, + "description": "AmlCompute update parameters." + }, + "AmlComputeNodesInformation": { + "type": "object", + "description": "Result of AmlCompute Nodes", + "properties": { + "nodes": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlComputeNodeInformation" + }, + "description": "The collection of returned AmlCompute nodes details." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The continuation token." + } + } + }, + "AmlComputeNodeInformation": { + "description": "Compute node information related to a AmlCompute.", + "properties": { + "nodeId": { + "readOnly": true, + "type": "string", + "title": "Node ID.", + "description": "ID of the compute node." + }, + "privateIpAddress": { + "readOnly": true, + "type": "string", + "title": "Private IP address.", + "description": "Private IP address of the compute node." + }, + "publicIpAddress": { + "readOnly": true, + "type": "string", + "title": "Public IP address.", + "description": "Public IP address of the compute node." + }, + "port": { + "readOnly": true, + "type": "number", + "format": "int32", + "title": "Port.", + "description": "SSH port number of the node." + }, + "nodeState": { + "readOnly": true, + "type": "string", + "enum": [ + "idle", + "running", + "preparing", + "unusable", + "leaving", + "preempted" + ], + "description": "State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.", + "x-ms-enum": { + "name": "nodeState", + "modelAsString": true + } + }, + "runId": { + "readOnly": true, + "type": "string", + "title": "Run ID.", + "description": "ID of the Experiment running on the node, if any else null." + } + } + }, + "VirtualMachineSshCredentials": { + "type": "object", + "description": "Admin credentials for virtual machine", + "properties": { + "username": { + "description": "Username of admin account", + "type": "string" + }, + "password": { + "description": "Password of admin account", + "type": "string" + }, + "publicKeyData": { + "description": "Public key data", + "type": "string" + }, + "privateKeyData": { + "description": "Private key data", + "type": "string" + } + } + }, + "ComputeSecrets": { + "type": "object", + "description": "Secrets related to a Machine Learning compute. Might differ for every type of compute.", + "discriminator": "computeType", + "properties": { + "computeType": { + "description": "The type of compute", + "$ref": "#/definitions/ComputeType" + } + }, + "required": [ + "computeType" + ] + }, + "AksComputeSecretsProperties": { + "type": "object", + "description": "Properties of AksComputeSecrets", + "properties": { + "userKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "adminKubeConfig": { + "type": "string", + "description": "Content of kubeconfig file that can be used to connect to the Kubernetes cluster." + }, + "imagePullSecretName": { + "type": "string", + "description": "Image registry pull secret." + } + } + }, + "AksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "$ref": "#/definitions/AksComputeSecretsProperties" + } + ], + "x-ms-discriminator-value": "AKS" + }, + "VirtualMachineSecrets": { + "description": "Secrets related to a Machine Learning compute based on AKS.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "DatabricksComputeSecretsProperties": { + "type": "object", + "description": "Properties of Databricks Compute Secrets", + "properties": { + "databricksAccessToken": { + "description": "access token for databricks account.", + "type": "string" + } + } + }, + "DatabricksComputeSecrets": { + "description": "Secrets related to a Machine Learning compute based on Databricks.", + "allOf": [ + { + "$ref": "#/definitions/ComputeSecrets" + }, + { + "$ref": "#/definitions/DatabricksComputeSecretsProperties" + } + ], + "x-ms-discriminator-value": "Databricks" + }, + "ComputeType": { + "type": "string", + "description": "The type of compute", + "enum": [ + "AKS", + "Kubernetes", + "AmlCompute", + "ComputeInstance", + "DataFactory", + "VirtualMachine", + "HDInsight", + "Databricks", + "DataLakeAnalytics", + "SynapseSpark" + ], + "x-ms-enum": { + "name": "ComputeType", + "modelAsString": true + } + }, + "Sku": { + "description": "Sku of the resource", + "type": "object", + "properties": { + "name": { + "description": "Name of the sku", + "type": "string" + }, + "tier": { + "description": "Tier of the sku like Basic or Enterprise", + "type": "string" + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + }, + "description": "List of private endpoint connection associated with the specified workspace" + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + }, + "subnetArmId": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Subnet resource that private endpoint links to" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/Identity", + "description": "The identity of the resource." + }, + "location": { + "description": "Specifies the location of the resource.", + "type": "string" + }, + "tags": { + "description": "Contains resource tags defined as key/value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "SharedPrivateLinkResource": { + "properties": { + "name": { + "description": "Unique name of the private link.", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "properties": { + "privateLinkResourceId": { + "description": "The resource id that private link links to.", + "type": "string" + }, + "groupId": { + "description": "The private link resource group id.", + "type": "string" + }, + "requestMessage": { + "description": "Request message.", + "type": "string" + }, + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "EncryptionProperty": { + "properties": { + "status": { + "description": "Indicates whether or not the encryption is enabled for the workspace.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "EncryptionStatus", + "modelAsString": true + } + }, + "identity": { + "$ref": "#/definitions/IdentityForCmk", + "description": "The identity that will be used to access the key vault for encryption at rest." + }, + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Customer Key vault properties." + } + }, + "required": [ + "status", + "keyVaultProperties" + ], + "type": "object" + }, + "KeyVaultProperties": { + "properties": { + "keyVaultArmId": { + "description": "The ArmId of the keyVault where the customer owned encryption key is present.", + "type": "string" + }, + "keyIdentifier": { + "description": "Key vault uri to access the encryption key.", + "type": "string" + }, + "identityClientId": { + "description": "For future use - The client id of the identity which will be used to access key vault.", + "type": "string" + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ], + "type": "object" + }, + "IdentityForCmk": { + "description": "Identity that will be used to access key vault for encryption at rest", + "type": "object", + "properties": { + "userAssignedIdentity": { + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault", + "type": "string" + } + } + }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, + "ComputeInstanceSshSettings": { + "type": "object", + "description": "Specifies policy and settings for SSH access.", + "properties": { + "sshPublicAccess": { + "type": "string", + "default": "Disabled", + "title": "Access policy for SSH", + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "sshPublicAccess", + "modelAsString": true + } + }, + "adminUserName": { + "type": "string", + "readOnly": true, + "description": "Describes the admin user name." + }, + "sshPort": { + "type": "integer", + "format": "int32", + "readOnly": true, + "description": "Describes the port for connecting through SSH." + }, + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + } + } + }, + "ComputeInstanceState": { + "type": "string", + "description": "Current state of an ComputeInstance.", + "enum": [ + "Creating", + "CreateFailed", + "Deleting", + "Running", + "Restarting", + "JobRunning", + "SettingUp", + "SetupFailed", + "Starting", + "Stopped", + "Stopping", + "UserSettingUp", + "UserSetupFailed", + "Unknown", + "Unusable" + ], + "x-ms-enum": { + "name": "ComputeInstanceState", + "modelAsString": true + } + }, + "ComputeInstanceLastOperation": { + "type": "object", + "description": "The last operation on ComputeInstance.", + "properties": { + "operationName": { + "type": "string", + "description": "Name of the last operation.", + "enum": [ + "Create", + "Start", + "Stop", + "Restart", + "Reimage", + "Delete" + ], + "x-ms-enum": { + "name": "OperationName", + "modelAsString": true + } + }, + "operationTime": { + "type": "string", + "format": "date-time", + "description": "Time of the last operation." + }, + "operationStatus": { + "type": "string", + "description": "Operation status.", + "enum": [ + "InProgress", + "Succeeded", + "CreateFailed", + "StartFailed", + "StopFailed", + "RestartFailed", + "ReimageFailed", + "DeleteFailed" + ], + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": true + } + } + } + }, + "ComputeInstanceApplication": { + "type": "object", + "description": "Defines an Aml Instance application and its connectivity endpoint URI.", + "properties": { + "displayName": { + "type": "string", + "description": "Name of the ComputeInstance application." + }, + "endpointUri": { + "type": "string", + "description": "Application' endpoint URI." + } + } + }, + "ComputeInstanceConnectivityEndpoints": { + "type": "object", + "readOnly": true, + "description": "Defines all connectivity endpoints and properties for an ComputeInstance.", + "properties": { + "publicIpAddress": { + "type": "string", + "readOnly": true, + "description": "Public IP Address of this ComputeInstance." + }, + "privateIpAddress": { + "type": "string", + "readOnly": true, + "description": "Private IP Address of this ComputeInstance (local to the VNET in which the compute instance is deployed)." + } + } + }, + "ComputeInstanceCreatedBy": { + "type": "object", + "readOnly": true, + "description": "Describes information on user who created this ComputeInstance.", + "properties": { + "userName": { + "type": "string", + "readOnly": true, + "description": "Name of the user." + }, + "userOrgId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies user' Azure Active Directory organization." + }, + "userId": { + "type": "string", + "readOnly": true, + "description": "Uniquely identifies the user within his/her organization." + } + } + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "$ref": "#/definitions/AssignedUser", + "title": "Assigned User.", + "description": "A user explicitly assigned to a personal compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "AssignedUser": { + "type": "object", + "description": "A user that can be assigned to a compute instance.", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ] + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "$ref": "#/definitions/CosmosDbSettings", + "description": "The settings for the service managed cosmosdb account." + } + } + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "type": "integer", + "format": "int32", + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "NotebookResourceInfo": { + "type": "object", + "properties": { + "fqdn": { + "type": "string" + }, + "resourceId": { + "type": "string", + "description": "the data plane resourceId that used to initialize notebook component" + }, + "notebookPreparationError": { + "$ref": "#/definitions/NotebookPreparationError", + "description": "The error that occurs when preparing notebook.", + "x-nullable": true + } + } + }, + "NotebookPreparationError": { + "type": "object", + "properties": { + "errorMessage": { + "type": "string" + }, + "statusCode": { + "format": "int32", + "type": "integer" + } + } + }, + "ListNotebookKeysResult": { + "type": "object", + "properties": { + "primaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + }, + "secondaryAccessKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "ListStorageAccountKeysResult": { + "type": "object", + "properties": { + "userStorageKey": { + "readOnly": true, + "type": "string", + "x-ms-secret": true + } + } + }, + "PaginatedWorkspaceConnectionsList": { + "type": "object", + "description": "Paginated list of Workspace connection objects.", + "properties": { + "value": { + "type": "array", + "description": "An array of Workspace connection objects.", + "items": { + "$ref": "#/definitions/WorkspaceConnection" + } + }, + "nextLink": { + "type": "string", + "description": "A continuation link (absolute URI) to the next page of results in the list." + } + } + }, + "WorkspaceConnection": { + "x-ms-azure-resource": true, + "description": "Workspace connection.", + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ResourceId of the workspace connection.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type of workspace connection.", + "readOnly": true + }, + "properties": { + "type": "object", + "description": "Properties of workspace connection.", + "$ref": "#/definitions/WorkspaceConnectionProps", + "x-ms-client-flatten": true + } + } + }, + "WorkspaceConnectionProps": { + "type": "object", + "description": "Workspace Connection specific properties.", + "properties": { + "category": { + "description": "Category of the workspace connection.", + "type": "string" + }, + "target": { + "description": "Target of the workspace connection.", + "type": "string" + }, + "authType": { + "description": "Authorization type of the workspace connection.", + "type": "string" + }, + "value": { + "description": "Value details of the workspace connection.", + "type": "string" + }, + "valueFormat": { + "description": "format for the workspace connection value", + "type": "string", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "ValueFormat", + "modelAsString": true + } + } + } + }, + "SetupScripts": { + "type": "object", + "description": "Details of customized scripts to execute for setting up the cluster.", + "properties": { + "scripts": { + "description": "Customized setup scripts", + "$ref": "#/definitions/ScriptsToExecute" + } + } + }, + "ScriptsToExecute": { + "type": "object", + "description": "Customized setup scripts", + "properties": { + "startupScript": { + "description": "Script that's run every time the machine starts.", + "$ref": "#/definitions/ScriptReference" + }, + "creationScript": { + "description": "Script that's run only once during provision of the compute.", + "$ref": "#/definitions/ScriptReference" + } + } + }, + "ScriptReference": { + "type": "object", + "description": "Script reference", + "properties": { + "scriptSource": { + "description": "The storage source of the script: inline, workspace.", + "type": "string" + }, + "scriptData": { + "description": "The location of scripts in the mounted volume.", + "type": "string" + }, + "scriptArguments": { + "description": "Optional command line arguments passed to the script to run.", + "type": "string" + }, + "timeout": { + "description": "Optional time period passed to timeout command.", + "type": "string" + } + } + }, + "AutoScaleProperties": { + "type": "object", + "description": "Auto scale properties", + "properties": { + "minNodeCount": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + }, + "maxNodeCount": { + "format": "int32", + "type": "integer" + } + } + }, + "AutoPauseProperties": { + "type": "object", + "description": "Auto pause properties", + "properties": { + "delayInMinutes": { + "format": "int32", + "type": "integer" + }, + "enabled": { + "type": "boolean" + } + } + }, + "InstanceTypeSchema": { + "type": "object", + "description": "Instance type schema.", + "properties": { + "nodeSelector": { + "type": "object", + "description": "Node Selector", + "additionalProperties": { + "type": "string" + } + }, + "resources": { + "type": "object", + "description": "Resource requests/limits for this instance type", + "properties": { + "requests": { + "description": "Resource requests for this instance type", + "$ref": "#/definitions/InstanceResourceSchema" + }, + "limits": { + "description": "Resource limits for this instance type", + "$ref": "#/definitions/InstanceResourceSchema" + } + } + } + } + }, + "InstanceResourceSchema": { + "type": "object", + "description": "Resource requests/limits for this instance type", + "additionalProperties": { + "type": "string" + } + }, + "FQDNEndpointDetail": { + "type": "object", + "properties": { + "port": { + "format": "int32", + "type": "integer" + } + } + }, + "FQDNEndpoint": { + "type": "object", + "properties": { + "domainName": { + "type": "string" + }, + "endpointDetails": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpointDetail" + } + } + } + }, + "FQDNEndpointsProperties": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpoint" + } + } + } + }, + "FQDNEndpoints": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/FQDNEndpointsProperties" + } + } + }, + "ExternalFQDNResponse": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/FQDNEndpoints" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json new file mode 100644 index 000000000000..ff5b04f12c6e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -0,0 +1,113 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-07-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/features": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all enabled features for a workspace", + "operationId": "WorkspaceFeatures_List", + "x-ms-examples": { + "List Workspace features": { + "$ref": "./examples/WorkspaceFeature/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ListAmlUserFeatureResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AmlUserFeature": { + "description": "Features enabled for a workspace", + "type": "object", + "properties": { + "id": { + "description": "Specifies the feature ID", + "type": "string" + }, + "displayName": { + "description": "Specifies the feature name ", + "type": "string" + }, + "description": { + "description": "Describes the feature for user experience", + "type": "string" + } + } + }, + "ListAmlUserFeatureResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/AmlUserFeature" + }, + "description": "The list of AML user facing features." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URI to fetch the next page of AML user features information. Call ListNext() with this to fetch the next page of AML user features information." + } + }, + "description": "The List Aml user feature operation response." + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json new file mode 100644 index 000000000000..0355e1e3a729 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json @@ -0,0 +1,230 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-07-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "get": { + "tags": [ + "WorkspaceSkus" + ], + "description": "Lists all skus with associated features", + "operationId": "WorkspaceSkus_List", + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/WorkspaceSku/list.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SkuListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "SkuListResult": { + "description": "List of skus with features", + "type": "object", + "properties": { + "value": { + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/WorkspaceSku" + } + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + } + } + }, + "SKUCapability": { + "description": "Features/user capabilities associated with the sku", + "type": "object", + "properties": { + "name": { + "description": "Capability/Feature ID", + "type": "string" + }, + "value": { + "description": "Details about the feature/capability", + "type": "string" + } + } + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "NotSpecified", + "NotAvailableForRegion", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "ResourceSkuLocationInfo": { + "properties": { + "location": { + "readOnly": true, + "type": "string", + "description": "Location of the SKU" + }, + "zones": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "List of availability zones where the SKU is supported." + }, + "zoneDetails": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ResourceSkuZoneDetails" + }, + "description": "Details of capabilities available to a SKU in specific zones." + } + } + }, + "ResourceSkuZoneDetails": { + "properties": { + "name": { + "type": "array", + "readOnly": true, + "items": { + "type": "string" + }, + "description": "The set of zones that the SKU is available in with the specified capabilities." + }, + "capabilities": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "A list of capabilities that are available for the SKU in the specified list of zones." + } + }, + "description": "Describes The zonal capabilities of a SKU." + }, + "WorkspaceSku": { + "description": "Describes Workspace Sku details and features", + "type": "object", + "properties": { + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "locationInfo": { + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/ResourceSkuLocationInfo" + }, + "description": "A list of locations and availability zones in those locations where the SKU is available." + }, + "tier": { + "description": "Sku Tier like Basic or Enterprise", + "type": "string", + "readOnly": true + }, + "resourceType": { + "type": "string", + "readOnly": true + }, + "name": { + "type": "string", + "readOnly": true + }, + "capabilities": { + "description": "List of features/user capabilities associated with the sku", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "readOnly": true + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + } + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} From 6a0458800820609951ef5e0c148729d0bee3e57e Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Wed, 28 Jul 2021 17:09:56 -0700 Subject: [PATCH 076/211] update api version in multi places and updated the ListSkus api to make it aligned with service --- .../Compute/createOrUpdate/AKSCompute.json | 2 +- .../Compute/createOrUpdate/AmlCompute.json | 2 +- .../createOrUpdate/BasicAKSCompute.json | 2 +- .../createOrUpdate/BasicAmlCompute.json | 2 +- .../BasicDataFactoryCompute.json | 2 +- .../createOrUpdate/ComputeInstance.json | 2 +- .../ComputeInstanceMinimal.json | 2 +- .../createOrUpdate/KubernetesCompute.json | 2 +- .../2021-10-01/examples/Compute/delete.json | 2 +- .../examples/Compute/get/AKSCompute.json | 2 +- .../examples/Compute/get/AmlCompute.json | 2 +- .../examples/Compute/get/ComputeInstance.json | 2 +- .../Compute/get/KubernetesCompute.json | 2 +- .../2021-10-01/examples/Compute/listKeys.json | 2 +- .../examples/Compute/listNodes.json | 2 +- .../2021-10-01/examples/Compute/patch.json | 2 +- .../2021-10-01/examples/Compute/restart.json | 2 +- .../2021-10-01/examples/Compute/start.json | 2 +- .../2021-10-01/examples/Compute/stop.json | 2 +- .../2021-10-01/examples/ExternalFQDN/get.json | 2 +- .../examples/Notebook/listKeys.json | 2 +- .../2021-10-01/examples/Notebook/prepare.json | 2 +- .../createOrUpdate.json | 2 +- .../PrivateEndpointConnection/delete.json | 2 +- .../PrivateEndpointConnection/get.json | 2 +- .../PrivateEndpointConnection/list.json | 2 +- .../examples/PrivateLinkResource/list.json | 2 +- .../2021-10-01/examples/Quota/list.json | 2 +- .../2021-10-01/examples/Quota/update.json | 2 +- .../2021-10-01/examples/Usage/list.json | 2 +- .../examples/VirtualMachineSize/list.json | 2 +- .../2021-10-01/examples/Workspace/create.json | 2 +- .../2021-10-01/examples/Workspace/delete.json | 2 +- .../examples/Workspace/diagnose.json | 2 +- .../2021-10-01/examples/Workspace/get.json | 2 +- .../Workspace/listByResourceGroup.json | 2 +- .../Workspace/listBySubscription.json | 2 +- .../examples/Workspace/listKeys.json | 2 +- .../Workspace/listNotebookAccessToken.json | 2 +- .../Workspace/listStorageAccountKeys.json | 2 +- .../examples/Workspace/resyncKeys.json | 2 +- .../2021-10-01/examples/Workspace/update.json | 2 +- .../examples/WorkspaceConnection/create.json | 2 +- .../examples/WorkspaceConnection/delete.json | 2 +- .../examples/WorkspaceConnection/get.json | 2 +- .../examples/WorkspaceConnection/list.json | 2 +- .../examples/WorkspaceFeature/list.json | 2 +- .../examples/WorkspaceSku/list.json | 71 +--- .../2021-10-01/machineLearningServices.json | 2 +- .../stable/2021-10-01/workspaceFeatures.json | 2 +- .../stable/2021-10-01/workspaceSkus.json | 343 ++++++++++++------ .../resource-manager/readme.go.md | 10 + .../resource-manager/readme.java.md | 16 +- .../resource-manager/readme.md | 13 +- 54 files changed, 333 insertions(+), 218 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json index 02611046de3b..112364d3da43 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json index ac555ff18eb2..0639cb85b3c3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json index 8275f639cb76..0ec47150cb1b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json index 69edafb6cfd5..90016d058f35 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json index a8caa00c4095..90830f0f796f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json index 2b7d9a5f608f..92d9146090b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json index 5f3f4f5f7e89..892dc308b1a7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json index a06657a2dc9a..cf56b776fd10 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus", "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json index acb29eb23e03..89d2a2d4d19c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "underlyingResourceAction": "Delete" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json index 2fb95a55a5c1..a3bb1a36ae2a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json index ac34921c93d3..3b4283aceffb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json index ba8e8b560f9f..1cb7a9a31900 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json index f13fa52091bf..c93809ad5823 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json index ff5eb1395a78..c20abf895ee2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json index 398b809a3900..e120900f4a08 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json index 018da04bec51..9beeca925930 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "properties": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json index 7326f11d534a..1cf6169227c0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json index 7326f11d534a..1cf6169227c0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json index 7326f11d534a..1cf6169227c0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "workspaces123", "computeName": "compute123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "202": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json index 591626f1fa3f..78f3de013a83 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json index 3daff45dffe0..d7ff9d15b500 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json index 5bd461d2b336..32a7502caba3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json index 56a0760417e8..d48fce185ac2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "monitor": "true", "properties": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json index ea2f5adcec32..8d17a0575524 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json index dbe9336b1a69..3468ce16962b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json index a19dbfe54820..07d31e035e1e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", "privateEndpointConnectionName": "{privateEndpointConnectionName}", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json index 7b12b961de22..79955591d43f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "rg-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "monitor": "true" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json index 68875002eba2..77a12c6d6669 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json index 669f01c82d19..1860abd1e73e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "value": [ { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json index cdd29efeb5d4..b912bfe1856b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-0000-0000-0000-000000000000", "location": "eastus", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json index f4d7b56926ca..4a0d5c3c6692 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "location": "eastus" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index ca0db7b5834e..fe7433ca89dd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "location": "eastus2euap", "identity": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json index c042b38277bd..37a44f80404b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json index c2a838aab424..0b64e51a3ac9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "value": { "udr": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index 5fdd566b54b6..ed94769dd072 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json index ddee8f105a76..841226e6f4ec 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json index d903527db353..d11724cf99b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json index e4459a79f7da..fa0eb2f76163 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json index 28a0fdb63450..f342058110c1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json index a03c0eb31d98..a6c0f3da3fe9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json index 774ba026b870..f8101b049f39 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resourceGroupName": "testrg123", "workspaceName": "workspaces123", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json index b278f987068b..684e2da70975 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "workspace-1234", "workspaceName": "testworkspace", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "properties": { "friendlyName": "New friendly name", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json index c1df092c9e30..fa0bf35a65d1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "parameters": { "properties": { "category": "ACR", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json index 34cee2db7fe6..bc431c0f3395 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json index 27dc5e29e5f2..36de637ecaa2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", "connectionName": "connection-1", - "api-version": "2021-07-01" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json index 82869701c230..093a3ecbcd11 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1", "workspaceName": "workspace-1", - "api-version": "2021-07-01", + "api-version": "2021-10-01", "target": "www.facebook.com", "category": "ACR" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json index fc6ba633a28b..32e1459579bd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-07-01", + "api-version": "2021-10-01", "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroupName": "myResourceGroup", "workspaceName": "testworkspace" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json index 2ee3416b711b..028710c39dd6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2021-07-01", + "api-version": "2021-10-01", "subscriptionId": "{subscription-id}" }, "responses": { @@ -8,68 +8,25 @@ "body": { "value": [ { - "resourceType": "workspaces", - "name": "Basic", - "tier": "Basic", - "locations": [ - "westus" - ], - "locationInfo": [ + "ResourceType": "workspaces", + "Skus": [ { - "location": "westus", - "zones": [ - "westus-AZ02", - "westus-AZ01" - ] - } - ], - "capabilities": [ - { - "name": "automatedml_readhyperdrivesdk", - "value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}" - }, - { - "name": "workspace_upgradeworkspacesdk", - "value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}" - } - ], - "restrictions": [] - }, - { - "resourceType": "workspaces", - "name": "Enterprise", - "tier": "Enterprise", - "locations": [ - "westus" - ], - "locationInfo": [ - { - "location": "westus", - "zones": [ - "westus-AZ01" + "Name": "Basic", + "Tier": "Basic", + "Capabilities": [ + { + "Name": "feature2", + "Value": "{\"id\":\"feature2\",\"name\":\"Feature 2\",\"description\":\"Feature 2 is an enabled feature for basic sku\"}" + } ], - "zoneDetails": [ + "LocationInfo": [ { - "name": [ - "westus-AZ01" - ], - "capabilities": [ - { - "name": "automatedml_createeditexperimentssdk", - "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" - } - ] + "Location": "eastus", + "IsSpotRestricted": false } ] } - ], - "capabilities": [ - { - "name": "automatedml_createeditexperimentssdk", - "value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}" - } - ], - "restrictions": [] + ] } ], "nextLink": null diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 85c1831db462..824140356192 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3,7 +3,7 @@ "info": { "title": "Azure Machine Learning Workspaces", "description": "These APIs allow end users to operate on Azure Machine Learning Workspace resources.", - "version": "2021-07-01" + "version": "2021-10-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json index ff5b04f12c6e..ef634feb6960 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Azure Machine Learning Workspaces", - "version": "2021-07-01" + "version": "2021-10-01" }, "host": "management.azure.com", "schemes": [ diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json index 0355e1e3a729..551083ff548d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Azure Machine Learning Workspaces", - "version": "2021-07-01" + "version": "2021-10-01" }, "host": "management.azure.com", "schemes": [ @@ -15,40 +15,40 @@ "application/json" ], "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearningServices/workspaces/skus": { + "/skus": { "get": { "tags": [ - "WorkspaceSkus" + "Skus" ], - "description": "Lists all skus with associated features", + "summary": "Lists all skus with associated features", "operationId": "WorkspaceSkus_List", - "x-ms-examples": { - "List Skus": { - "$ref": "./examples/WorkspaceSku/list.json" - } - }, + "produces": [ + "application/json" + ], "parameters": [ { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Success", "schema": { - "$ref": "#/definitions/SkuListResult" + "$ref": "#/definitions/ResourceTypeSkuPaginatedResult" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error", "schema": { "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, + "x-ms-examples": { + "List Skus": { + "$ref": "./examples/WorkspaceSku/list.json" + } + }, "x-ms-pageable": { "nextLinkName": "nextLink" } @@ -56,162 +56,285 @@ } }, "definitions": { - "SkuListResult": { - "description": "List of skus with features", + "SkuCapacity": { + "required": [ + "minimum" + ], "type": "object", "properties": { - "value": { - "uniqueItems": false, - "type": "array", - "items": { - "$ref": "#/definitions/WorkspaceSku" - } + "minimum": { + "format": "int32", + "description": "Gets or sets the minimum.", + "type": "integer" }, - "nextLink": { + "maximum": { + "format": "int32", + "description": "Gets or sets the maximum.", + "type": "integer" + }, + "default": { + "format": "int32", + "description": "Gets or sets the default.", + "type": "integer" + }, + "scaleType": { + "description": "Gets or sets the type of the scale.", + "enum": [ + "None", + "Manual", + "Automatic" + ], "type": "string", - "description": "The URI to fetch the next page of Workspace Skus. Call ListNext() with this URI to fetch the next page of Workspace Skus" + "x-ms-enum": { + "name": "SkuScaleType", + "modelAsString": true + } + } + } + }, + "SkuCost": { + "required": [ + "meterId" + ], + "type": "object", + "properties": { + "meterId": { + "description": "Gets or sets the meter Id.", + "type": "string" + }, + "quantity": { + "format": "int32", + "description": "Gets or sets the quantity.", + "type": "integer" + }, + "extendedUnit": { + "description": "Gets or sets the extended unit.", + "type": "string" } } }, - "SKUCapability": { - "description": "Features/user capabilities associated with the sku", + "SkuCapability": { + "description": "The SKU capability", + "required": [ + "name", + "value" + ], "type": "object", "properties": { "name": { - "description": "Capability/Feature ID", + "description": "Gets or sets the capability name.", "type": "string" }, "value": { - "description": "Details about the feature/capability", + "description": "Gets or sets the capability value.", "type": "string" } } }, - "Restriction": { + "SkuZoneDetail": { + "description": "The SKU zone detail.", + "type": "object", "properties": { - "type": { - "readOnly": true, - "type": "string", - "description": "The type of restrictions. As of now only possible value for this is location." + "Name": { + "description": "Gets or sets the physical zones.", + "type": "array", + "items": { + "type": "string" + } }, - "values": { - "readOnly": true, + "capabilities": { + "description": "Gets or sets the capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuCapability" + } + } + } + }, + "SkuExtendedLocationDetails": { + "description": "The sku extended location details", + "required": [ + "Name" + ], + "type": "object", + "properties": { + "Name": { + "description": "Gets or sets the extended locations", "type": "array", "items": { "type": "string" - }, - "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + } }, - "reasonCode": { - "type": "string", - "enum": [ - "NotSpecified", - "NotAvailableForRegion", - "NotAvailableForSubscription" - ], - "x-ms-enum": { - "name": "ReasonCode", - "modelAsString": true - }, - "description": "The reason for the restriction." + "capabilities": { + "description": "Gets or sets the capabilities.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuCapability" + } } - }, - "description": "The restriction because of which SKU cannot be used." + } }, - "ResourceSkuLocationInfo": { + "SkuLocationInfo": { + "description": "The SKU location info.", + "required": [ + "location" + ], + "type": "object", "properties": { "location": { - "readOnly": true, - "type": "string", - "description": "Location of the SKU" + "description": "Gets or sets the location.", + "type": "string" }, "zones": { - "readOnly": true, + "description": "Gets or sets the physical availability zones.", "type": "array", "items": { "type": "string" - }, - "description": "List of availability zones where the SKU is supported." + } }, "zoneDetails": { - "readOnly": true, + "description": "Gets or sets the zone details.", "type": "array", "items": { - "$ref": "#/definitions/ResourceSkuZoneDetails" - }, - "description": "Details of capabilities available to a SKU in specific zones." - } - } - }, - "ResourceSkuZoneDetails": { - "properties": { - "name": { + "$ref": "#/definitions/SkuZoneDetail" + } + }, + "extendedLocations": { + "description": "Gets or sets the extended locations", "type": "array", - "readOnly": true, "items": { "type": "string" - }, - "description": "The set of zones that the SKU is available in with the specified capabilities." + } }, - "capabilities": { + "type": { + "description": "Gets or sets the type of extended locations", + "enum": [ + "NotSpecified", + "EdgeZone", + "CustomLocation", + "ArcZone" + ], + "type": "string" + }, + "locationDetails": { + "description": "Gets or sets the location details", "type": "array", - "readOnly": true, "items": { - "$ref": "#/definitions/SKUCapability" - }, - "description": "A list of capabilities that are available for the SKU in the specified list of zones." + "$ref": "#/definitions/SkuExtendedLocationDetails" + } + }, + "isSpotRestricted": { + "description": "Gets or sets the Spot restricted flag.", + "type": "boolean" } - }, - "description": "Describes The zonal capabilities of a SKU." + } }, - "WorkspaceSku": { - "description": "Describes Workspace Sku details and features", + "SkuSetting": { + "required": [ + "name" + ], "type": "object", "properties": { - "locations": { - "readOnly": true, + "name": { + "description": "Gets or sets the SKU name.", + "type": "string" + }, + "tier": { + "description": "Gets or sets the SKU tier.", + "type": "string" + }, + "size": { + "description": "Gets or sets the SKU size.", + "type": "string" + }, + "family": { + "description": "Gets or sets the SKU family.", + "type": "string" + }, + "kind": { + "description": "Gets or sets the SKU kind.", + "type": "string" + }, + "requiredQuotaIds": { + "description": "Gets or sets the quota Ids SKU supported.", "type": "array", "items": { "type": "string" - }, - "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + } }, - "locationInfo": { + "requiredFeatures": { + "description": "Gets or sets the required features.", "type": "array", - "readOnly": true, "items": { - "$ref": "#/definitions/ResourceSkuLocationInfo" - }, - "description": "A list of locations and availability zones in those locations where the SKU is available." + "type": "string" + } }, - "tier": { - "description": "Sku Tier like Basic or Enterprise", - "type": "string", - "readOnly": true + "capacity": { + "$ref": "#/definitions/SkuCapacity" }, - "resourceType": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true + "costs": { + "description": "Gets or sets the SKU costs.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuCost" + } }, "capabilities": { - "description": "List of features/user capabilities associated with the sku", - "uniqueItems": false, + "description": "Gets or sets the SKU capabilities.", "type": "array", "items": { - "$ref": "#/definitions/SKUCapability" - }, - "readOnly": true + "$ref": "#/definitions/SkuCapability" + } }, - "restrictions": { + "locationInfo": { "type": "array", "items": { - "$ref": "#/definitions/Restriction" - }, - "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." + "$ref": "#/definitions/SkuLocationInfo" + } + }, + "locations": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "ResourceTypeSku": { + "description": "The resource type SKU", + "required": [ + "resourceType", + "skus" + ], + "type": "object", + "properties": { + "resourceType": { + "description": "Gets or sets the resource type name.", + "type": "string" + }, + "skus": { + "description": "Gets or sets the SKU settings.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuSetting" + } + } + } + }, + "ResourceTypeSkuPaginatedResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceTypeSku" + } + }, + "continuationToken": { + "type": "string" + }, + "nextLink": { + "type": "string" } } } diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md index da2c14b8f2be..9351358a6fc6 100644 --- a/specification/machinelearningservices/resource-manager/readme.go.md +++ b/specification/machinelearningservices/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ```yaml $(go) && $(multiapi) batch: + - tag: package-2021-10-01 - tag: package-2021-07-01 - tag: package-2021-03-01-preview - tag: package-2020-04-01 @@ -25,6 +26,15 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` +## Tag: package-2021-10-01 and go + +These settings apply only when `--tag=package-2021-10-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2021-10-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-10-01/$(namespace) +``` + ## Tag: package-2021-07-01 and go These settings apply only when `--tag=package-2021-07-01 --go` is specified on the command line. diff --git a/specification/machinelearningservices/resource-manager/readme.java.md b/specification/machinelearningservices/resource-manager/readme.java.md index 01fd170edcd0..abe8943184b0 100644 --- a/specification/machinelearningservices/resource-manager/readme.java.md +++ b/specification/machinelearningservices/resource-manager/readme.java.md @@ -18,6 +18,7 @@ service-name: MachineLearningServices ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-10-01 - tag: package-2021-07-01 - tag: package-2021-03-01-preview - tag: package-2021-04-01 @@ -37,7 +38,20 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` -### Tag: package-2021-03-01-preview and java +### Tag: package-2021-10-01 and java + +These settings apply only when `--tag=package-2021-10-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-10-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearningservices.v2021_10_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2021-07-01 and java These settings apply only when `--tag=package-2021-07-01 --java` is specified on the command line. Please also specify `--azure-libraries-for-java=`. diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index b42c40ec35aa..161a1d752100 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -27,7 +27,18 @@ These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2021-07-01 +tag: package-2021-10-01 +``` + +### Tag: package-2021-07-01 + +These settings apply only when `--tag=package-2021-10` is specified on the command line. + +```yaml $(tag) == 'package-2021-10-01' +input-file: + - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json + - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json + - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json ``` ### Tag: package-2021-07-01 From d2b543765913f942cb9d2ca42b80fe5fce828216 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 29 Jul 2021 10:19:32 -0700 Subject: [PATCH 077/211] fix build error --- .../examples/WorkspaceSku/list.json | 20 +++++++++---------- .../stable/2021-10-01/workspaceSkus.json | 6 +++--- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json index 028710c39dd6..a385eae16a23 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json @@ -8,21 +8,21 @@ "body": { "value": [ { - "ResourceType": "workspaces", - "Skus": [ + "resourceType": "workspaces", + "skus": [ { - "Name": "Basic", - "Tier": "Basic", - "Capabilities": [ + "name": "Basic", + "tier": "Basic", + "capabilities": [ { - "Name": "feature2", - "Value": "{\"id\":\"feature2\",\"name\":\"Feature 2\",\"description\":\"Feature 2 is an enabled feature for basic sku\"}" + "name": "feature2", + "value": "{\"id\":\"feature2\",\"name\":\"Feature 2\",\"description\":\"Feature 2 is an enabled feature for basic sku\"}" } ], - "LocationInfo": [ + "locationInfo": [ { - "Location": "eastus", - "IsSpotRestricted": false + "location": "eastus", + "isSpotRestricted": false } ] } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json index 551083ff548d..881a3d9144c0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json @@ -135,7 +135,7 @@ "description": "The SKU zone detail.", "type": "object", "properties": { - "Name": { + "name": { "description": "Gets or sets the physical zones.", "type": "array", "items": { @@ -154,11 +154,11 @@ "SkuExtendedLocationDetails": { "description": "The sku extended location details", "required": [ - "Name" + "name" ], "type": "object", "properties": { - "Name": { + "name": { "description": "Gets or sets the extended locations", "type": "array", "items": { From b05ce152ffe35519094f2d53e8c8521ff7d20410 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 29 Jul 2021 10:51:31 -0700 Subject: [PATCH 078/211] remove new versions for go and java sdk for now --- .../resource-manager/readme.go.md | 21 -------------- .../resource-manager/readme.java.md | 28 ------------------- 2 files changed, 49 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/readme.go.md b/specification/machinelearningservices/resource-manager/readme.go.md index 01a815e900a3..dce4e4fc53d2 100644 --- a/specification/machinelearningservices/resource-manager/readme.go.md +++ b/specification/machinelearningservices/resource-manager/readme.go.md @@ -13,9 +13,6 @@ go: ```yaml $(go) && $(multiapi) batch: - - tag: package-2021-10-01 - - tag: package-2021-07-01 - - tag: package-2021-04-01 - tag: package-2021-03-01-preview - tag: package-2020-04-01 - tag: package-2020-03-01 @@ -27,24 +24,6 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` -## Tag: package-2021-10-01 and go - -These settings apply only when `--tag=package-2021-10-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -```yaml $(tag)=='package-2021-10-01' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-10-01/$(namespace) -``` - -## Tag: package-2021-07-01 and go - -These settings apply only when `--tag=package-2021-07-01 --go` is specified on the command line. -Please also specify `--go-sdk-folder=`. - -```yaml $(tag)=='package-2021-07-01' && $(go) -output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-07-01/$(namespace) -``` - ## Tag: package-2021-03-01-preview and go These settings apply only when `--tag=package-2021-03-01-preview --go` is specified on the command line. diff --git a/specification/machinelearningservices/resource-manager/readme.java.md b/specification/machinelearningservices/resource-manager/readme.java.md index abe8943184b0..38010227dd0b 100644 --- a/specification/machinelearningservices/resource-manager/readme.java.md +++ b/specification/machinelearningservices/resource-manager/readme.java.md @@ -18,8 +18,6 @@ service-name: MachineLearningServices ``` yaml $(java) && $(multiapi) batch: - - tag: package-2021-10-01 - - tag: package-2021-07-01 - tag: package-2021-03-01-preview - tag: package-2021-04-01 - tag: package-2021-01-01 @@ -38,32 +36,6 @@ batch: - tag: package-2020-02-18-preview - tag: package-2018-03-preview ``` -### Tag: package-2021-10-01 and java - -These settings apply only when `--tag=package-2021-10-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2021-10-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearningservices.v2021_10_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_10_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2021-07-01 and java - -These settings apply only when `--tag=package-2021-07-01 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2021-07-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.machinelearningservices.v2021_07_01 - output-folder: $(azure-libraries-for-java-folder)/sdk/machinelearningservices/mgmt-v2021_07_01 -regenerate-manager: true -generate-interface: true -``` - ### Tag: package-2021-03-01-preview and java These settings apply only when `--tag=package-2021-03-01-preview --java` is specified on the command line. From 9a76d268c9b116da3d44b1a03b6717e2e8e5ece3 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 13 Aug 2021 21:52:27 -0400 Subject: [PATCH 079/211] initial 2021-10-01 mfe.json + readme update --- .../BatchDeployment/createOrUpdate.json | 234 + .../examples/BatchDeployment/delete.json | 14 + .../examples/BatchDeployment/get.json | 90 + .../examples/BatchDeployment/list.json | 94 + .../examples/BatchDeployment/update.json | 97 + .../BatchEndpoint/createOrUpdate.json | 136 + .../examples/BatchEndpoint/delete.json | 13 + .../examples/BatchEndpoint/get.json | 56 + .../examples/BatchEndpoint/list.json | 61 + .../examples/BatchEndpoint/listKeys.json | 17 + .../examples/BatchEndpoint/update.json | 63 + .../CodeContainer/createOrUpdate.json | 64 + .../examples/CodeContainer/delete.json | 13 + .../examples/CodeContainer/get.json | 33 + .../examples/CodeContainer/list.json | 58 + .../examples/CodeVersion/createOrUpdate.json | 92 + .../examples/CodeVersion/delete.json | 14 + .../2021-10-01/examples/CodeVersion/get.json | 43 + .../2021-10-01/examples/CodeVersion/list.json | 48 + .../ComponentContainer/createOrUpdate.json | 72 + .../examples/ComponentContainer/delete.json | 13 + .../examples/ComponentContainer/get.json | 36 + .../examples/ComponentContainer/list.json | 41 + .../ComponentVersion/createOrUpdate.json | 151 + .../examples/ComponentVersion/delete.json | 14 + .../examples/ComponentVersion/get.json | 63 + .../examples/ComponentVersion/list.json | 70 + .../DatasetContainer/createOrUpdate.json | 76 + .../examples/DatasetContainer/delete.json | 13 + .../examples/DatasetContainer/get.json | 37 + .../examples/DatasetContainer/list.json | 65 + .../DatasetVersion/createOrUpdate.json | 95 + .../examples/DatasetVersion/delete.json | 14 + .../examples/DatasetVersion/get.json | 44 + .../examples/DatasetVersion/list.json | 48 + .../AzureBlobWAccountKey/createOrUpdate.json | 136 + .../createOrUpdate.json | 139 + .../createOrUpdate.json | 148 + .../AzureFileWAccountKey/createOrUpdate.json | 136 + .../createOrUpdate.json | 142 + .../createOrUpdate.json | 139 + .../2021-10-01/examples/Datastore/delete.json | 13 + .../2021-10-01/examples/Datastore/get.json | 56 + .../2021-10-01/examples/Datastore/list.json | 60 + .../examples/Datastore/listSecrets.json | 17 + .../EnvironmentContainer/createOrUpdate.json | 82 + .../examples/EnvironmentContainer/delete.json | 13 + .../examples/EnvironmentContainer/get.json | 33 + .../examples/EnvironmentContainer/list.json | 38 + .../EnvironmentVersion/createOrUpdate.json | 98 + .../examples/EnvironmentVersion/delete.json | 14 + .../examples/EnvironmentVersion/get.json | 45 + .../examples/EnvironmentVersion/list.json | 82 + .../Job/AutoMLJob/createOrUpdate.json | 495 + .../examples/Job/AutoMLJob/get.json | 182 + .../examples/Job/AutoMLJob/list.json | 189 + .../Job/CommandJob/createOrUpdate.json | 181 + .../examples/Job/CommandJob/get.json | 92 + .../examples/Job/CommandJob/list.json | 98 + .../Job/PipelineJob/createOrUpdate.json | 495 + .../examples/Job/PipelineJob/get.json | 182 + .../examples/Job/PipelineJob/list.json | 189 + .../examples/Job/SweepJob/createOrUpdate.json | 217 + .../2021-10-01/examples/Job/SweepJob/get.json | 84 + .../examples/Job/SweepJob/list.json | 90 + .../2021-10-01/examples/Job/cancel.json | 12 + .../2021-10-01/examples/Job/delete.json | 14 + .../ModelContainer/createOrUpdate.json | 64 + .../examples/ModelContainer/delete.json | 13 + .../examples/ModelContainer/get.json | 33 + .../examples/ModelContainer/list.json | 38 + .../examples/ModelVersion/createOrUpdate.json | 97 + .../examples/ModelVersion/delete.json | 14 + .../2021-10-01/examples/ModelVersion/get.json | 47 + .../examples/ModelVersion/list.json | 52 + .../K8sOnlineDeployment/createOrUpdate.json | 203 + .../K8sOnlineDeployment/get.json | 77 + .../K8sOnlineDeployment/listSkus.json | 35 + .../K8sOnlineDeployment/update.json | 108 + .../createOrUpdate.json | 199 + .../ManagedOnlineDeployment/get.json | 78 + .../ManagedOnlineDeployment/listSkus.json | 35 + .../ManagedOnlineDeployment/update.json | 110 + .../examples/OnlineDeployment/delete.json | 15 + .../examples/OnlineDeployment/getLogs.json | 21 + .../examples/OnlineDeployment/list.json | 145 + .../OnlineEndpoint/createOrUpdate.json | 125 + .../examples/OnlineEndpoint/delete.json | 14 + .../examples/OnlineEndpoint/get.json | 50 + .../examples/OnlineEndpoint/getToken.json | 19 + .../examples/OnlineEndpoint/list.json | 54 + .../examples/OnlineEndpoint/listKeys.json | 17 + .../OnlineEndpoint/regenerateKeys.json | 17 + .../examples/OnlineEndpoint/update.json | 74 + .../stable/2021-10-01/mfe.json | 9475 +++++++++++++++++ .../resource-manager/readme.md | 1 + 96 files changed, 17233 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json new file mode 100644 index 000000000000..e0665a3471b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json @@ -0,0 +1,234 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json new file mode 100644 index 000000000000..ea9d9cf451e0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json new file mode 100644 index 000000000000..7b8786b625e3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json new file mode 100644 index 000000000000..60fd50774dd4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json new file mode 100644 index 000000000000..47b43f35442c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "deploymentName": "testBatchDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", + "name": "testBatchDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", + "instanceCount": 0, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "errorThreshold": 0, + "retrySettings": { + "maxRetries": 0, + "timeout": "string" + }, + "partitionKeys": [ + "string" + ], + "miniBatchSize": 0, + "loggingLevel": "Info", + "outputConfiguration": { + "outputAction": "SummaryOnly", + "appendRowFileName": "string" + }, + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", + "scoringScript": "score.py" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", + "environmentVariables": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json new file mode 100644 index 000000000000..7193dc10d7ae --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "keys": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json new file mode 100644 index 000000000000..45104ebc1299 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json new file mode 100644 index 000000000000..48ee8272b3b9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "endpointName": "testBatchEndpoint", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json new file mode 100644 index 000000000000..6912243fd754 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "count": 1 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json new file mode 100644 index 000000000000..ac3d3b432d0a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "resourceGroup-1234", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint" + }, + "responses": { + "200": { + "body": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json new file mode 100644 index 000000000000..06fab02ba585 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testBatchEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", + "name": "testBatchEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "properties": { + "authMode": "AMLToken", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string" + }, + "systemData": { + "createdAt": "2021-03-25T20:46:47.062Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json new file mode 100644 index 000000000000..71ebee7ba51b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "body": { + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json new file mode 100644 index 000000000000..9198deab4166 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json new file mode 100644 index 000000000000..6446f2e5fabb --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json new file mode 100644 index 000000000000..73e02ca2c0bc --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-08-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer2", + "name": "testContainer2", + "type": "Microsoft.MachineLearningServices/workspaces/codes", + "properties": { + "description": "string", + "tags": { + "property1": "string", + "property2": "string" + } + }, + "systemData": { + "createdAt": "2020-08-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-08-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json new file mode 100644 index 000000000000..a8f88ec37b5b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1", + "body": { + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json new file mode 100644 index 000000000000..6bb446d6869e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json new file mode 100644 index 000000000000..054e0b6192b5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json new file mode 100644 index 000000000000..72fcc4480273 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "properties": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.py", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T20:58:39.312Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json new file mode 100644 index 000000000000..a10900fc1555 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01", + "body": { + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json new file mode 100644 index 000000000000..e5b2538d8252 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json new file mode 100644 index 000000000000..02488e0c2b32 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json new file mode 100644 index 000000000000..01493fbd3e1d --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2021-10-01", + "$skipToken": "string" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json new file mode 100644 index 000000000000..6658297f8dd5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01", + "body": { + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, + "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", + "codeId": "string", + "command": "string", + "component": { + "componentType": "CommandComponent", + "displayName": "string", + "isDeterministic": false, + "inputs": { + "string": { + "optional": false, + "description": "string", + "default": "string", + "dataType": "string", + "inputType": "RangedNumber", + "min": "string", + "max": "string" + } + }, + "outputs": { + "string": { + "description": "string", + "dataType": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, + "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", + "codeId": "string", + "command": "string", + "component": { + "componentType": "CommandComponent", + "displayName": "string", + "isDeterministic": false, + "inputs": { + "string": { + "optional": false, + "description": "string", + "default": "string", + "dataType": "string", + "inputType": "RangedNumber", + "min": "string", + "max": "string" + } + }, + "outputs": { + "string": { + "description": "string", + "dataType": "string" + } + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, + "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", + "codeId": "string", + "command": "string", + "component": { + "componentType": "CommandComponent", + "displayName": "string", + "isDeterministic": false, + "inputs": { + "string": { + "optional": false, + "description": "string", + "default": "string", + "dataType": "string", + "inputType": "RangedNumber", + "min": "string", + "max": "string" + } + }, + "outputs": { + "string": { + "description": "string", + "dataType": "string" + } + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json new file mode 100644 index 000000000000..422f4c2b6233 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json new file mode 100644 index 000000000000..f16b8f38bd35 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, + "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", + "codeId": "string", + "command": "string", + "component": { + "componentType": "CommandComponent", + "displayName": "string", + "isDeterministic": false, + "inputs": { + "string": { + "optional": false, + "description": "string", + "default": "string", + "dataType": "string", + "inputType": "RangedNumber", + "min": "string", + "max": "string" + } + }, + "outputs": { + "string": { + "description": "string", + "dataType": "string" + } + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json new file mode 100644 index 000000000000..e01268bc339b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01", + "$orderBy": "string", + "$top": 1, + "$skipToken": "string" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, + "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", + "codeId": "string", + "command": "string", + "component": { + "componentType": "CommandComponent", + "displayName": "string", + "isDeterministic": false, + "inputs": { + "string": { + "optional": false, + "description": "string", + "default": "string", + "dataType": "string", + "inputType": "RangedNumber", + "min": "string", + "max": "string" + } + }, + "outputs": { + "string": { + "description": "string", + "dataType": "string" + } + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json new file mode 100644 index 000000000000..bdc677161a55 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123", + "body": { + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json new file mode 100644 index 000000000000..8f4fac7c6b98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json new file mode 100644 index 000000000000..4cb6ef56aa05 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "datacontainer123" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datacontainer123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json new file mode 100644 index 000000000000..ec4cd60666d2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer123", + "name": "datastore123", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/data/datacontainer124", + "name": "datastore124", + "type": "Microsoft.MachineLearningServices/workspaces/data", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "properties1": "value1", + "properties2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json new file mode 100644 index 000000000000..0723a7cb2785 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1", + "body": { + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "string", + "path": "string", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json new file mode 100644 index 000000000000..015e64c15dba --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json new file mode 100644 index 000000000000..e57de45a9dfe --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json new file mode 100644 index 000000000000..237aaf98a68b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "dataset123" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "properties": { + "datasetType": "Simple", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", + "path": "path/to/file.csv", + "isAnonymous": true, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2021-03-25T21:39:02.230Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json new file mode 100644 index 000000000000..4256b6a716c7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey", + "secrets": { + "secretsType": "AccountKey", + "key": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json new file mode 100644 index 000000000000..4fc78ee17415 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "storeName": "testStore" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "storeName": "testStore" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureDataLakeGen1", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "storeName": "testStore" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json new file mode 100644 index 000000000000..c01877c5ce1b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUri": "string", + "tenantId": "00000000-1111-2222-3333-444444444444", + "clientId": "00000000-1111-2222-3333-444444444444" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json new file mode 100644 index 000000000000..2147d4985c96 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -0,0 +1,136 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey", + "secrets": { + "secretsType": "AccountKey", + "key": "string" + } + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureFile", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json new file mode 100644 index 000000000000..cfc68b024e2a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string", + "secrets": { + "secretsType": "SqlAdmin", + "password": "string" + } + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzurePostgreSql", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "enableSSL": true, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json new file mode 100644 index 000000000000..605e1811706c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore", + "body": { + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string", + "secrets": { + "secretsType": "SqlAdmin", + "password": "string" + } + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "201": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureSqlDatabase", + "credentials": { + "credentialsType": "SqlAdmin", + "userId": "string" + }, + "databaseName": "string", + "endpoint": "string", + "portNumber": 123, + "serverName": "string" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json new file mode 100644 index 000000000000..d953f417799a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json new file mode 100644 index 000000000000..6d9a1ff86179 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": { + "body": { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json new file mode 100644 index 000000000000..37bf195e3f4e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "systemData": { + "createdAt": "2021-03-25T21:00:18.462Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", + "name": "testDatastore", + "type": "Microsoft.MachineLearningServices/workspaces/datastores", + "properties": { + "contents": { + "contentsType": "AzureBlob", + "credentials": { + "credentialsType": "AccountKey" + }, + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, + "hasBeenValidated": true, + "isDefault": true, + "linkedInfo": { + "linkedId": "string", + "linkedResourceName": "string", + "origin": "Synapse" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json new file mode 100644 index 000000000000..ca384be6e731 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testDatastore" + }, + "responses": { + "200": { + "body": { + "secretsType": "AccountKey", + "key": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json new file mode 100644 index 000000000000..e596ec038359 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testEnvironment", + "body": { + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + }, + "systemData": { + "createdAt": "2020-12-04T03:39:11.300Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-04T03:39:11.300Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "description": "string" + }, + "systemData": { + "createdAt": "2020-12-04T03:39:11.301Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-04T03:39:11.301Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json new file mode 100644 index 000000000000..9198deab4166 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json new file mode 100644 index 000000000000..46258d640ce4 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "name": "testEnvironment" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json new file mode 100644 index 000000000000..2d7de2bcc85e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment", + "name": "testEnvironment", + "type": "Microsoft.MachineLearningServices/workspaces/environments", + "properties": { + "description": "string", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json new file mode 100644 index 000000000000..581526e4d985 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "version": "1", + "api-version": "2021-03-01-preview", + "body": { + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json new file mode 100644 index 000000000000..11bfc42fbc54 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testContainer", + "version": "1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json new file mode 100644 index 000000000000..09d4f131f6c8 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "version": "1", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json new file mode 100644 index 000000000000..388d9d8f13f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "name": "testEnvironment", + "api-version": "2021-03-01-preview", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + }, + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", + "name": "2", + "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "properties": { + "environmentSpecificationType": "Curated", + "docker": { + "dockerSpecificationType": "Build", + "dockerfile": "FROM myimage" + }, + "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:15:45.909Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json new file mode 100644 index 000000000000..d08a72a083f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json @@ -0,0 +1,495 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01", + "body": { + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "displayName": "string", + "jobType": "AutoML", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": {} + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json new file mode 100644 index 000000000000..3a631ddf92e9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json new file mode 100644 index 000000000000..ae489d331b01 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json @@ -0,0 +1,189 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2021-10-01", + "$skipToken": "string", + "jobType": "string", + "tag": "string" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json new file mode 100644 index 000000000000..64e43cbdfe63 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -0,0 +1,181 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob", + "body": { + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json new file mode 100644 index 000000000000..554ab3dff455 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "provisioningState": "Succeeded", + "status": "Running", + "interactionEndpoints": { + "Tracking": { + "jobEndpointType": "Tracking", + "port": null, + "endpoint": "azureml://tracking/endpoint", + "properties": {} + }, + "Studio": { + "jobEndpointType": "Studio", + "port": null, + "endpoint": "https://studio/endpoint", + "properties": {} + } + }, + "output": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", + "path": "path/to/output" + }, + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json new file mode 100644 index 000000000000..43150c34a05f --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "jobType": "Command", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Command", + "provisioningState": "Succeeded", + "status": "Running", + "interactionEndpoints": { + "Tracking": { + "jobEndpointType": "Tracking", + "port": null, + "endpoint": "azureml://tracking/endpoint", + "properties": {} + }, + "Studio": { + "jobEndpointType": "Studio", + "port": null, + "endpoint": "https://studio/endpoint", + "properties": {} + } + }, + "output": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", + "path": "path/to/output" + }, + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "timeout": "PT1M", + "experimentName": "myExperiment", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "identity": { + "identityType": "AMLToken" + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + }, + "description": "string", + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json new file mode 100644 index 000000000000..d08a72a083f0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json @@ -0,0 +1,495 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01", + "body": { + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "displayName": "string", + "jobType": "AutoML", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": {} + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json new file mode 100644 index 000000000000..3a631ddf92e9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json new file mode 100644 index 000000000000..ae489d331b01 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json @@ -0,0 +1,189 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2021-10-01", + "$skipToken": "string", + "jobType": "string", + "tag": "string" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "provisioningState": "Succeeded", + "displayName": "string", + "interactionEndpoints": { + "string": { + "jobEndpointType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "jobType": "AutoML", + "status": "NotStarted", + "generalSettings": { + "primaryMetric": "AUCWeighted", + "enableModelExplainability": false, + "taskType": "Classification", + "logVerbosity": "NotSet" + }, + "limitSettings": { + "trialTimeout": "PT5M", + "maxTrials": 1, + "timeout": "PT5M", + "maxConcurrentTrials": 1, + "maxCoresPerTrial": 1, + "exitScore": 3.14, + "enableEarlyTermination": false + }, + "dataSettings": { + "targetColumnName": "string", + "weightColumnName": "string", + "trainingData": { + "datasetArmId": "string" + }, + "validationData": { + "datasetArmId": "string", + "nCrossValidations": 1, + "validationDataSize": 3.14, + "cvSplitColumnNames": [ + "string" + ] + }, + "testData": { + "datasetArmId": "string", + "testDataSize": 3.14 + } + }, + "featurizationSettings": { + "featurizationConfig": { + "mode": "Auto", + "blockedTransformers": [ + "string" + ], + "columnPurposes": { + "string": "string" + }, + "dropColumns": [ + "string" + ], + "transformerParams": { + "string": [ + { + "fields": [ + "string" + ], + "parameters": { + "string": { + "Key": "Value" + } + } + } + ] + }, + "datasetLanguage": "string" + }, + "enableDnnFeaturization": false + }, + "forecastingSettings": { + "countryOrRegionForHolidays": "string", + "timeColumnName": "string", + "targetLags": { + "mode": "Auto", + "values": [ + 1 + ] + }, + "targetRollingWindowSize": { + "mode": "Auto", + "value": 1 + }, + "forecastHorizon": { + "mode": "Auto", + "value": 1 + }, + "timeSeriesIdColumnNames": [ + "string" + ], + "frequency": "string", + "featureLags": "string", + "seasonality": { + "mode": "Auto", + "value": 1 + }, + "shortSeriesHandlingConfig": "Auto", + "useStl": "Season", + "targetAggregateFunction": "Sum" + }, + "trainingSettings": { + "blockListModels": [ + "string" + ], + "allowListModels": [ + "string" + ], + "enableDnnTraining": false, + "enableOnnxCompatibleModels": false, + "stackEnsembleSettings": { + "stackMetaLearnerType": "None", + "stackMetaLearnerTrainPercentage": 3.14, + "stackMetaLearnerArgs": { + "string": { + "Key": "Value" + } + } + }, + "enableStackEnsemble": false, + "enableVoteEnsemble": false, + "ensembleModelDownloadTimeout": "PT5M" + }, + "compute": { + "target": "string", + "instanceCount": 1, + "isLocal": false, + "location": "string", + "instanceType": "string", + "properties": { + "string": "string" + } + }, + "priority": 1, + "experimentName": "string", + "output": { + "datastoreId": "string", + "path": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json new file mode 100644 index 000000000000..eda95df628e9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob", + "body": { + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json new file mode 100644 index 000000000000..4e010f6936c1 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json new file mode 100644 index 000000000000..599a00dbdda0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "jobType": "Sweep", + "$skipToken": "skiptoken" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", + "name": "testJob", + "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "properties": { + "jobType": "Sweep", + "searchSpace": { + "name": {} + }, + "objective": { + "primaryMetric": "string", + "goal": "Minimize" + }, + "algorithm": "Grid", + "description": "string", + "timeout": "PT1M", + "identity": { + "identityType": "AMLToken" + }, + "compute": { + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", + "instanceCount": 1 + }, + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trial": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "command": "python file.py test", + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "timeout": "PT1M", + "inputDataBindings": { + "test": { + "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", + "pathOnCompute": "path/on/compute" + } + }, + "outputDataBindings": { + "test": { + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", + "pathOnCompute": "path/on/compute" + } + }, + "distribution": { + "distributionType": "PyTorch", + "processCount": 2 + }, + "environmentVariables": { + "MY_ENV_VAR1": "string", + "MY_ENV_VAR2": "string" + } + }, + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + } + }, + "systemData": { + "createdAt": "2020-12-08T01:18:36.134Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json new file mode 100644 index 000000000000..df2eaa220536 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json new file mode 100644 index 000000000000..3eb00d3f546a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "testworkspace", + "api-version": "2021-03-01-preview", + "id": "testJob" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json new file mode 100644 index 000000000000..9cbbffb51201 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "body": { + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json new file mode 100644 index 000000000000..b27feae6a399 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json new file mode 100644 index 000000000000..882f7bea8801 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json new file mode 100644 index 000000000000..c9b29bd90be7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer", + "name": "testContainer", + "type": "Microsoft.MachineLearningServices/workspaces/models", + "properties": { + "description": "Model container description", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json new file mode 100644 index 000000000000..7b286b921069 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1", + "body": { + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/999", + "name": "999", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "LocalUpload/12345/some/path" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json new file mode 100644 index 000000000000..006074c8bb12 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "999" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json new file mode 100644 index 000000000000..3f53e8828158 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json new file mode 100644 index 000000000000..076652c890a0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "name": "testContainer", + "version": "1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", + "name": "1", + "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "properties": { + "description": "Model version description", + "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "flavors": { + "python_function": { + "data": { + "loader_module": "myLoaderModule" + } + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "prop1": "value1", + "prop2": "value2" + }, + "path": "path/in/datastore" + }, + "systemData": { + "createdAt": "2020-12-01T12:00:00.000Z", + "createdBy": "John Smith", + "createdByType": "User", + "lastModifiedAt": "2020-12-01T12:00:00.000Z", + "lastModifiedBy": "John Smith", + "lastModifiedByType": "User" + } + } + ], + "nextLink": "nextlink" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json new file mode 100644 index 000000000000..93263fb1ded9 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "K8S", + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json new file mode 100644 index 000000000000..6883341f031c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json new file mode 100644 index 000000000000..b5734c4f0186 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01", + "$skipToken": "string", + "count": 1 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "resourceType": "Microsoft.MachineLearning.Services/endpoints/deployments", + "sku": { + "name": "string", + "tier": "Free" + }, + "skuCapacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "Automatic" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json new file mode 100644 index 000000000000..abd51f90e041 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto" + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json new file mode 100644 index 000000000000..8592645864d3 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json @@ -0,0 +1,199 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "Managed", + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json new file mode 100644 index 000000000000..442ca1f3ee70 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json new file mode 100644 index 000000000000..b5734c4f0186 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01", + "$skipToken": "string", + "count": 1 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "resourceType": "Microsoft.MachineLearning.Services/endpoints/deployments", + "sku": { + "name": "string", + "tier": "Free" + }, + "skuCapacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "Automatic" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json new file mode 100644 index 000000000000..86048d903773 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -0,0 +1,110 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto" + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json new file mode 100644 index 000000000000..8fb52c1c3862 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json new file mode 100644 index 000000000000..00e4108887a5 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "deploymentName": "testDeployment", + "body": { + "containerType": "StorageInitializer", + "tail": 0 + } + }, + "responses": { + "200": { + "body": { + "content": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json new file mode 100644 index 000000000000..8fce3fd11e32 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "Managed", + "readinessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + }, + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", + "name": "testDeployment", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "properties": { + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4, + "cpuLimit": 4, + "memoryInGB": 64, + "memoryInGBLimit": 64 + }, + "scaleSettings": { + "pollingInterval": "PT1M", + "scaleType": "Auto", + "targetUtilizationPercentage": 50 + }, + "requestSettings": { + "maxQueueWait": "PT1M", + "requestTimeout": "PT1M", + "maxConcurrentRequestsPerInstance": 5 + }, + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "appInsightsEnabled": true, + "livenessProbe": { + "failureThreshold": 50, + "successThreshold": 50, + "timeout": "PT1M", + "period": "PT1M", + "initialDelay": "PT1M" + }, + "model": { + "referenceType": "Id", + "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + }, + "codeConfiguration": { + "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", + "scoringScript": "string" + }, + "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json new file mode 100644 index 000000000000..2c3bca23230a --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "keys": { + "primaryKey": "string", + "secondaryKey": "string" + }, + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "201": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json new file mode 100644 index 000000000000..441d05a10f9c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json new file mode 100644 index 000000000000..efffbb9b8232 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json new file mode 100644 index 000000000000..2e602c96c444 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "accessToken": "string", + "tokenType": "string", + "expiryTimeUtc": 0, + "refreshAfterTimeUtc": 0 + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json new file mode 100644 index 000000000000..930030042af7 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json new file mode 100644 index 000000000000..9da4478dae98 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint" + }, + "responses": { + "200": { + "body": { + "primaryKey": "string", + "secondaryKey": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json new file mode 100644 index 000000000000..70f21e732c3c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "keyType": "Primary", + "keyValue": "string" + } + }, + "responses": { + "200": {}, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json new file mode 100644 index 000000000000..e2ef99f27303 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "testrg123", + "workspaceName": "workspace123", + "api-version": "2021-03-01-preview", + "endpointName": "testEndpoint", + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "principalId": "string", + "clientId": "string" + } + } + }, + "properties": { + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + } + } + } + }, + "responses": { + "200": { + "body": { + "tags": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "location": "string", + "kind": "string", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "clientId": "string" + } + } + }, + "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", + "name": "testEndpoint", + "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", + "properties": { + "provisioningState": "Creating", + "description": "string", + "properties": { + "additionalProp1": "string", + "additionalProp2": "string", + "additionalProp3": "string" + }, + "traffic": { + "myDeployment1": 0, + "myDeployment2": 1 + }, + "scoringUri": "string", + "swaggerUri": "string", + "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", + "authMode": "AMLToken" + } + } + }, + "202": {} + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json new file mode 100644 index 000000000000..3f99d1e078a0 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -0,0 +1,9475 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-10-01" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints": { + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists Batch inference endpoint in the workspace.", + "operationId": "BatchEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}": { + "delete": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Delete Batch Inference Endpoint.", + "operationId": "BatchEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/delete.json" + } + } + }, + "get": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Gets a batch inference endpoint by name.", + "operationId": "BatchEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch Endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Update a batch inference endpoint.", + "operationId": "BatchEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Mutable batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialBatchEndpointPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Update Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/update.json" + } + } + }, + "put": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Creates a batch inference endpoint.", + "operationId": "BatchEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Name for the Batch inference endpoint.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference endpoint definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Lists Batch inference deployments in the workspace.", + "operationId": "BatchDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top of list.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Batch Deployment.": { + "$ref": "./examples/BatchDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "BatchDeployment" + ], + "summary": "Delete Batch Inference deployment.", + "operationId": "BatchDeployments_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference deployment identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Batch Deployment.": { + "$ref": "./examples/BatchDeployment/delete.json" + } + } + }, + "get": { + "tags": [ + "BatchDeployment" + ], + "summary": "Gets a batch inference deployment by id.", + "operationId": "BatchDeployments_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Endpoint name", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch deployments.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Batch Deployment.": { + "$ref": "./examples/BatchDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "BatchDeployment" + ], + "summary": "Update a batch inference deployment.", + "operationId": "BatchDeployments_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialBatchDeploymentPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Update Batch Deployment.": { + "$ref": "./examples/BatchDeployment/update.json" + } + } + }, + "put": { + "tags": [ + "BatchDeployment" + ], + "summary": "Creates/updates a batch inference deployment.", + "operationId": "BatchDeployments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The identifier for the Batch inference deployment.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Batch inference deployment definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Batch Deployment.": { + "$ref": "./examples/BatchDeployment/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys": { + "post": { + "tags": [ + "BatchEndpoint" + ], + "summary": "Lists batch Inference Endpoint keys.", + "operationId": "BatchEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + } + }, + "x-ms-examples": { + "ListKeys Batch Endpoint.": { + "$ref": "./examples/BatchEndpoint/listKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes": { + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "List containers.", + "operationId": "CodeContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Code Container.": { + "$ref": "./examples/CodeContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}": { + "delete": { + "tags": [ + "CodeContainer" + ], + "summary": "Delete container.", + "operationId": "CodeContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Code Container.": { + "$ref": "./examples/CodeContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeContainer" + ], + "summary": "Get container.", + "operationId": "CodeContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "x-ms-examples": { + "Get Code Container.": { + "$ref": "./examples/CodeContainer/get.json" + } + } + }, + "put": { + "tags": [ + "CodeContainer" + ], + "summary": "Create or update container.", + "operationId": "CodeContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Code Container.": { + "$ref": "./examples/CodeContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions": { + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "List versions.", + "operationId": "CodeVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Code Version.": { + "$ref": "./examples/CodeVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/codes/{name}/versions/{version}": { + "delete": { + "tags": [ + "CodeVersion" + ], + "summary": "Delete version.", + "operationId": "CodeVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Code Version.": { + "$ref": "./examples/CodeVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "CodeVersion" + ], + "summary": "Get version.", + "operationId": "CodeVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "x-ms-examples": { + "Get Code Version.": { + "$ref": "./examples/CodeVersion/get.json" + } + } + }, + "put": { + "tags": [ + "CodeVersion" + ], + "summary": "Create or update version.", + "operationId": "CodeVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Code Version.": { + "$ref": "./examples/CodeVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components": { + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "List containers.", + "operationId": "ComponentContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Component Container.": { + "$ref": "./examples/ComponentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}": { + "delete": { + "tags": [ + "ComponentContainer" + ], + "summary": "Delete container.", + "operationId": "ComponentContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Component Container.": { + "$ref": "./examples/ComponentContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "ComponentContainer" + ], + "summary": "Get container.", + "operationId": "ComponentContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + }, + "x-ms-examples": { + "Get Component Container.": { + "$ref": "./examples/ComponentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentContainer" + ], + "summary": "Create or update container.", + "operationId": "ComponentContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Component Container.": { + "$ref": "./examples/ComponentContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions": { + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "List versions.", + "operationId": "ComponentVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Component Version.": { + "$ref": "./examples/ComponentVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}": { + "delete": { + "tags": [ + "ComponentVersion" + ], + "summary": "Delete version.", + "operationId": "ComponentVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Component Version.": { + "$ref": "./examples/ComponentVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "ComponentVersion" + ], + "summary": "Get version.", + "operationId": "ComponentVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + }, + "x-ms-examples": { + "Get Component Version.": { + "$ref": "./examples/ComponentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ComponentVersion" + ], + "summary": "Create or update version.", + "operationId": "ComponentVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Component Version.": { + "$ref": "./examples/ComponentVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datasets": { + "get": { + "tags": [ + "DatasetContainer" + ], + "summary": "List containers.", + "operationId": "DatasetContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Dataset Container.": { + "$ref": "./examples/DatasetContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datasets/{name}": { + "delete": { + "tags": [ + "DatasetContainer" + ], + "summary": "Delete container.", + "operationId": "DatasetContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Dataset Container.": { + "$ref": "./examples/DatasetContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "DatasetContainer" + ], + "summary": "Get container.", + "operationId": "DatasetContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetContainerResource" + } + } + }, + "x-ms-examples": { + "Get Dataset Container.": { + "$ref": "./examples/DatasetContainer/get.json" + } + } + }, + "put": { + "tags": [ + "DatasetContainer" + ], + "summary": "Create or update container.", + "operationId": "DatasetContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DatasetContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DatasetContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Dataset Container.": { + "$ref": "./examples/DatasetContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datasets/{name}/versions": { + "get": { + "tags": [ + "DatasetVersion" + ], + "summary": "List data versions.", + "operationId": "DatasetVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Data name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Dataset Version.": { + "$ref": "./examples/DatasetVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datasets/{name}/versions/{version}": { + "delete": { + "tags": [ + "DatasetVersion" + ], + "summary": "Delete version.", + "operationId": "DatasetVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Dataset Version.": { + "$ref": "./examples/DatasetVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "DatasetVersion" + ], + "summary": "Get version.", + "operationId": "DatasetVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetVersionResource" + } + } + }, + "x-ms-examples": { + "Get Dataset Version.": { + "$ref": "./examples/DatasetVersion/get.json" + } + } + }, + "put": { + "tags": [ + "DatasetVersion" + ], + "summary": "Create or update version.", + "operationId": "DatasetVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DatasetVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatasetVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DatasetVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Dataset Version.": { + "$ref": "./examples/DatasetVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": { + "get": { + "tags": [ + "Datastore" + ], + "summary": "List datastores.", + "operationId": "Datastores_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "count", + "description": "Maximum number of results to return.", + "type": "integer", + "format": "int32", + "default": 30 + }, + { + "in": "query", + "name": "isDefault", + "description": "Filter down to the workspace default datastore.", + "type": "boolean" + }, + { + "in": "query", + "name": "names", + "description": "Names of datastores to return.", + "type": "array", + "items": { + "type": "string" + } + }, + { + "in": "query", + "name": "searchText", + "description": "Text to search for in the datastore names.", + "type": "string" + }, + { + "in": "query", + "name": "orderBy", + "description": "Order by property (createdtime | modifiedtime | name).", + "type": "string" + }, + { + "in": "query", + "name": "orderByAsc", + "description": "Order by property in ascending order.", + "type": "boolean", + "default": false + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastoreResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List datastores.": { + "$ref": "./examples/Datastore/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": { + "delete": { + "tags": [ + "Datastore" + ], + "summary": "Delete datastore.", + "operationId": "Datastores_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete datastore.": { + "$ref": "./examples/Datastore/delete.json" + } + } + }, + "get": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore.", + "operationId": "Datastores_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + } + }, + "x-ms-examples": { + "Get datastore.": { + "$ref": "./examples/Datastore/get.json" + } + } + }, + "put": { + "tags": [ + "Datastore" + ], + "summary": "Create or update datastore.", + "operationId": "Datastores_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "skipValidation", + "description": "Flag to skip validation.", + "type": "boolean", + "default": false + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Datastore entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DatastoreResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate datastore (AzureBlob w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen1 w/ ServicePrincipal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Data Lake Gen2 w/ Service Principal).": { + "$ref": "./examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { + "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure Postgre SQL w/ SQL Admin).": { + "$ref": "./examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json" + }, + "CreateOrUpdate datastore (Azure SQL Database w/ SQL Admin).": { + "$ref": "./examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}/listSecrets": { + "post": { + "tags": [ + "Datastore" + ], + "summary": "Get datastore secrets.", + "operationId": "Datastores_ListSecrets", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Datastore name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "description": "Base definition for datastore secrets.", + "$ref": "#/definitions/DatastoreSecrets" + } + } + }, + "x-ms-examples": { + "Get datastore secrets.": { + "$ref": "./examples/Datastore/listSecrets.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments": { + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "List containers.", + "operationId": "EnvironmentContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Environment Container.": { + "$ref": "./examples/EnvironmentContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}": { + "delete": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Delete container.", + "operationId": "EnvironmentContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Environment Container.": { + "$ref": "./examples/EnvironmentContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Get container.", + "operationId": "EnvironmentContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "x-ms-examples": { + "Get Environment Container.": { + "$ref": "./examples/EnvironmentContainer/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentContainer" + ], + "summary": "Create or update container.", + "operationId": "EnvironmentContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Environment Container.": { + "$ref": "./examples/EnvironmentContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions": { + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "List versions.", + "operationId": "EnvironmentVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Environment Version.": { + "$ref": "./examples/EnvironmentVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/environments/{name}/versions/{version}": { + "delete": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Delete version.", + "operationId": "EnvironmentVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Environment Version.": { + "$ref": "./examples/EnvironmentVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Get version.", + "operationId": "EnvironmentVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + }, + "x-ms-examples": { + "Get Environment Version.": { + "$ref": "./examples/EnvironmentVersion/get.json" + } + } + }, + "put": { + "tags": [ + "EnvironmentVersion" + ], + "summary": "Creates or updates an EnvironmentVersion.", + "operationId": "EnvironmentVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Name of EnvironmentVersion.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version of EnvironmentVersion.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Definition of EnvironmentVersion.", + "required": true, + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Environment Version.": { + "$ref": "./examples/EnvironmentVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs": { + "get": { + "tags": [ + "Job" + ], + "summary": "Lists Jobs in the workspace.", + "operationId": "Jobs_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "jobType", + "description": "Type of job to be returned.", + "type": "string" + }, + { + "in": "query", + "name": "tag", + "description": "Jobs returned will have this tag key.", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Command Job.": { + "$ref": "./examples/Job/CommandJob/list.json" + }, + "List Sweep Job.": { + "$ref": "./examples/Job/SweepJob/list.json" + }, + "List Pipeline Job.": { + "$ref": "./examples/Job/PipelineJob/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}": { + "delete": { + "tags": [ + "Job" + ], + "summary": "Deletes a Job (asynchronous).", + "operationId": "Jobs_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Job.": { + "$ref": "./examples/Job/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "Job" + ], + "summary": "Gets a Job by name/id.", + "operationId": "Jobs_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "x-ms-examples": { + "Get Command Job.": { + "$ref": "./examples/Job/CommandJob/get.json" + }, + "Get Sweep Job.": { + "$ref": "./examples/Job/SweepJob/get.json" + }, + "Get Pipeline Job.": { + "$ref": "./examples/Job/PipelineJob/get.json" + } + } + }, + "put": { + "tags": [ + "Job" + ], + "summary": "Creates and executes a Job.", + "operationId": "Jobs_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Job definition object.", + "required": true, + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Command Job.": { + "$ref": "./examples/Job/CommandJob/createOrUpdate.json" + }, + "CreateOrUpdate Sweep Job.": { + "$ref": "./examples/Job/SweepJob/createOrUpdate.json" + }, + "CreateOrUpdate Pipeline Job.": { + "$ref": "./examples/Job/PipelineJob/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/jobs/{id}/cancel": { + "post": { + "tags": [ + "Job" + ], + "summary": "Cancels a Job.", + "operationId": "Jobs_Cancel", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "id", + "description": "The name and identifier for the Job.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + } + }, + "x-ms-examples": { + "Cancel Job.": { + "$ref": "./examples/Job/cancel.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models": { + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "List model containers.", + "operationId": "ModelContainers_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "count", + "description": "Maximum number of results to return.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Model Container.": { + "$ref": "./examples/ModelContainer/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}": { + "delete": { + "tags": [ + "ModelContainer" + ], + "summary": "Delete container.", + "operationId": "ModelContainers_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Model Container.": { + "$ref": "./examples/ModelContainer/delete.json" + } + } + }, + "get": { + "tags": [ + "ModelContainer" + ], + "summary": "Get container.", + "operationId": "ModelContainers_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "x-ms-examples": { + "Get Model Container.": { + "$ref": "./examples/ModelContainer/get.json" + } + } + }, + "put": { + "tags": [ + "ModelContainer" + ], + "summary": "Create or update container.", + "operationId": "ModelContainers_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Container entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Model Container.": { + "$ref": "./examples/ModelContainer/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions": { + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "List model versions.", + "operationId": "ModelVersions_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Model name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Maximum number of records to return.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "version", + "description": "Model version.", + "type": "string" + }, + { + "in": "query", + "name": "description", + "description": "Model description.", + "type": "string" + }, + { + "in": "query", + "name": "offset", + "description": "Number of initial results to skip.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "tags", + "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Model Version.": { + "$ref": "./examples/ModelVersion/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/models/{name}/versions/{version}": { + "delete": { + "tags": [ + "ModelVersion" + ], + "summary": "Delete version.", + "operationId": "ModelVersions_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + } + }, + "x-ms-examples": { + "Delete Model Version.": { + "$ref": "./examples/ModelVersion/delete.json" + } + } + }, + "get": { + "tags": [ + "ModelVersion" + ], + "summary": "Get version.", + "operationId": "ModelVersions_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "x-ms-examples": { + "Get Model Version.": { + "$ref": "./examples/ModelVersion/get.json" + } + } + }, + "put": { + "tags": [ + "ModelVersion" + ], + "summary": "Create or update version.", + "operationId": "ModelVersions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "name", + "description": "Container name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "version", + "description": "Version identifier.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Version entity to create or update.", + "required": true, + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Model Version.": { + "$ref": "./examples/ModelVersion/createOrUpdate.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints": { + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "List Online Endpoints.", + "operationId": "OnlineEndpoints_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "name", + "description": "Name of the endpoint.", + "type": "string" + }, + { + "in": "query", + "name": "count", + "description": "Number of endpoints to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "in": "query", + "name": "computeType", + "description": "EndpointComputeType to be filtered by.", + "type": "string", + "enum": [ + "Managed", + "K8S", + "AzureMLCompute" + ], + "x-ms-enum": { + "name": "EndpointComputeType", + "modelAsString": true + } + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "in": "query", + "name": "tags", + "description": "A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .", + "type": "string" + }, + { + "in": "query", + "name": "properties", + "description": "A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .", + "type": "string" + }, + { + "in": "query", + "name": "orderBy", + "description": "The option to order the response.", + "type": "string", + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + } + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}": { + "delete": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Delete Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, + "200": { + "description": "Success" + } + }, + "x-ms-examples": { + "Delete Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Get Online Endpoint.", + "operationId": "OnlineEndpoints_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialOnlineEndpointPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Update Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/update.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "put": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Create or update Online Endpoint (asynchronous).", + "operationId": "OnlineEndpoints_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "List Inference Endpoint Deployments.", + "operationId": "OnlineDeployments_List", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "$orderBy", + "description": "Ordering of list.", + "type": "string" + }, + { + "in": "query", + "name": "$top", + "description": "Top of list.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResourceArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Online Deployments.": { + "$ref": "./examples/OnlineDeployment/list.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}": { + "delete": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Delete Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_Delete", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "204": { + "description": "No Content" + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Delete Online Deployment.": { + "$ref": "./examples/OnlineDeployment/delete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Get Inference Deployment Deployment.", + "operationId": "OnlineDeployments_Get", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + }, + "x-ms-examples": { + "Get Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" + }, + "Get K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/get.json" + } + } + }, + "patch": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Update Online Deployment (asynchronous).", + "operationId": "OnlineDeployments_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Online Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PartialOnlineDeploymentPartialTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "Update Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" + }, + "Update K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/update.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "put": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Create or update Inference Endpoint Deployment (asynchronous).", + "operationId": "OnlineDeployments_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "Inference Endpoint entity to apply during operation.", + "required": true, + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } + } + } + }, + "x-ms-examples": { + "CreateOrUpdate Managed Online Deployment.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" + }, + "CreateOrUpdate K8S Online Deployment.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": { + "post": { + "tags": [ + "OnlineDeployment" + ], + "summary": "Polls an Endpoint operation.", + "operationId": "OnlineDeployments_GetLogs", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "The name and identifier for the endpoint.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "The request containing parameters for retrieving logs.", + "required": true, + "schema": { + "$ref": "#/definitions/DeploymentLogsRequest" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentLogs" + } + } + }, + "x-ms-examples": { + "Get Online Deployment Logs.": { + "$ref": "./examples/OnlineDeployment/getLogs.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/skus": { + "get": { + "tags": [ + "OnlineDeployment" + ], + "summary": "List Inference Endpoint Deployment Skus.", + "operationId": "OnlineDeployments_ListSkus", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Inference endpoint name.", + "required": true, + "type": "string" + }, + { + "in": "path", + "name": "deploymentName", + "description": "Inference Endpoint Deployment name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "query", + "name": "count", + "description": "Number of Skus to be retrieved in a page of results.", + "type": "integer", + "format": "int32" + }, + { + "$ref": "machineLearningServices.json#/parameters/PaginationParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/DeploymentSkuResourceTypeArmPaginatedResult" + } + } + }, + "x-ms-examples": { + "List Managed Online Deployment Skus.": { + "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json" + }, + "List K8S Online Deployment Skus.": { + "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/listKeys": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "List EndpointAuthKeys for an Endpoint using Key-based authentication.", + "operationId": "OnlineEndpoints_ListKeys", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthKeys" + } + } + }, + "x-ms-examples": { + "ListKeys Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/listKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/regenerateKeys": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).", + "operationId": "OnlineEndpoints_RegenerateKeys", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + }, + { + "in": "body", + "name": "body", + "description": "RegenerateKeys request .", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateEndpointKeysRequest" + } + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success" + }, + "202": { + "description": "Accepted", + "headers": { + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + } + }, + "x-ms-examples": { + "RegenerateKeys Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/regenerateKeys.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/token": { + "post": { + "tags": [ + "OnlineEndpoint" + ], + "summary": "Retrieve a valid AAD token for an Endpoint using AMLToken-based authentication.", + "operationId": "OnlineEndpoints_GetToken", + "produces": [ + "application/json" + ], + "parameters": [ + { + "in": "path", + "name": "endpointName", + "description": "Online Endpoint name.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" + } + ], + "responses": { + "default": { + "description": "Error", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/EndpointAuthToken" + } + } + }, + "x-ms-examples": { + "GetToken Online Endpoint.": { + "$ref": "./examples/OnlineEndpoint/getToken.json" + } + } + } + } + }, + "definitions": { + "AccountKeyDatastoreCredentials": { + "description": "Account key datastore credentials configuration.", + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "Storage account secrets.", + "$ref": "#/definitions/AccountKeyDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AccountKeyDatastoreSecrets": { + "description": "Datastore account key secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "key": { + "description": "Storage account key.", + "type": "string" + } + }, + "x-ms-discriminator-value": "AccountKey", + "additionalProperties": false + }, + "AmlComputeConfiguration": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceConfigurationBase" + } + ], + "properties": { + "instanceCount": { + "format": "int32", + "description": "Number of instances or nodes.", + "type": "integer" + }, + "priority": { + "format": "int32", + "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "AmlCompute", + "additionalProperties": false + }, + "AmlToken": { + "description": "AML Token identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "x-ms-discriminator-value": "AMLToken", + "additionalProperties": false + }, + "AssetReferenceBase": { + "description": "Base definition for asset references.", + "required": [ + "referenceType" + ], + "type": "object", + "properties": { + "referenceType": { + "description": "Specifies the type of asset reference.", + "$ref": "#/definitions/ReferenceType" + } + }, + "discriminator": "referenceType" + }, + "AzureBlobDatastore": { + "description": "Azure Blob datastore configuration.", + "required": [ + "accountName", + "containerName", + "credentials" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "containerName": { + "description": "Storage account container name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureBlob", + "additionalProperties": false + }, + "AzureDataLakeGen1Datastore": { + "description": "Azure Data Lake Gen1 datastore configuration.", + "required": [ + "credentials", + "storeName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "storeName": { + "description": "Azure Data Lake store name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen1", + "additionalProperties": false + }, + "AzureDataLakeGen2Datastore": { + "description": "Azure Data Lake Gen2 datastore configuration.", + "required": [ + "accountName", + "containerName", + "credentials", + "filesystem" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "containerName": { + "description": "Storage account container name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "filesystem": { + "description": "The name of the Data Lake Gen2 filesystem.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureDataLakeGen2", + "additionalProperties": false + }, + "AzureFileDatastore": { + "description": "Azure File datastore configuration.", + "required": [ + "accountName", + "credentials", + "fileShareName" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Datastore" + } + ], + "properties": { + "accountName": { + "description": "Storage account name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "endpoint": { + "description": "Azure cloud endpoint for the storage account.", + "type": "string", + "example": "core.windows.net", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "fileShareName": { + "description": "File share name.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "protocol": { + "description": "Protocol used to communicate with the storage account.", + "type": "string", + "example": "https", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "AzureFile", + "additionalProperties": false + }, + "BanditPolicy": { + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "slackAmount": { + "format": "float", + "description": "Absolute distance allowed from the best performing run.", + "type": "number" + }, + "slackFactor": { + "format": "float", + "description": "Ratio of the allowed distance from the best performing run.", + "type": "number" + } + }, + "x-ms-discriminator-value": "Bandit", + "additionalProperties": false + }, + "BasicBinding": { + "description": "Basic binding with simple source and destination", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Binding" + } + ], + "properties": { + "destination": { + "description": "Destination reference", + "type": "string", + "example": "jobs.trainingjob.Inputs.myInput" + }, + "source": { + "description": "Source reference", + "type": "string", + "example": "Inputs.data1" + } + }, + "x-ms-discriminator-value": "Basic", + "additionalProperties": false + }, + "BatchDeployment": { + "description": "Batch inference settings per deployment.", + "type": "object", + "properties": { + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration" + }, + "compute": { + "description": "Configuration for compute binding.", + "$ref": "#/definitions/ComputeConfiguration" + }, + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "errorThreshold": { + "format": "int32", + "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", + "type": "integer" + }, + "loggingLevel": { + "description": "Logging level for batch inference operation.", + "$ref": "#/definitions/BatchLoggingLevel" + }, + "miniBatchSize": { + "format": "int64", + "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", + "type": "integer" + }, + "model": { + "description": "Reference to the model asset for the endpoint deployment.", + "$ref": "#/definitions/AssetReferenceBase" + }, + "outputAction": { + "description": "Indicates how the output will be organized.", + "$ref": "#/definitions/BatchOutputAction" + }, + "outputFileName": { + "description": "Customized output file name for append_row output action.", + "type": "string" + }, + "processsCountPerInstance": { + "format": "int32", + "description": "Indicates number of processes per instance", + "type": "integer" + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "retrySettings": { + "description": "Retry Settings for the batch inference operation.", + "$ref": "#/definitions/BatchRetrySettings" + } + }, + "additionalProperties": false + }, + "BatchDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/BatchDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "BatchDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of BatchDeployment objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchDeploymentTrackedResource" + } + } + }, + "additionalProperties": false + }, + "BatchEndpoint": { + "description": "Batch endpoint configuration.", + "type": "object", + "properties": { + "authMode": { + "description": "Authentication mode", + "$ref": "#/definitions/EndpointAuthMode" + }, + "defaults": { + "description": "Default values for Batch Endpoint", + "$ref": "#/definitions/BatchEndpointDefaults" + }, + "description": { + "description": "Description of the inference endpoint.", + "type": "string" + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "BatchEndpointDefaults": { + "description": "Batch endpoint default values", + "type": "object", + "properties": { + "deploymentName": { + "description": "Name of the deployment that will be default for the endpoint.\r\nThis deployment will end up getting 100% traffic when the endpoint scoring URL is invoked.", + "type": "string" + } + }, + "additionalProperties": false + }, + "BatchEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/BatchEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "BatchEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of BatchEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of BatchEndpoint objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type BatchEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/BatchEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "BatchLoggingLevel": { + "description": "Log verbosity for batch inferencing.\r\nIncreasing verbosity order for logging is : Warning, Info and Debug.\r\nThe default value is Info.", + "enum": [ + "Info", + "Warning", + "Debug" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchLoggingLevel", + "modelAsString": true + }, + "additionalProperties": false + }, + "BatchOutputAction": { + "description": "Enum to determine how batch inferencing will handle output", + "enum": [ + "SummaryOnly", + "AppendRow" + ], + "type": "string", + "x-ms-enum": { + "name": "BatchOutputAction", + "modelAsString": true + }, + "additionalProperties": false + }, + "BatchRetrySettings": { + "description": "Retry settings for a batch inference operation.", + "type": "object", + "properties": { + "maxRetries": { + "format": "int32", + "description": "Maximum retry count for a mini-batch", + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", + "type": "string" + } + }, + "additionalProperties": false + }, + "Binding": { + "description": "Binding", + "required": [ + "bindingType" + ], + "type": "object", + "properties": { + "bindingType": { + "description": "Type of Binding", + "$ref": "#/definitions/BindingType" + } + }, + "discriminator": "bindingType" + }, + "BindingType": { + "description": "Different Binding types", + "enum": [ + "Basic" + ], + "type": "string", + "x-ms-enum": { + "name": "BindingType", + "modelAsString": true + }, + "additionalProperties": false + }, + "BuildContext": { + "description": "Configuration settings for Docker build context", + "required": [ + "contextUri" + ], + "type": "object", + "properties": { + "contextUri": { + "description": "URI of the Docker build context used to build the image. Supports blob URIs on environment creation and may return blob or Git URIs.\r\n", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "example": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "dockerfilePath": { + "description": "Path to the Dockerfile in the build context.\r\n", + "default": "Dockerfile", + "type": "string", + "example": "prod/Dockerfile", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "CertificateDatastoreCredentials": { + "description": "Certificate datastore credentials configuration.", + "required": [ + "clientId", + "secrets", + "tenantId", + "thumbprint" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string" + }, + "clientId": { + "format": "uuid", + "description": "Service principal client ID.", + "type": "string" + }, + "resourceUrl": { + "description": "Resource the service principal has access to.", + "type": "string" + }, + "secrets": { + "description": "Service principal secrets.", + "$ref": "#/definitions/CertificateDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "ID of the tenant to which the service principal belongs.", + "type": "string" + }, + "thumbprint": { + "description": "Thumbprint of the certificate used for authentication.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "CertificateDatastoreSecrets": { + "description": "Datastore certificate secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "certificate": { + "description": "Service principal certificate.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Certificate", + "additionalProperties": false + }, + "CodeConfiguration": { + "description": "Configuration for a scoring code asset.", + "required": [ + "scoringScript" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "scoringScript": { + "description": "The script to execute on startup. eg. \"score.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeContainer": { + "description": "Container for code asset versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "CodeContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/CodeContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeContainerResourceArmPaginatedResult": { + "description": "A paginated list of CodeContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of CodeContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeContainerResource" + } + } + }, + "additionalProperties": false + }, + "CodeVersion": { + "description": "Code asset version details.", + "type": "object", + "properties": { + "codeUri": { + "description": "Uri where code is located", + "type": "string", + "example": "https://blobStorage/folderName" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "CodeVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/CodeVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "CodeVersionResourceArmPaginatedResult": { + "description": "A paginated list of CodeVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of CodeVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type CodeVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/CodeVersionResource" + } + } + }, + "additionalProperties": false + }, + "CommandJob": { + "description": "Command job definition.", + "required": [ + "command" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "command": { + "description": "The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "identity": { + "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null.\r\nDefaults to AmlToken if null.", + "$ref": "#/definitions/IdentityConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputs": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "limits": { + "description": "Command Job limit.", + "$ref": "#/definitions/CommandJobLimits", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "parameters": { + "description": "Input parameters.", + "type": "object", + "additionalProperties": {}, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "$ref": "#/definitions/ResourceConfigurationBase", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Command", + "additionalProperties": false + }, + "CommandJobLimits": { + "description": "Command Job limit class.", + "type": "object", + "properties": { + "jobLimitsType": { + "description": "Command Job limit type.", + "$ref": "#/definitions/JobLimitsType", + "readOnly": true + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", + "type": "string" + } + }, + "additionalProperties": false + }, + "ComponentContainer": { + "description": "Component container definition.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ComponentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ComponentContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ComponentContainerResourceArmPaginatedResult": { + "description": "A paginated list of ComponentContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ComponentContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ComponentContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/ComponentContainerResource" + } + } + }, + "additionalProperties": false + }, + "ComponentJob": { + "description": "Definition of a ComponentJob.", + "type": "object", + "properties": { + "componentId": { + "description": "Reference to component artifact.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "computeId": { + "description": "ARM resource ID of the compute resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputs": { + "description": "Data input set for job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "outputs": { + "description": "Data output set for job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "overrides": { + "description": "Override component default settings", + "type": "object", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "ComponentVersion": { + "description": "Definition of a component version: defines resources that span component types.", + "type": "object", + "properties": { + "componentSpec": { + "description": "Defines Component definition details.", + "type": "object", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ComponentVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ComponentVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ComponentVersionResourceArmPaginatedResult": { + "description": "A paginated list of ComponentVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ComponentVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ComponentVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/ComponentVersionResource" + } + } + }, + "additionalProperties": false + }, + "ComputeConfiguration": { + "description": "Configuration for compute binding.", + "type": "object", + "properties": { + "instanceCount": { + "format": "int32", + "description": "Number of instances or nodes.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "instanceType": { + "description": "SKU type to run on.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "isLocal": { + "description": "Set to true for jobs running on local compute.", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "location": { + "description": "Location for virtual cluster run.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "Additional properties.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "target": { + "description": "ARM resource ID of the compute resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "ContainerType": { + "enum": [ + "StorageInitializer", + "InferenceServer" + ], + "type": "string", + "x-ms-enum": { + "name": "ContainerType", + "modelAsString": true + }, + "additionalProperties": false + }, + "CredentialsType": { + "description": "Enum to determine the datastore credentials type.", + "enum": [ + "AccountKey", + "Certificate", + "None", + "Sas", + "ServicePrincipal" + ], + "type": "string", + "x-ms-enum": { + "name": "CredentialsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "DataPathAssetReference": { + "description": "Reference to an asset via its path in a datastore.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string" + }, + "path": { + "description": "The path of the file/directory in the datastore.", + "type": "string" + } + }, + "x-ms-discriminator-value": "DataPath", + "additionalProperties": false + }, + "DatasetContainer": { + "description": "Container for dataset asset versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "DatasetContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/DatasetContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DatasetContainerResourceArmPaginatedResult": { + "description": "A paginated list of DatasetContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of DatasetContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type DatasetContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/DatasetContainerResource" + } + } + }, + "additionalProperties": false + }, + "DatasetVersion": { + "description": "Data asset version details.", + "required": [ + "paths" + ], + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "paths": { + "description": "The path of the file/directory in the datastore or https/wasb/adlsgen storage url.", + "type": "array", + "items": { + "$ref": "#/definitions/UriReference" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "DatasetVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/DatasetVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DatasetVersionResourceArmPaginatedResult": { + "description": "A paginated list of DatasetVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of DatasetVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type DatasetVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/DatasetVersionResource" + } + } + }, + "additionalProperties": false + }, + "Datastore": { + "description": "Base definition for datastore contents configuration.", + "required": [ + "credentials", + "datastoreType" + ], + "type": "object", + "properties": { + "credentials": { + "description": "Account credentials.", + "$ref": "#/definitions/DatastoreCredentials" + }, + "datastoreType": { + "description": "Storage type backing the datastore.", + "$ref": "#/definitions/DatastoreType" + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "isDefault": { + "description": "Readonly property to indicate if datastore is the workspace default datastore", + "type": "boolean", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "Datastore properties", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "discriminator": "datastoreType" + }, + "DatastoreCredentials": { + "description": "Base definition for datastore credentials.", + "required": [ + "credentialsType" + ], + "type": "object", + "properties": { + "credentialsType": { + "description": "Credential type used to authentication with storage.", + "$ref": "#/definitions/CredentialsType" + } + }, + "discriminator": "credentialsType" + }, + "DatastoreResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/Datastore" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "DatastoreResourceArmPaginatedResult": { + "description": "A paginated list of Datastore entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of Datastore objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type Datastore.", + "type": "array", + "items": { + "$ref": "#/definitions/DatastoreResource" + } + } + }, + "additionalProperties": false + }, + "DatastoreSecrets": { + "description": "Base definition for datastore secrets.", + "required": [ + "secretsType" + ], + "type": "object", + "properties": { + "secretsType": { + "description": "Credential type used to authentication with storage.", + "$ref": "#/definitions/SecretsType" + } + }, + "discriminator": "secretsType" + }, + "DatastoreType": { + "description": "Enum to determine the datastore contents type.", + "enum": [ + "AzureBlob", + "AzureDataLakeGen1", + "AzureDataLakeGen2", + "AzureFile" + ], + "type": "string", + "x-ms-enum": { + "name": "DatastoreType", + "modelAsString": true + }, + "additionalProperties": false + }, + "DefaultScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "x-ms-discriminator-value": "Default", + "additionalProperties": false + }, + "DeploymentLogs": { + "type": "object", + "properties": { + "content": { + "description": "The retrieved online deployment logs.", + "type": "string" + } + }, + "additionalProperties": false + }, + "DeploymentLogsRequest": { + "type": "object", + "properties": { + "containerType": { + "description": "The type of container to retrieve logs from.", + "$ref": "#/definitions/ContainerType" + }, + "tail": { + "format": "int32", + "description": "The maximum number of lines to tail.", + "type": "integer" + } + }, + "additionalProperties": false + }, + "DeploymentProvisioningState": { + "description": "Possible values for DeploymentProvisioningState.", + "enum": [ + "Creating", + "Deleting", + "Scaling", + "Updating", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "DeploymentProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "DeploymentSkuResourceType": { + "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", + "type": "object", + "properties": { + "resourceType": { + "description": "Gets or sets the resource type name.", + "type": "string", + "readOnly": true + }, + "sku": { + "description": "Gets or sets the Sku.", + "$ref": "#/definitions/SkuSetting" + }, + "skuCapacity": { + "description": "Gets or sets the Sku Capacity.", + "$ref": "#/definitions/SkuCapacity" + } + }, + "additionalProperties": false + }, + "DeploymentSkuResourceTypeArmPaginatedResult": { + "description": "A paginated list of DeploymentSkuResourceType entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of DeploymentSkuResourceType objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type DeploymentSkuResourceType.", + "type": "array", + "items": { + "$ref": "#/definitions/DeploymentSkuResourceType" + } + } + }, + "additionalProperties": false + }, + "DistributionConfiguration": { + "description": "Base definition for job distribution configuration.", + "required": [ + "distributionType" + ], + "type": "object", + "properties": { + "distributionType": { + "description": "Specifies the type of distribution framework.", + "$ref": "#/definitions/DistributionType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "distributionType" + }, + "DistributionType": { + "description": "Enum to determine the job distribution type.", + "enum": [ + "PyTorch", + "TensorFlow", + "Mpi" + ], + "type": "string", + "x-ms-enum": { + "name": "DistributionType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EarlyTerminationPolicy": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "required": [ + "policyType" + ], + "type": "object", + "properties": { + "delayEvaluation": { + "format": "int32", + "description": "Number of intervals by which to delay the first evaluation.", + "type": "integer" + }, + "evaluationInterval": { + "format": "int32", + "description": "Interval (number of runs) between policy evaluations.", + "type": "integer" + }, + "policyType": { + "description": "Name of policy configuration", + "$ref": "#/definitions/EarlyTerminationPolicyType" + } + }, + "discriminator": "policyType" + }, + "EarlyTerminationPolicyType": { + "enum": [ + "Bandit", + "MedianStopping", + "TruncationSelection" + ], + "type": "string", + "x-ms-enum": { + "name": "EarlyTerminationPolicyType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointAuthKeys": { + "description": "Keys for endpoint authentication.", + "type": "object", + "properties": { + "primaryKey": { + "description": "The primary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "secondaryKey": { + "description": "The secondary key.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "EndpointAuthMode": { + "description": "Enum to determine endpoint authentication mode.", + "enum": [ + "AMLToken", + "Key", + "AADToken" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointAuthMode", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointAuthToken": { + "description": "Service Token", + "type": "object", + "properties": { + "accessToken": { + "description": "Access token.", + "type": "string" + }, + "expiryTimeUtc": { + "format": "int64", + "description": "Access token expiry time (UTC).", + "type": "integer" + }, + "refreshAfterTimeUtc": { + "format": "int64", + "description": "Refresh access token after time (UTC).", + "type": "integer" + }, + "tokenType": { + "description": "Access token type.", + "type": "string" + } + }, + "additionalProperties": false + }, + "EndpointComputeType": { + "description": "Enum to determine endpoint compute type.", + "enum": [ + "Managed", + "K8S", + "AzureMLCompute" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointComputeType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EndpointProvisioningState": { + "description": "State of endpoint provisioning.", + "enum": [ + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Updating", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "EnvironmentContainer": { + "description": "Container for environment specification versions.", + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "EnvironmentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "EnvironmentContainerResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of EnvironmentContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentContainerResource" + } + } + }, + "additionalProperties": false + }, + "EnvironmentType": { + "description": "Environment type is either user created or curated by Azure ML service", + "enum": [ + "Curated", + "UserCreated" + ], + "type": "string", + "x-ms-enum": { + "name": "EnvironmentType", + "modelAsString": true + }, + "additionalProperties": false + }, + "EnvironmentVersion": { + "description": "Environment version details.", + "type": "object", + "properties": { + "build": { + "description": "Configuration settings for Docker build context.", + "$ref": "#/definitions/BuildContext", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "condaFile": { + "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "environmentType": { + "description": "Environment type is either user managed or curated by the Azure ML service\r\n", + "$ref": "#/definitions/EnvironmentType", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "image": { + "description": "Name of the image that will be used for the environment.\r\n", + "type": "string", + "example": "docker.io/tensorflow/serving:latest", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inferenceConfig": { + "description": "Defines configuration specific to inference.", + "$ref": "#/definitions/InferenceContainerProperties", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "osType": { + "description": "The OS type of the environment.", + "$ref": "#/definitions/OperatingSystemType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "EnvironmentVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/EnvironmentVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "EnvironmentVersionResourceArmPaginatedResult": { + "description": "A paginated list of EnvironmentVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of EnvironmentVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type EnvironmentVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVersionResource" + } + } + }, + "additionalProperties": false + }, + "FlavorData": { + "type": "object", + "properties": { + "data": { + "description": "Model flavor-specific data.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "Goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "enum": [ + "Minimize", + "Maximize" + ], + "type": "string", + "x-ms-enum": { + "name": "Goal", + "modelAsString": true + }, + "additionalProperties": false + }, + "IdAssetReference": { + "description": "Reference to an asset via its ARM resource ID.", + "required": [ + "assetId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "assetId": { + "description": "ARM resource ID of the asset.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "x-ms-discriminator-value": "Id", + "additionalProperties": false + }, + "IdentityConfiguration": { + "description": "Base definition for identity configuration.", + "required": [ + "identityType" + ], + "type": "object", + "properties": { + "identityType": { + "description": "Specifies the type of identity framework.", + "$ref": "#/definitions/IdentityConfigurationType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "identityType" + }, + "IdentityConfigurationType": { + "description": "Enum to determine identity framework.", + "enum": [ + "Managed", + "AMLToken" + ], + "type": "string", + "x-ms-enum": { + "name": "IdentityConfigurationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "InferenceContainerProperties": { + "type": "object", + "properties": { + "livenessRoute": { + "description": "The route to check the liveness of the inference server container.", + "$ref": "#/definitions/Route" + }, + "readinessRoute": { + "description": "The route to check the readiness of the inference server container.", + "$ref": "#/definitions/Route" + }, + "scoringRoute": { + "description": "The port to send the scoring requests to, within the inference server container.", + "$ref": "#/definitions/Route" + } + }, + "additionalProperties": false + }, + "InputDataDeliveryMode": { + "description": "Enum to determine the input data delivery mode.", + "enum": [ + "ReadOnlyMount", + "ReadWriteMount", + "Download" + ], + "type": "string", + "x-ms-enum": { + "name": "InputDataDeliveryMode", + "modelAsString": true + }, + "additionalProperties": false + }, + "Job": { + "description": "Basic Job class with all job base properties.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "x-ms-discriminator-value": "Base", + "additionalProperties": false + }, + "JobBase": { + "description": "Base definition for a job.", + "required": [ + "jobType" + ], + "type": "object", + "properties": { + "computeId": { + "description": "ARM resource ID of the compute resource.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "description": { + "description": "The asset description text.", + "type": "string" + }, + "displayName": { + "description": "Display name of job.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "experimentName": { + "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "jobType": { + "description": "Specifies the type of job.", + "$ref": "#/definitions/JobType", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "parentJobName": { + "description": "Parent job name.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "services": { + "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/JobService" + } + }, + "status": { + "description": "Status of the job.", + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "discriminator": "jobType" + }, + "JobBaseResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/JobBase" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "JobBaseResourceArmPaginatedResult": { + "description": "A paginated list of JobBase entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of JobBase objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type JobBase.", + "type": "array", + "items": { + "$ref": "#/definitions/JobBaseResource" + } + } + }, + "additionalProperties": false + }, + "JobInput": { + "description": "Command job definition.", + "required": [ + "jobInputType" + ], + "type": "object", + "properties": { + "description": { + "description": "Description for the input.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "jobInputType": { + "description": "Specifies the type of job.", + "$ref": "#/definitions/JobInputType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "jobInputType" + }, + "JobInputDataset": { + "description": "InputDataset type.", + "required": [ + "datasetId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "datasetId": { + "description": "Dataset Id.", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "mode": { + "description": "Dataset Delivery Mode.", + "$ref": "#/definitions/InputDataDeliveryMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Dataset", + "additionalProperties": false + }, + "JobInputLiteral": { + "description": "Literal input type.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "value": { + "description": "Literal value for the input.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Literal", + "additionalProperties": false + }, + "JobInputType": { + "description": "Enum to determine the Job Input Type.", + "enum": [ + "Dataset", + "Uri", + "Literal" + ], + "type": "string", + "x-ms-enum": { + "name": "JobInputType", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobInputUri": { + "description": "Input uri type.", + "required": [ + "uri" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobInput" + } + ], + "properties": { + "mode": { + "description": "Input Uri Delivery Mode.", + "$ref": "#/definitions/InputDataDeliveryMode", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "uri": { + "description": "Uri path.", + "$ref": "#/definitions/UriReference", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Uri", + "additionalProperties": false + }, + "JobLimitsType": { + "enum": [ + "Command", + "Sweep" + ], + "type": "string", + "x-ms-enum": { + "name": "JobLimitsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobOutput": { + "description": "Job output definition container information on where to find job output/logs.", + "required": [ + "jobOutputType" + ], + "type": "object", + "properties": { + "description": { + "description": "Description for the output.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "jobOutputType": { + "description": "Specifies the type of job.", + "$ref": "#/definitions/JobOutputType", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "discriminator": "jobOutputType" + }, + "JobOutputDataset": { + "description": "Dataset output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobOutput" + } + ], + "properties": { + "mode": { + "description": "Output Delivery Mode.", + "$ref": "#/definitions/OutputDataDeliveryMode", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Dataset", + "additionalProperties": false + }, + "JobOutputType": { + "description": "Enum to determine the Job Output Type.", + "enum": [ + "Uri", + "Dataset" + ], + "type": "string", + "x-ms-enum": { + "name": "JobOutputType", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobOutputUri": { + "description": "Uri output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobOutput" + } + ], + "properties": { + "mode": { + "description": "Output Delivery Mode.", + "$ref": "#/definitions/OutputDataDeliveryMode", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "uri": { + "description": "Uri path.", + "$ref": "#/definitions/UriReference", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "x-ms-discriminator-value": "Uri", + "additionalProperties": false + }, + "JobService": { + "description": "Job endpoint definition", + "type": "object", + "properties": { + "endpoint": { + "description": "Url for endpoint.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "errorMessage": { + "description": "Any error in the service.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "jobServiceType": { + "description": "Endpoint type.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "port": { + "format": "int32", + "description": "Port for endpoint.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "properties": { + "description": "Additional properties to set on the endpoint.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "status": { + "description": "Status of endpoint.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "JobStatus": { + "description": "The status of a job.", + "enum": [ + "NotStarted", + "Starting", + "Provisioning", + "Preparing", + "Queued", + "Running", + "Finalizing", + "CancelRequested", + "Completed", + "Failed", + "Canceled", + "NotResponding", + "Paused", + "Unknown" + ], + "type": "string", + "x-ms-enum": { + "name": "JobStatus", + "modelAsString": true + }, + "additionalProperties": false + }, + "JobType": { + "description": "Enum to determine the type of job.", + "enum": [ + "Command", + "Sweep", + "Pipeline", + "Base" + ], + "type": "string", + "x-ms-enum": { + "name": "JobType", + "modelAsString": true + }, + "additionalProperties": false + }, + "K8sOnlineDeployment": { + "description": "Properties specific to a K8sOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "properties": { + "containerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + } + }, + "x-ms-discriminator-value": "K8S", + "additionalProperties": false + }, + "KeyType": { + "enum": [ + "Primary", + "Secondary" + ], + "type": "string", + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ManagedIdentity": { + "description": "Managed identity configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/IdentityConfiguration" + } + ], + "properties": { + "clientId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "objectId": { + "format": "uuid", + "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "resourceId": { + "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "ManagedOnlineDeployment": { + "description": "Properties specific to a ManagedOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineDeployment" + } + ], + "properties": { + "modelMountPath": { + "description": "The path to mount the model in custom container.", + "type": "string" + }, + "readinessProbe": { + "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", + "$ref": "#/definitions/ProbeSettings" + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "MedianStoppingPolicy": { + "description": "Defines an early termination policy based on running averages of the primary metric of all runs", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "x-ms-discriminator-value": "MedianStopping", + "additionalProperties": false + }, + "ModelContainer": { + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ModelContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ModelContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ModelContainerResourceArmPaginatedResult": { + "description": "A paginated list of ModelContainer entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ModelContainer objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelContainer.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelContainerResource" + } + } + }, + "additionalProperties": false + }, + "ModelFormat": { + "description": "The async operation state.", + "enum": [ + "Custom", + "MLFlow", + "Triton", + "OpenAI" + ], + "type": "string", + "x-ms-enum": { + "name": "ModelFormat", + "modelAsString": true + }, + "additionalProperties": false + }, + "ModelVersion": { + "description": "Model asset version details.", + "required": [ + "modelUri" + ], + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string" + }, + "flavors": { + "description": "Mapping of model flavors to their properties.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/FlavorData" + } + }, + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "modelFormat": { + "description": "The storage format for this entity. Used for NCD.", + "$ref": "#/definitions/ModelFormat" + }, + "modelUri": { + "description": "The URI path to the model contents.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "ModelVersionResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ModelVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "ModelVersionResourceArmPaginatedResult": { + "description": "A paginated list of ModelVersion entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of ModelVersion objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type ModelVersion.", + "type": "array", + "items": { + "$ref": "#/definitions/ModelVersionResource" + } + } + }, + "additionalProperties": false + }, + "Mpi": { + "description": "MPI distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCountPerInstance": { + "format": "int32", + "description": "Number of processes per MPI node.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Mpi", + "additionalProperties": false + }, + "NoneDatastoreCredentials": { + "description": "Empty/none datastore credentials.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "x-ms-discriminator-value": "None", + "additionalProperties": false + }, + "Objective": { + "description": "Optimization objective.", + "required": [ + "goal", + "primaryMetric" + ], + "type": "object", + "properties": { + "goal": { + "description": "Defines supported metric goals for hyperparameter tuning", + "$ref": "#/definitions/Goal" + }, + "primaryMetric": { + "description": "Name of the metric to optimize.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + } + }, + "additionalProperties": false + }, + "OnlineDeployment": { + "required": [ + "endpointComputeType" + ], + "type": "object", + "properties": { + "appInsightsEnabled": { + "description": "If true, enables Application Insights logging.", + "type": "boolean" + }, + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration" + }, + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + }, + "endpointComputeType": { + "description": "The compute type of the endpoint.", + "$ref": "#/definitions/EndpointComputeType" + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "instanceType": { + "description": "Compute instance type.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "livenessProbe": { + "description": "Liveness probe monitors the health of the container regularly.", + "$ref": "#/definitions/ProbeSettings" + }, + "model": { + "description": "The URI path to the model.", + "type": "string" + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "description": "Provisioning state for the endpoint deployment.", + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "requestSettings": { + "description": "Request settings for the deployment.", + "$ref": "#/definitions/OnlineRequestSettings" + }, + "scaleSettings": { + "description": "Scale settings for the deployment.", + "$ref": "#/definitions/OnlineScaleSettings" + } + }, + "discriminator": "endpointComputeType" + }, + "OnlineDeploymentTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/OnlineDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "OnlineDeploymentTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineDeployment entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of OnlineDeployment objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineDeployment.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineDeploymentTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineEndpoint": { + "description": "Online endpoint configuration", + "required": [ + "authMode" + ], + "type": "object", + "properties": { + "allowPublicAccess": { + "description": "Set to true for endpoints that should allow public access when Private Link is enabled.", + "type": "boolean" + }, + "authMode": { + "description": "Use 'key' for key based authentication and 'aml_token' for Azure Machine Learning token-based authentication.\r\nkey doesn't expire but aml_token does.", + "$ref": "#/definitions/EndpointAuthMode" + }, + "compute": { + "description": "ARM resource ID of the compute if it exists.\r\noptional", + "type": "string" + }, + "description": { + "description": "Description of the inference endpoint.", + "type": "string" + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "provisioningState": { + "description": "Provisioning state for the endpoint.", + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "traffic": { + "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "OnlineEndpointTrackedResource": { + "required": [ + "location", + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/OnlineEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + } + }, + "additionalProperties": false + }, + "OnlineEndpointTrackedResourceArmPaginatedResult": { + "description": "A paginated list of OnlineEndpoint entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of OnlineEndpoint objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type OnlineEndpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/OnlineEndpointTrackedResource" + } + } + }, + "additionalProperties": false + }, + "OnlineRequestSettings": { + "description": "Online deployment scoring requests configuration.", + "type": "object", + "properties": { + "maxConcurrentRequestsPerInstance": { + "format": "int32", + "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", + "default": 1, + "type": "integer" + }, + "maxQueueWait": { + "format": "duration", + "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", + "default": "PT0.5S", + "type": "string" + }, + "requestTimeout": { + "format": "duration", + "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", + "default": "PT5S", + "type": "string" + } + }, + "additionalProperties": false + }, + "OnlineScaleSettings": { + "description": "Online deployment scaling configuration.", + "required": [ + "scaleType" + ], + "type": "object", + "properties": { + "scaleType": { + "description": "Type of deployment scaling algorithm", + "$ref": "#/definitions/ScaleType" + } + }, + "discriminator": "scaleType" + }, + "OperatingSystemType": { + "description": "The type of operating system.", + "enum": [ + "Linux", + "Windows" + ], + "type": "string", + "x-ms-enum": { + "name": "OperatingSystemType", + "modelAsString": true + }, + "additionalProperties": false + }, + "OrderString": { + "enum": [ + "CreatedAtDesc", + "CreatedAtAsc", + "UpdatedAtDesc", + "UpdatedAtAsc" + ], + "type": "string", + "x-ms-enum": { + "name": "OrderString", + "modelAsString": true + }, + "additionalProperties": false + }, + "OutputDataDeliveryMode": { + "description": "Output data delivery mode enums.", + "enum": [ + "ReadWriteMount", + "Upload" + ], + "type": "string", + "x-ms-enum": { + "name": "OutputDataDeliveryMode", + "modelAsString": true + }, + "additionalProperties": false + }, + "OutputPathAssetReference": { + "description": "Reference to an asset via its path in a job output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetReferenceBase" + } + ], + "properties": { + "jobId": { + "description": "ARM resource ID of the job.", + "type": "string" + }, + "path": { + "description": "The path of the file/directory in the job output.", + "type": "string" + } + }, + "x-ms-discriminator-value": "OutputPath", + "additionalProperties": false + }, + "PartialBatchDeployment": { + "description": "Mutable batch inference settings per deployment.", + "type": "object", + "properties": { + "description": { + "description": "Description of the endpoint deployment.", + "type": "string" + } + }, + "additionalProperties": false + }, + "PartialBatchDeploymentPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "location": { + "description": "The geo-location where the resource lives.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialBatchDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialBatchEndpoint": { + "description": "Mutable Batch endpoint configuration", + "type": "object", + "properties": { + "defaults": { + "description": "Default values for Batch Endpoint", + "$ref": "#/definitions/BatchEndpointDefaults" + } + }, + "additionalProperties": false + }, + "PartialBatchEndpointPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "location": { + "description": "The geo-location where the resource lives.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialBatchEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialK8sOnlineDeployment": { + "description": "Properties specific to a K8sOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineDeployment" + } + ], + "properties": { + "containerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + } + }, + "x-ms-discriminator-value": "K8S", + "additionalProperties": false + }, + "PartialManagedOnlineDeployment": { + "description": "Properties specific to a ManagedOnlineDeployment.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineDeployment" + } + ], + "properties": { + "modelMountPath": { + "description": "The path to mount the model in custom container.", + "type": "string" + }, + "readinessProbe": { + "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", + "$ref": "#/definitions/ProbeSettings" + } + }, + "x-ms-discriminator-value": "Managed", + "additionalProperties": false + }, + "PartialOnlineDeployment": { + "description": "Mutable online deployment configuration", + "required": [ + "endpointComputeType" + ], + "type": "object", + "properties": { + "appInsightsEnabled": { + "description": "If true, enables Application Insights logging.", + "type": "boolean" + }, + "endpointComputeType": { + "description": "The compute type of the endpoint.", + "$ref": "#/definitions/EndpointComputeType" + }, + "livenessProbe": { + "description": "Liveness probe monitors the health of the container regularly.", + "$ref": "#/definitions/ProbeSettings" + }, + "requestSettings": { + "description": "Request settings for the deployment.", + "$ref": "#/definitions/OnlineRequestSettings" + }, + "scaleSettings": { + "description": "Scale settings for the deployment.", + "$ref": "#/definitions/OnlineScaleSettings" + } + }, + "discriminator": "endpointComputeType" + }, + "PartialOnlineDeploymentPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "location": { + "description": "The geo-location where the resource lives.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialOnlineDeployment" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PartialOnlineEndpoint": { + "description": "Mutable online endpoint configuration", + "type": "object", + "properties": { + "traffic": { + "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", + "type": "object", + "additionalProperties": { + "format": "int32", + "type": "integer" + } + } + }, + "additionalProperties": false + }, + "PartialOnlineEndpointPartialTrackedResource": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "identity": { + "description": "Service identity associated with a resource.", + "$ref": "#/definitions/ResourceIdentity" + }, + "kind": { + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", + "type": "string" + }, + "location": { + "description": "The geo-location where the resource lives.", + "type": "string" + }, + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/PartialOnlineEndpoint" + }, + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/Sku" + }, + "tags": { + "description": "Resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "additionalProperties": false + }, + "PipelineJob": { + "description": "Pipeline Job definition: defines generic to MFE attributes.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "bindings": { + "description": "Binding to represent relation between inputs, outputs and parameters", + "type": "array", + "items": { + "description": "Binding", + "$ref": "#/definitions/Binding" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "componentJobs": { + "description": "JobDefinition set for PipelineStepJobs", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ComponentJob" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputs": { + "description": "Data input set for jobs.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "outputs": { + "description": "Data output set for jobs.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "settings": { + "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.", + "type": "object", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "Pipeline", + "additionalProperties": false + }, + "ProbeSettings": { + "description": "Deployment container liveness/readiness probe configuration.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "default": 30, + "type": "integer" + }, + "initialDelay": { + "format": "duration", + "description": "The delay before the first probe in ISO 8601 format.", + "type": "string" + }, + "period": { + "format": "duration", + "description": "The length of time between probes in ISO 8601 format.", + "default": "PT10S", + "type": "string" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "default": 1, + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "The probe timeout in ISO 8601 format.", + "default": "PT2S", + "type": "string" + } + }, + "additionalProperties": false + }, + "PyTorch": { + "description": "PyTorch distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "processCountPerInstance": { + "format": "int32", + "description": "Number of processes per node.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "PyTorch", + "additionalProperties": false + }, + "ReferenceType": { + "description": "Enum to determine which reference method to use for an asset.", + "enum": [ + "Id", + "DataPath", + "OutputPath" + ], + "type": "string", + "x-ms-enum": { + "name": "ReferenceType", + "modelAsString": true + }, + "additionalProperties": false + }, + "RegenerateEndpointKeysRequest": { + "required": [ + "keyType" + ], + "type": "object", + "properties": { + "keyType": { + "description": "Specification for which type of key to generate. Primary or Secondary.", + "$ref": "#/definitions/KeyType" + }, + "keyValue": { + "description": "The value the key is set to.", + "type": "string" + } + }, + "additionalProperties": false + }, + "ResourceConfiguration": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceConfigurationBase" + } + ], + "x-ms-discriminator-value": "Base", + "additionalProperties": false + }, + "ResourceConfigurationBase": { + "required": [ + "resourceConfigurationType" + ], + "type": "object", + "properties": { + "properties": { + "description": "Additional properties bag", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "resourceConfigurationType": { + "description": "Specifies the type of resource configuration.", + "$ref": "#/definitions/ResourceConfigurationType" + } + }, + "discriminator": "resourceConfigurationType" + }, + "ResourceConfigurationType": { + "enum": [ + "Base", + "AmlCompute" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceConfigurationType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ResourceIdentity": { + "description": "Service identity associated with a resource.", + "type": "object", + "properties": { + "principalId": { + "description": "Client ID that is used when authenticating.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "tenantId": { + "description": "AAD Tenant where this identity lives.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "type": { + "description": "Defines values for a ResourceIdentity's type.", + "$ref": "#/definitions/ResourceIdentityAssignment" + }, + "userAssignedIdentities": { + "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentityMeta" + } + } + }, + "additionalProperties": false + }, + "ResourceIdentityAssignment": { + "description": "Defines values for a ResourceIdentity's type.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned,UserAssigned", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceIdentityAssignment", + "modelAsString": true + }, + "additionalProperties": false + }, + "Route": { + "required": [ + "path", + "port" + ], + "type": "object", + "properties": { + "path": { + "description": "The path for the route.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "port": { + "format": "int32", + "description": "The port for the route.", + "type": "integer" + } + }, + "additionalProperties": false + }, + "SamplingAlgorithm": { + "enum": [ + "Grid", + "Random", + "Bayesian" + ], + "type": "string", + "x-ms-enum": { + "name": "SamplingAlgorithm", + "modelAsString": true + }, + "additionalProperties": false + }, + "SasDatastoreCredentials": { + "description": "SAS datastore credentials configuration.", + "required": [ + "secrets" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "secrets": { + "description": "Storage container secrets.", + "$ref": "#/definitions/SasDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "SasDatastoreSecrets": { + "description": "Datastore SAS secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "sasToken": { + "description": "Storage container SAS token.", + "type": "string" + } + }, + "x-ms-discriminator-value": "Sas", + "additionalProperties": false + }, + "ScaleType": { + "enum": [ + "Default", + "TargetUtilization" + ], + "type": "string", + "x-ms-enum": { + "name": "ScaleType", + "modelAsString": true + }, + "additionalProperties": false + }, + "SecretsType": { + "description": "Enum to determine the datastore secrets type.", + "enum": [ + "AccountKey", + "Certificate", + "Sas", + "ServicePrincipal" + ], + "type": "string", + "x-ms-enum": { + "name": "SecretsType", + "modelAsString": true + }, + "additionalProperties": false + }, + "ServicePrincipalDatastoreCredentials": { + "description": "Service Principal datastore credentials configuration.", + "required": [ + "clientId", + "secrets", + "tenantId" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreCredentials" + } + ], + "properties": { + "authorityUrl": { + "description": "Authority URL used for authentication.", + "type": "string" + }, + "clientId": { + "format": "uuid", + "description": "Service principal client ID.", + "type": "string" + }, + "resourceUrl": { + "description": "Resource the service principal has access to.", + "type": "string" + }, + "secrets": { + "description": "Service principal secrets.", + "$ref": "#/definitions/ServicePrincipalDatastoreSecrets", + "x-ms-mutability": [ + "create", + "update" + ], + "x-ms-secret": true + }, + "tenantId": { + "format": "uuid", + "description": "ID of the tenant to which the service principal belongs.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "ServicePrincipalDatastoreSecrets": { + "description": "Datastore Service Principal secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DatastoreSecrets" + } + ], + "properties": { + "clientSecret": { + "description": "Service principal secret.", + "type": "string" + } + }, + "x-ms-discriminator-value": "ServicePrincipal", + "additionalProperties": false + }, + "Sku": { + "description": "Common SKU defintion.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.", + "type": "string" + }, + "tier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "$ref": "#/definitions/SkuTier" + } + }, + "additionalProperties": false + }, + "SkuCapacity": { + "description": "SKU capacity information", + "type": "object", + "properties": { + "default": { + "format": "int32", + "description": "Gets or sets the default capacity.", + "type": "integer" + }, + "maximum": { + "format": "int32", + "description": "Gets or sets the maximum.", + "type": "integer" + }, + "minimum": { + "format": "int32", + "description": "Gets or sets the minimum.", + "type": "integer" + }, + "scaleType": { + "description": "Gets or sets the type of the scale.", + "$ref": "#/definitions/SkuScaleType" + } + }, + "additionalProperties": false + }, + "SkuScaleType": { + "description": "SKU scale type", + "enum": [ + "Automatic", + "Manual", + "None" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuScaleType", + "modelAsString": true + }, + "additionalProperties": false + }, + "SkuSetting": { + "description": "SkuSetting fulfills the need for stripped down SKU info in ARM contract.", + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", + "pattern": "[a-zA-Z0-9_]", + "type": "string" + }, + "tier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "$ref": "#/definitions/SkuTier" + } + }, + "additionalProperties": false + }, + "SkuTier": { + "description": "SKU tier.", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": true + }, + "additionalProperties": false + }, + "SweepJob": { + "description": "Sweep job definition.", + "required": [ + "objective", + "samplingAlgorithm", + "searchSpace" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobBase" + } + ], + "properties": { + "earlyTermination": { + "description": "Early termination policies enable canceling poor-performing runs before they complete", + "$ref": "#/definitions/EarlyTerminationPolicy" + }, + "identity": { + "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null.\r\nDefaults to AmlToken if null.", + "$ref": "#/definitions/IdentityConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "inputs": { + "description": "Mapping of input data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Command job definition.", + "$ref": "#/definitions/JobInput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "limits": { + "description": "Sweep Job limit.", + "$ref": "#/definitions/SweepJobLimits", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "objective": { + "description": "Optimization objective.", + "$ref": "#/definitions/Objective" + }, + "outputs": { + "description": "Mapping of output data bindings used in the job.", + "type": "object", + "additionalProperties": { + "description": "Job output definition container information on where to find job output/logs.", + "$ref": "#/definitions/JobOutput" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "samplingAlgorithm": { + "description": "Type of the hyperparameter sampling algorithms", + "$ref": "#/definitions/SamplingAlgorithm" + }, + "searchSpace": { + "description": "A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "trial": { + "description": "Trial component definition.", + "$ref": "#/definitions/TrialComponent" + } + }, + "x-ms-discriminator-value": "Sweep", + "additionalProperties": false + }, + "SweepJobLimits": { + "description": "Sweep Job limit class.", + "type": "object", + "properties": { + "jobLimitsType": { + "description": "Sweep Job limit type.", + "$ref": "#/definitions/JobLimitsType", + "readOnly": true + }, + "maxConcurrentTrials": { + "format": "int32", + "description": "Sweep Job max concurrent trials.", + "type": "integer" + }, + "maxTotalTrials": { + "format": "int32", + "description": "Sweep Job max total trials.", + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", + "type": "string" + }, + "trialTimeout": { + "format": "duration", + "description": "Sweep Job Trial timeout value.", + "type": "string" + } + }, + "additionalProperties": false + }, + "TargetUtilizationScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/OnlineScaleSettings" + } + ], + "properties": { + "maxInstances": { + "format": "int32", + "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", + "default": 1, + "type": "integer" + }, + "minInstances": { + "format": "int32", + "description": "The minimum number of instances to always be present.", + "default": 1, + "type": "integer" + }, + "pollingInterval": { + "format": "duration", + "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", + "default": "PT1S", + "type": "string" + }, + "targetUtilizationPercentage": { + "format": "int32", + "description": "Target CPU usage for the autoscaler.", + "default": 70, + "type": "integer" + } + }, + "x-ms-discriminator-value": "TargetUtilization", + "additionalProperties": false + }, + "TensorFlow": { + "description": "TensorFlow distribution configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DistributionConfiguration" + } + ], + "properties": { + "parameterServerCount": { + "format": "int32", + "description": "Number of parameter server tasks.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "workerCount": { + "format": "int32", + "description": "Number of workers. If not specified, will default to the instance count.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "x-ms-discriminator-value": "TensorFlow", + "additionalProperties": false + }, + "TrialComponent": { + "description": "Trial component definition.", + "required": [ + "command" + ], + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "command": { + "description": "The command to execute on startup of the job. eg. \"python train.py\"", + "minLength": 1, + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "distribution": { + "description": "Distribution configuration of the job. If set, this should be one of Mpi, Tensorflow, PyTorch, or null.", + "$ref": "#/definitions/DistributionConfiguration", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "environmentId": { + "description": "The ARM resource ID of the Environment specification for the job.", + "type": "string" + }, + "environmentVariables": { + "description": "Environment variables included in the job.", + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "create", + "read" + ] + }, + "resources": { + "description": "Compute Resource configuration for the job.", + "$ref": "#/definitions/ResourceConfigurationBase", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the trial component will be cancelled.\r\nOnly supports duration with precision as low as Seconds.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "TruncationSelectionPolicy": { + "description": "Defines an early termination policy that cancels a given percentage of runs at each evaluation interval.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EarlyTerminationPolicy" + } + ], + "properties": { + "truncationPercentage": { + "format": "int32", + "description": "The percentage of runs to cancel at each evaluation interval.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "TruncationSelection", + "additionalProperties": false + }, + "UriReference": { + "description": "UriReference.", + "required": [ + "path" + ], + "type": "object", + "properties": { + "isFile": { + "description": "File or Folder\r\nDefault to false", + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "path": { + "description": "Uri path", + "pattern": "[a-zA-Z0-9_]", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "UserAssignedIdentityMeta": { + "description": "User assigned identities associated with a resource.", + "type": "object", + "properties": { + "clientId": { + "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", + "type": "string" + }, + "principalId": { + "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", + "type": "string" + } + }, + "additionalProperties": false + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 77511b92ef8a..0219fc3cd12b 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -37,6 +37,7 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10-01' input-file: - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json + - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json ``` From 8fda03946b3df5b73834cd0e9f697043e9cd3189 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 11:30:11 -0400 Subject: [PATCH 080/211] migrate mls.json to common-types sku --- .../2021-10-01/machineLearningServices.json | 24 ++++--------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 824140356192..ceab1f07ab91 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2019,7 +2019,7 @@ } }, "sku": { - "$ref": "#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -2181,7 +2181,7 @@ } }, "sku": { - "$ref": "#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { @@ -3095,7 +3095,7 @@ } }, "sku": { - "$ref": "#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4213,20 +4213,6 @@ "modelAsString": true } }, - "Sku": { - "description": "Sku of the resource", - "type": "object", - "properties": { - "name": { - "description": "Name of the sku", - "type": "string" - }, - "tier": { - "description": "Tier of the sku like Basic or Enterprise", - "type": "string" - } - } - }, "PrivateEndpointConnectionListResult": { "type": "object", "properties": { @@ -4263,7 +4249,7 @@ } }, "sku": { - "$ref": "#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4395,7 +4381,7 @@ } }, "sku": { - "$ref": "#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { From e7e1946af6588d732eb94fb8c13935a694f53c69 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 11:34:05 -0400 Subject: [PATCH 081/211] externalize mfe to common-types sku --- .../stable/2021-10-01/mfe.json | 48 ++++--------------- 1 file changed, 8 insertions(+), 40 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 3f99d1e078a0..039351243278 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5400,7 +5400,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -5520,7 +5520,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8134,7 +8134,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8266,7 +8266,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8430,7 +8430,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "tags": { "description": "Resource tags.", @@ -8475,7 +8475,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "tags": { "description": "Resource tags.", @@ -8577,7 +8577,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "tags": { "description": "Resource tags.", @@ -8626,7 +8626,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" }, "tags": { "description": "Resource tags.", @@ -9046,38 +9046,6 @@ "x-ms-discriminator-value": "ServicePrincipal", "additionalProperties": false }, - "Sku": { - "description": "Common SKU defintion.", - "required": [ - "name" - ], - "type": "object", - "properties": { - "capacity": { - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "type": "integer" - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.", - "type": "string" - }, - "tier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "#/definitions/SkuTier" - } - }, - "additionalProperties": false - }, "SkuCapacity": { "description": "SKU capacity information", "type": "object", From 2ecc2b45e394b62ebd0566a44326f3dd78da725e Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 11:38:07 -0400 Subject: [PATCH 082/211] temp rename of definitions to side-step name collisions --- .../stable/2021-10-01/mfe.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 039351243278..2b6bb41bffea 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6725,11 +6725,11 @@ }, "sku": { "description": "Gets or sets the Sku.", - "$ref": "#/definitions/SkuSetting" + "$ref": "#/definitions/SkuSettingTODO" }, "skuCapacity": { "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacity" + "$ref": "#/definitions/SkuCapacityTODO" } }, "additionalProperties": false @@ -9046,7 +9046,7 @@ "x-ms-discriminator-value": "ServicePrincipal", "additionalProperties": false }, - "SkuCapacity": { + "SkuCapacityTODO": { "description": "SKU capacity information", "type": "object", "properties": { @@ -9067,12 +9067,12 @@ }, "scaleType": { "description": "Gets or sets the type of the scale.", - "$ref": "#/definitions/SkuScaleType" + "$ref": "#/definitions/SkuScaleTypeTODO" } }, "additionalProperties": false }, - "SkuScaleType": { + "SkuScaleTypeTODO": { "description": "SKU scale type", "enum": [ "Automatic", @@ -9081,13 +9081,13 @@ ], "type": "string", "x-ms-enum": { - "name": "SkuScaleType", + "name": "SkuScaleTypeTODO", "modelAsString": true }, "additionalProperties": false }, - "SkuSetting": { - "description": "SkuSetting fulfills the need for stripped down SKU info in ARM contract.", + "SkuSettingTODO": { + "description": "SkuSettingTODO fulfills the need for stripped down SKU info in ARM contract.", "required": [ "name" ], From 84e3b3d1d27bfeb82e6c62fe484dd1efd00e4b04 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:01:20 -0400 Subject: [PATCH 083/211] update PartialOnlineDeploymentPartialTrackedResource to use partials --- .../stable/2021-10-01/mfe.json | 245 ++++++++++++++++-- 1 file changed, 228 insertions(+), 17 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 2b6bb41bffea..90c020d3c8fe 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8413,8 +8413,8 @@ "type": "object", "properties": { "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "description": "Strictly used in update requests.", + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", @@ -8430,7 +8430,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -8458,8 +8458,8 @@ "type": "object", "properties": { "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "description": "Strictly used in update requests.", + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", @@ -8475,7 +8475,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -8487,6 +8487,57 @@ }, "additionalProperties": false }, + "PartialContainerResourceRequirements": { + "description": "Resource requirements for each container instance within an online deployment.", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + } + }, + "additionalProperties": false + }, + "PartialDefaultScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineScaleSettings" + } + ], + "x-ms-discriminator-value": "Default", + "additionalProperties": false + }, "PartialK8sOnlineDeployment": { "description": "Properties specific to a K8sOnlineDeployment.", "type": "object", @@ -8498,7 +8549,7 @@ "properties": { "containerResourceRequirements": { "description": "The resource requirements for the container (cpu and memory).", - "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + "$ref": "#/definitions/PartialContainerResourceRequirements" } }, "x-ms-discriminator-value": "K8S", @@ -8519,7 +8570,7 @@ }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/ProbeSettings" + "$ref": "#/definitions/PartialProbeSettings" } }, "x-ms-discriminator-value": "Managed", @@ -8542,15 +8593,15 @@ }, "livenessProbe": { "description": "Liveness probe monitors the health of the container regularly.", - "$ref": "#/definitions/ProbeSettings" + "$ref": "#/definitions/PartialProbeSettings" }, "requestSettings": { "description": "Request settings for the deployment.", - "$ref": "#/definitions/OnlineRequestSettings" + "$ref": "#/definitions/PartialOnlineRequestSettings" }, "scaleSettings": { "description": "Scale settings for the deployment.", - "$ref": "#/definitions/OnlineScaleSettings" + "$ref": "#/definitions/PartialOnlineScaleSettings" } }, "discriminator": "endpointComputeType" @@ -8560,8 +8611,8 @@ "type": "object", "properties": { "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "description": "Strictly used in update requests.", + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", @@ -8577,7 +8628,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -8609,8 +8660,8 @@ "type": "object", "properties": { "identity": { - "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "description": "Strictly used in update requests.", + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", @@ -8626,7 +8677,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -8638,6 +8689,166 @@ }, "additionalProperties": false }, + "PartialOnlineRequestSettings": { + "description": "Online deployment scoring requests configuration.", + "type": "object", + "properties": { + "maxConcurrentRequestsPerInstance": { + "format": "int32", + "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", + "type": "integer" + }, + "maxQueueWait": { + "format": "duration", + "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", + "type": "string" + }, + "requestTimeout": { + "format": "duration", + "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", + "type": "string" + } + }, + "additionalProperties": false + }, + "PartialOnlineScaleSettings": { + "description": "Online deployment scaling configuration.", + "required": [ + "scaleType" + ], + "type": "object", + "properties": { + "scaleType": { + "description": "Type of deployment scaling algorithm", + "$ref": "#/definitions/ScaleType" + } + }, + "discriminator": "scaleType" + }, + "PartialProbeSettings": { + "description": "Deployment container liveness/readiness probe configuration.", + "type": "object", + "properties": { + "failureThreshold": { + "format": "int32", + "description": "The number of failures to allow before returning an unhealthy status.", + "type": "integer" + }, + "initialDelay": { + "format": "duration", + "description": "The delay before the first probe in ISO 8601 format.", + "type": "string" + }, + "period": { + "format": "duration", + "description": "The length of time between probes in ISO 8601 format.", + "type": "string" + }, + "successThreshold": { + "format": "int32", + "description": "The number of successful probes before returning a healthy status.", + "type": "integer" + }, + "timeout": { + "format": "duration", + "description": "The probe timeout in ISO 8601 format.", + "type": "string" + } + }, + "additionalProperties": false + }, + "PartialResourceIdentity": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "type": { + "$ref": "#/definitions/ResourceIdentityAssignment" + }, + "userAssignedIdentities": { + "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/PartialUserAssignedIdentityMeta" + } + } + }, + "additionalProperties": false + }, + "PartialSku": { + "description": "Common SKU defintion.", + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code.", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.", + "type": "string" + }, + "tier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "$ref": "#/definitions/SkuTier" + } + }, + "additionalProperties": false + }, + "PartialTargetUtilizationScaleSettings": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialOnlineScaleSettings" + } + ], + "properties": { + "maxInstances": { + "format": "int32", + "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", + "type": "integer" + }, + "minInstances": { + "format": "int32", + "description": "The minimum number of instances to always be present.", + "type": "integer" + }, + "pollingInterval": { + "format": "duration", + "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", + "type": "string" + }, + "targetUtilizationPercentage": { + "format": "int32", + "description": "Target CPU usage for the autoscaler.", + "type": "integer" + } + }, + "x-ms-discriminator-value": "TargetUtilization", + "additionalProperties": false + }, + "PartialUserAssignedIdentityMeta": { + "description": "Strictly used in update requests.", + "type": "object", + "properties": { + "clientId": { + "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", + "type": "string" + }, + "principalId": { + "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", + "type": "string" + } + }, + "additionalProperties": false + }, "PipelineJob": { "description": "Pipeline Job definition: defines generic to MFE attributes.", "type": "object", From db4053ae5a93a84c3752c1a346db086b2f53a8f0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:06:20 -0400 Subject: [PATCH 084/211] mark mfe props w/ x-nullable --- .../stable/2021-10-01/mfe.json | 943 ++++++++++++------ 1 file changed, 629 insertions(+), 314 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 90c020d3c8fe..468ee0899f2c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5005,7 +5005,8 @@ "properties": { "key": { "description": "Storage account key.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "AccountKey", @@ -5022,12 +5023,14 @@ "instanceCount": { "format": "int32", "description": "Number of instances or nodes.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "priority": { "format": "int32", "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", - "type": "integer" + "type": "integer", + "x-nullable": true } }, "x-ms-discriminator-value": "AmlCompute", @@ -5097,7 +5100,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "protocol": { "description": "Protocol used to communicate with the storage account.", @@ -5106,7 +5110,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "AzureBlob", @@ -5178,7 +5183,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "filesystem": { "description": "The name of the Data Lake Gen2 filesystem.", @@ -5196,7 +5202,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "AzureDataLakeGen2", @@ -5232,7 +5239,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "fileShareName": { "description": "File share name.", @@ -5250,7 +5258,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "AzureFile", @@ -5291,12 +5300,14 @@ "destination": { "description": "Destination reference", "type": "string", - "example": "jobs.trainingjob.Inputs.myInput" + "example": "jobs.trainingjob.Inputs.myInput", + "x-nullable": true }, "source": { "description": "Source reference", "type": "string", - "example": "Inputs.data1" + "example": "Inputs.data1", + "x-nullable": true } }, "x-ms-discriminator-value": "Basic", @@ -5308,31 +5319,38 @@ "properties": { "codeConfiguration": { "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration" + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true }, "compute": { "description": "Configuration for compute binding.", - "$ref": "#/definitions/ComputeConfiguration" + "$ref": "#/definitions/ComputeConfiguration", + "x-nullable": true }, "description": { "description": "Description of the endpoint deployment.", - "type": "string" + "type": "string", + "x-nullable": true }, "environmentId": { "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string" + "type": "string", + "x-nullable": true }, "environmentVariables": { "description": "Environment variables configuration for the deployment.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "errorThreshold": { "format": "int32", "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "loggingLevel": { "description": "Logging level for batch inference operation.", @@ -5341,11 +5359,13 @@ "miniBatchSize": { "format": "int64", "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "model": { "description": "Reference to the model asset for the endpoint deployment.", - "$ref": "#/definitions/AssetReferenceBase" + "$ref": "#/definitions/AssetReferenceBase", + "x-nullable": true }, "outputAction": { "description": "Indicates how the output will be organized.", @@ -5353,7 +5373,8 @@ }, "outputFileName": { "description": "Customized output file name for append_row output action.", - "type": "string" + "type": "string", + "x-nullable": true }, "processsCountPerInstance": { "format": "int32", @@ -5364,12 +5385,15 @@ "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "retrySettings": { "description": "Retry Settings for the batch inference operation.", - "$ref": "#/definitions/BatchRetrySettings" + "$ref": "#/definitions/BatchRetrySettings", + "x-nullable": true } }, "additionalProperties": false @@ -5388,11 +5412,13 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "$ref": "#/definitions/ResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "Additional attributes of the entity.", @@ -5400,7 +5426,8 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "x-nullable": true }, "systemData": { "description": "System data associated with resource provider", @@ -5408,7 +5435,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5441,11 +5469,13 @@ }, "defaults": { "description": "Default values for Batch Endpoint", - "$ref": "#/definitions/BatchEndpointDefaults" + "$ref": "#/definitions/BatchEndpointDefaults", + "x-nullable": true }, "description": { "description": "Description of the inference endpoint.", - "type": "string" + "type": "string", + "x-nullable": true }, "keys": { "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", @@ -5453,14 +5483,17 @@ "x-ms-mutability": [ "create" ], - "x-ms-secret": true + "x-ms-secret": true, + "x-nullable": true }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "scoringUri": { "format": "uri", @@ -5469,7 +5502,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "swaggerUri": { "format": "uri", @@ -5478,7 +5512,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5489,7 +5524,8 @@ "properties": { "deploymentName": { "description": "Name of the deployment that will be default for the endpoint.\r\nThis deployment will end up getting 100% traffic when the endpoint scoring URL is invoked.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -5508,11 +5544,13 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "$ref": "#/definitions/ResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "Additional attributes of the entity.", @@ -5520,7 +5558,8 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "x-nullable": true }, "systemData": { "description": "System data associated with resource provider", @@ -5528,7 +5567,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5590,7 +5630,8 @@ "timeout": { "format": "duration", "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -5646,7 +5687,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5668,7 +5710,8 @@ "properties": { "authorityUrl": { "description": "Authority URL used for authentication.", - "type": "string" + "type": "string", + "x-nullable": true }, "clientId": { "format": "uuid", @@ -5677,7 +5720,8 @@ }, "resourceUrl": { "description": "Resource the service principal has access to.", - "type": "string" + "type": "string", + "x-nullable": true }, "secrets": { "description": "Service principal secrets.", @@ -5713,7 +5757,8 @@ "properties": { "certificate": { "description": "Service principal certificate.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "Certificate", @@ -5732,7 +5777,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "scoringScript": { "description": "The script to execute on startup. eg. \"score.py\"", @@ -5753,7 +5799,8 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "nextVersion": { "description": "The next auto incremental version", @@ -5761,21 +5808,26 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -5802,7 +5854,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5832,11 +5885,13 @@ "codeUri": { "description": "Uri where code is located", "type": "string", - "example": "https://blobStorage/folderName" + "example": "https://blobStorage/folderName", + "x-nullable": true }, "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", @@ -5850,15 +5905,19 @@ "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -5885,7 +5944,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -5926,7 +5986,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "command": { "description": "The command to execute on startup of the job. eg. \"python train.py\"", @@ -5944,7 +6005,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "environmentId": { "description": "The ARM resource ID of the Environment specification for the job.", @@ -5952,18 +6014,21 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "environmentVariables": { "description": "Environment variables included in the job.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "identity": { "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity, or null.\r\nDefaults to AmlToken if null.", @@ -5971,19 +6036,22 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "inputs": { "description": "Mapping of input data bindings used in the job.", "type": "object", "additionalProperties": { "description": "Command job definition.", - "$ref": "#/definitions/JobInput" + "$ref": "#/definitions/JobInput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "limits": { "description": "Command Job limit.", @@ -5991,28 +6059,34 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "outputs": { "description": "Mapping of output data bindings used in the job.", "type": "object", "additionalProperties": { "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput" + "$ref": "#/definitions/JobOutput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "parameters": { "description": "Input parameters.", "type": "object", - "additionalProperties": {}, + "additionalProperties": { + "x-nullable": true + }, "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "resources": { "description": "Compute Resource configuration for the job.", @@ -6020,7 +6094,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Command", @@ -6038,7 +6113,8 @@ "timeout": { "format": "duration", "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -6049,21 +6125,26 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -6090,7 +6171,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6123,7 +6205,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "computeId": { "description": "ARM resource ID of the compute resource.", @@ -6131,31 +6214,36 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "inputs": { "description": "Data input set for job.", "type": "object", "additionalProperties": { "description": "Command job definition.", - "$ref": "#/definitions/JobInput" + "$ref": "#/definitions/JobInput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "outputs": { "description": "Data output set for job.", "type": "object", "additionalProperties": { "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput" + "$ref": "#/definitions/JobOutput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "overrides": { "description": "Override component default settings", @@ -6163,7 +6251,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6178,11 +6267,13 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", @@ -6196,15 +6287,19 @@ "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -6231,7 +6326,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6265,7 +6361,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "instanceType": { "description": "SKU type to run on.", @@ -6273,7 +6370,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "isLocal": { "description": "Set to true for jobs running on local compute.", @@ -6289,14 +6387,17 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "properties": { "description": "Additional properties.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "target": { "description": "ARM resource ID of the compute resource.", @@ -6304,7 +6405,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6348,11 +6450,13 @@ "properties": { "datastoreId": { "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string" + "type": "string", + "x-nullable": true }, "path": { "description": "The path of the file/directory in the datastore.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "DataPath", @@ -6364,7 +6468,8 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "nextVersion": { "description": "The next auto incremental version", @@ -6372,21 +6477,26 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -6413,7 +6523,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6445,7 +6556,8 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", @@ -6470,15 +6582,19 @@ "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -6505,7 +6621,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6546,7 +6663,8 @@ }, "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "isDefault": { "description": "Readonly property to indicate if datastore is the workspace default datastore", @@ -6560,15 +6678,19 @@ "description": "Datastore properties", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "discriminator": "datastoreType" @@ -6609,7 +6731,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6676,7 +6799,8 @@ "properties": { "content": { "description": "The retrieved online deployment logs.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -6691,7 +6815,8 @@ "tail": { "format": "int32", "description": "The maximum number of lines to tail.", - "type": "integer" + "type": "integer", + "x-nullable": true } }, "additionalProperties": false @@ -6721,15 +6846,18 @@ "resourceType": { "description": "Gets or sets the resource type name.", "type": "string", - "readOnly": true + "readOnly": true, + "x-nullable": true }, "sku": { "description": "Gets or sets the Sku.", - "$ref": "#/definitions/SkuSettingTODO" + "$ref": "#/definitions/SkuSettingTODO", + "x-nullable": true }, "skuCapacity": { "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacityTODO" + "$ref": "#/definitions/SkuCapacityTODO", + "x-nullable": true } }, "additionalProperties": false @@ -6831,7 +6959,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "secondaryKey": { "description": "The secondary key.", @@ -6839,7 +6968,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -6864,7 +6994,8 @@ "properties": { "accessToken": { "description": "Access token.", - "type": "string" + "type": "string", + "x-nullable": true }, "expiryTimeUtc": { "format": "int64", @@ -6878,7 +7009,8 @@ }, "tokenType": { "description": "Access token type.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -6920,7 +7052,8 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "nextVersion": { "description": "The next auto incremental version", @@ -6928,21 +7061,26 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -6969,7 +7107,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7027,7 +7166,8 @@ }, "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "environmentType": { "description": "Environment type is either user managed or curated by the Azure ML service\r\n", @@ -7074,15 +7214,19 @@ "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -7109,7 +7253,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7139,8 +7284,10 @@ "description": "Model flavor-specific data.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -7266,11 +7413,13 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "displayName": { "description": "Display name of job.", @@ -7278,7 +7427,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "experimentName": { "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", @@ -7286,7 +7436,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "jobType": { "description": "Specifies the type of job.", @@ -7302,21 +7453,26 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "services": { "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/JobService" - } + "$ref": "#/definitions/JobService", + "x-nullable": true + }, + "x-nullable": true }, "status": { "description": "Status of the job.", @@ -7330,8 +7486,10 @@ "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "discriminator": "jobType" @@ -7358,7 +7516,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7394,7 +7553,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "jobInputType": { "description": "Specifies the type of job.", @@ -7451,7 +7611,8 @@ "properties": { "value": { "description": "Literal value for the input.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "Literal", @@ -7528,7 +7689,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "jobOutputType": { "description": "Specifies the type of job.", @@ -7598,7 +7760,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Uri", @@ -7614,7 +7777,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "errorMessage": { "description": "Any error in the service.", @@ -7622,7 +7786,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "jobServiceType": { "description": "Endpoint type.", @@ -7630,7 +7795,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "port": { "format": "int32", @@ -7639,14 +7805,17 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "properties": { "description": "Additional properties to set on the endpoint.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "status": { "description": "Status of endpoint.", @@ -7654,7 +7823,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7710,7 +7880,8 @@ "properties": { "containerResourceRequirements": { "description": "The resource requirements for the container (cpu and memory).", - "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements" + "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements", + "x-nullable": true } }, "x-ms-discriminator-value": "K8S", @@ -7744,7 +7915,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "objectId": { "format": "uuid", @@ -7753,7 +7925,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "resourceId": { "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field.", @@ -7761,7 +7934,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Managed", @@ -7778,11 +7952,13 @@ "properties": { "modelMountPath": { "description": "The path to mount the model in custom container.", - "type": "string" + "type": "string", + "x-nullable": true }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/ProbeSettings" + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true } }, "x-ms-discriminator-value": "Managed", @@ -7804,21 +7980,26 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -7845,7 +8026,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7892,14 +8074,17 @@ "properties": { "description": { "description": "The asset description text.", - "type": "string" + "type": "string", + "x-nullable": true }, "flavors": { "description": "Mapping of model flavors to their properties.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/FlavorData" - } + "$ref": "#/definitions/FlavorData", + "x-nullable": true + }, + "x-nullable": true }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", @@ -7922,15 +8107,19 @@ "description": "The asset property dictionary.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "tags": { "description": "Tag dictionary. Tags can be added, removed, and updated.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true } }, "additionalProperties": false @@ -7957,7 +8146,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -7996,7 +8186,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Mpi", @@ -8045,11 +8236,13 @@ }, "codeConfiguration": { "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration" + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true }, "description": { "description": "Description of the endpoint deployment.", - "type": "string" + "type": "string", + "x-nullable": true }, "endpointComputeType": { "description": "The compute type of the endpoint.", @@ -8057,14 +8250,17 @@ }, "environmentId": { "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string" + "type": "string", + "x-nullable": true }, "environmentVariables": { "description": "Environment variables configuration for the deployment.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "instanceType": { "description": "Compute instance type.", @@ -8072,22 +8268,27 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "livenessProbe": { "description": "Liveness probe monitors the health of the container regularly.", - "$ref": "#/definitions/ProbeSettings" + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true }, "model": { "description": "The URI path to the model.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", @@ -8099,11 +8300,13 @@ }, "requestSettings": { "description": "Request settings for the deployment.", - "$ref": "#/definitions/OnlineRequestSettings" + "$ref": "#/definitions/OnlineRequestSettings", + "x-nullable": true }, "scaleSettings": { "description": "Scale settings for the deployment.", - "$ref": "#/definitions/OnlineScaleSettings" + "$ref": "#/definitions/OnlineScaleSettings", + "x-nullable": true } }, "discriminator": "endpointComputeType" @@ -8122,11 +8325,13 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "$ref": "#/definitions/ResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "Additional attributes of the entity.", @@ -8134,7 +8339,8 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "x-nullable": true }, "systemData": { "description": "System data associated with resource provider", @@ -8142,7 +8348,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -8182,11 +8389,13 @@ }, "compute": { "description": "ARM resource ID of the compute if it exists.\r\noptional", - "type": "string" + "type": "string", + "x-nullable": true }, "description": { "description": "Description of the inference endpoint.", - "type": "string" + "type": "string", + "x-nullable": true }, "keys": { "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", @@ -8194,14 +8403,17 @@ "x-ms-mutability": [ "create" ], - "x-ms-secret": true + "x-ms-secret": true, + "x-nullable": true }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "provisioningState": { "description": "Provisioning state for the endpoint.", @@ -8218,7 +8430,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "swaggerUri": { "format": "uri", @@ -8227,7 +8440,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "traffic": { "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", @@ -8235,7 +8449,8 @@ "additionalProperties": { "format": "int32", "type": "integer" - } + }, + "x-nullable": true } }, "additionalProperties": false @@ -8254,11 +8469,13 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity" + "$ref": "#/definitions/ResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "properties": { "description": "Additional attributes of the entity.", @@ -8266,7 +8483,8 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "x-nullable": true }, "systemData": { "description": "System data associated with resource provider", @@ -8274,7 +8492,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -8387,11 +8606,13 @@ "properties": { "jobId": { "description": "ARM resource ID of the job.", - "type": "string" + "type": "string", + "x-nullable": true }, "path": { "description": "The path of the file/directory in the job output.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "OutputPath", @@ -8403,7 +8624,8 @@ "properties": { "description": { "description": "Description of the endpoint deployment.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -8414,11 +8636,13 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity" + "$ref": "#/definitions/PartialResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "location": { "description": "The geo-location where the resource lives.", @@ -8426,17 +8650,20 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchDeployment" + "$ref": "#/definitions/PartialBatchDeployment", + "x-nullable": true }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" + "$ref": "#/definitions/PartialSku", + "x-nullable": true }, "tags": { "description": "Resource tags.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true } } }, @@ -8448,7 +8675,8 @@ "properties": { "defaults": { "description": "Default values for Batch Endpoint", - "$ref": "#/definitions/BatchEndpointDefaults" + "$ref": "#/definitions/BatchEndpointDefaults", + "x-nullable": true } }, "additionalProperties": false @@ -8459,11 +8687,13 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity" + "$ref": "#/definitions/PartialResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "location": { "description": "The geo-location where the resource lives.", @@ -8471,17 +8701,20 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchEndpoint" + "$ref": "#/definitions/PartialBatchEndpoint", + "x-nullable": true }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" + "$ref": "#/definitions/PartialSku", + "x-nullable": true }, "tags": { "description": "Resource tags.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true } } }, @@ -8495,35 +8728,41 @@ "format": "double", "description": "The minimum amount of CPU cores to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "number", - "example": 4 + "example": 4, + "x-nullable": true }, "cpuLimit": { "format": "double", "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "number", - "example": 4 + "example": 4, + "x-nullable": true }, "fpga": { "format": "int32", "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "gpu": { "format": "int32", "description": "The number of GPU cores in the container.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "memoryInGB": { "format": "double", "description": "The minimum amount of memory (in GB) to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "number", - "example": 64 + "example": 64, + "x-nullable": true }, "memoryInGBLimit": { "format": "double", "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "number", - "example": 64 + "example": 64, + "x-nullable": true } }, "additionalProperties": false @@ -8549,7 +8788,8 @@ "properties": { "containerResourceRequirements": { "description": "The resource requirements for the container (cpu and memory).", - "$ref": "#/definitions/PartialContainerResourceRequirements" + "$ref": "#/definitions/PartialContainerResourceRequirements", + "x-nullable": true } }, "x-ms-discriminator-value": "K8S", @@ -8566,11 +8806,13 @@ "properties": { "modelMountPath": { "description": "The path to mount the model in custom container.", - "type": "string" + "type": "string", + "x-nullable": true }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/PartialProbeSettings" + "$ref": "#/definitions/PartialProbeSettings", + "x-nullable": true } }, "x-ms-discriminator-value": "Managed", @@ -8585,7 +8827,8 @@ "properties": { "appInsightsEnabled": { "description": "If true, enables Application Insights logging.", - "type": "boolean" + "type": "boolean", + "x-nullable": true }, "endpointComputeType": { "description": "The compute type of the endpoint.", @@ -8593,15 +8836,18 @@ }, "livenessProbe": { "description": "Liveness probe monitors the health of the container regularly.", - "$ref": "#/definitions/PartialProbeSettings" + "$ref": "#/definitions/PartialProbeSettings", + "x-nullable": true }, "requestSettings": { "description": "Request settings for the deployment.", - "$ref": "#/definitions/PartialOnlineRequestSettings" + "$ref": "#/definitions/PartialOnlineRequestSettings", + "x-nullable": true }, "scaleSettings": { "description": "Scale settings for the deployment.", - "$ref": "#/definitions/PartialOnlineScaleSettings" + "$ref": "#/definitions/PartialOnlineScaleSettings", + "x-nullable": true } }, "discriminator": "endpointComputeType" @@ -8612,11 +8858,13 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity" + "$ref": "#/definitions/PartialResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "location": { "description": "The geo-location where the resource lives.", @@ -8624,17 +8872,20 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineDeployment" + "$ref": "#/definitions/PartialOnlineDeployment", + "x-nullable": true }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" + "$ref": "#/definitions/PartialSku", + "x-nullable": true }, "tags": { "description": "Resource tags.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true } } }, @@ -8650,7 +8901,8 @@ "additionalProperties": { "format": "int32", "type": "integer" - } + }, + "x-nullable": true } }, "additionalProperties": false @@ -8661,11 +8913,13 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity" + "$ref": "#/definitions/PartialResourceIdentity", + "x-nullable": true }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" + "type": "string", + "x-nullable": true }, "location": { "description": "The geo-location where the resource lives.", @@ -8673,17 +8927,20 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineEndpoint" + "$ref": "#/definitions/PartialOnlineEndpoint", + "x-nullable": true }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" + "$ref": "#/definitions/PartialSku", + "x-nullable": true }, "tags": { "description": "Resource tags.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true } } }, @@ -8696,17 +8953,20 @@ "maxConcurrentRequestsPerInstance": { "format": "int32", "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "maxQueueWait": { "format": "duration", "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", - "type": "string" + "type": "string", + "x-nullable": true }, "requestTimeout": { "format": "duration", "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -8732,27 +8992,32 @@ "failureThreshold": { "format": "int32", "description": "The number of failures to allow before returning an unhealthy status.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "initialDelay": { "format": "duration", "description": "The delay before the first probe in ISO 8601 format.", - "type": "string" + "type": "string", + "x-nullable": true }, "period": { "format": "duration", "description": "The length of time between probes in ISO 8601 format.", - "type": "string" + "type": "string", + "x-nullable": true }, "successThreshold": { "format": "int32", "description": "The number of successful probes before returning a healthy status.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "timeout": { "format": "duration", "description": "The probe timeout in ISO 8601 format.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -8768,7 +9033,8 @@ "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/PartialUserAssignedIdentityMeta" + "$ref": "#/definitions/PartialUserAssignedIdentityMeta", + "x-nullable": true } } }, @@ -8813,22 +9079,26 @@ "maxInstances": { "format": "int32", "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "minInstances": { "format": "int32", "description": "The minimum number of instances to always be present.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "pollingInterval": { "format": "duration", "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", - "type": "string" + "type": "string", + "x-nullable": true }, "targetUtilizationPercentage": { "format": "int32", "description": "Target CPU usage for the autoscaler.", - "type": "integer" + "type": "integer", + "x-nullable": true } }, "x-ms-discriminator-value": "TargetUtilization", @@ -8840,11 +9110,13 @@ "properties": { "clientId": { "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", - "type": "string" + "type": "string", + "x-nullable": true }, "principalId": { "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -8868,42 +9140,49 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "componentJobs": { "description": "JobDefinition set for PipelineStepJobs", "type": "object", "additionalProperties": { - "$ref": "#/definitions/ComponentJob" + "$ref": "#/definitions/ComponentJob", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "inputs": { "description": "Data input set for jobs.", "type": "object", "additionalProperties": { "description": "Command job definition.", - "$ref": "#/definitions/JobInput" + "$ref": "#/definitions/JobInput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "outputs": { "description": "Data output set for jobs.", "type": "object", "additionalProperties": { "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput" + "$ref": "#/definitions/JobOutput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "settings": { "description": "Pipeline settings, for things like ContinueRunOnStepFailure etc.", @@ -8911,7 +9190,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "Pipeline", @@ -8930,7 +9210,8 @@ "initialDelay": { "format": "duration", "description": "The delay before the first probe in ISO 8601 format.", - "type": "string" + "type": "string", + "x-nullable": true }, "period": { "format": "duration", @@ -8965,7 +9246,8 @@ "processCountPerInstance": { "format": "int32", "description": "Number of processes per node.", - "type": "integer" + "type": "integer", + "x-nullable": true } }, "x-ms-discriminator-value": "PyTorch", @@ -8997,7 +9279,8 @@ }, "keyValue": { "description": "The value the key is set to.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -9022,8 +9305,10 @@ "description": "Additional properties bag", "type": "object", "additionalProperties": { - "type": "string" - } + "type": "string", + "x-nullable": true + }, + "x-nullable": true }, "resourceConfigurationType": { "description": "Specifies the type of resource configuration.", @@ -9054,7 +9339,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "tenantId": { "description": "AAD Tenant where this identity lives.", @@ -9062,7 +9348,8 @@ "readOnly": true, "x-ms-mutability": [ "read" - ] + ], + "x-nullable": true }, "type": { "description": "Defines values for a ResourceIdentity's type.", @@ -9072,7 +9359,8 @@ "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityMeta" + "$ref": "#/definitions/UserAssignedIdentityMeta", + "x-nullable": true } } }, @@ -9162,7 +9450,8 @@ "properties": { "sasToken": { "description": "Storage container SAS token.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "Sas", @@ -9211,7 +9500,8 @@ "properties": { "authorityUrl": { "description": "Authority URL used for authentication.", - "type": "string" + "type": "string", + "x-nullable": true }, "clientId": { "format": "uuid", @@ -9220,7 +9510,8 @@ }, "resourceUrl": { "description": "Resource the service principal has access to.", - "type": "string" + "type": "string", + "x-nullable": true }, "secrets": { "description": "Service principal secrets.", @@ -9251,7 +9542,8 @@ "properties": { "clientSecret": { "description": "Service principal secret.", - "type": "string" + "type": "string", + "x-nullable": true } }, "x-ms-discriminator-value": "ServicePrincipal", @@ -9347,7 +9639,8 @@ "properties": { "earlyTermination": { "description": "Early termination policies enable canceling poor-performing runs before they complete", - "$ref": "#/definitions/EarlyTerminationPolicy" + "$ref": "#/definitions/EarlyTerminationPolicy", + "x-nullable": true }, "identity": { "description": "Identity configuration. If set, this should be one of AmlToken, ManagedIdentity or null.\r\nDefaults to AmlToken if null.", @@ -9355,19 +9648,22 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "inputs": { "description": "Mapping of input data bindings used in the job.", "type": "object", "additionalProperties": { "description": "Command job definition.", - "$ref": "#/definitions/JobInput" + "$ref": "#/definitions/JobInput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "limits": { "description": "Sweep Job limit.", @@ -9375,7 +9671,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "objective": { "description": "Optimization objective.", @@ -9386,12 +9683,14 @@ "type": "object", "additionalProperties": { "description": "Job output definition container information on where to find job output/logs.", - "$ref": "#/definitions/JobOutput" + "$ref": "#/definitions/JobOutput", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "samplingAlgorithm": { "description": "Type of the hyperparameter sampling algorithms", @@ -9401,12 +9700,14 @@ "description": "A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", "type": "object", "additionalProperties": { - "type": "object" + "type": "object", + "x-nullable": true } }, "trial": { "description": "Trial component definition.", - "$ref": "#/definitions/TrialComponent" + "$ref": "#/definitions/TrialComponent", + "x-nullable": true } }, "x-ms-discriminator-value": "Sweep", @@ -9424,22 +9725,26 @@ "maxConcurrentTrials": { "format": "int32", "description": "Sweep Job max concurrent trials.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "maxTotalTrials": { "format": "int32", "description": "Sweep Job max total trials.", - "type": "integer" + "type": "integer", + "x-nullable": true }, "timeout": { "format": "duration", "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string" + "type": "string", + "x-nullable": true }, "trialTimeout": { "format": "duration", "description": "Sweep Job Trial timeout value.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -9505,7 +9810,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "x-ms-discriminator-value": "TensorFlow", @@ -9524,7 +9830,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "command": { "description": "The command to execute on startup of the job. eg. \"python train.py\"", @@ -9542,22 +9849,26 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "environmentId": { "description": "The ARM resource ID of the Environment specification for the job.", - "type": "string" + "type": "string", + "x-nullable": true }, "environmentVariables": { "description": "Environment variables included in the job.", "type": "object", "additionalProperties": { - "type": "string" + "type": "string", + "x-nullable": true }, "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "resources": { "description": "Compute Resource configuration for the job.", @@ -9565,7 +9876,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "timeout": { "format": "duration", @@ -9574,7 +9886,8 @@ "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false @@ -9630,11 +9943,13 @@ "properties": { "clientId": { "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", - "type": "string" + "type": "string", + "x-nullable": true }, "principalId": { "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false From ae9d3d9a60321725bce77e4e522d9bed2d5912fd Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:11:53 -0400 Subject: [PATCH 085/211] bump example api-versions to 2021-10-01 --- .../2021-10-01/examples/BatchDeployment/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/delete.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/get.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/list.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/update.json | 2 +- .../2021-10-01/examples/BatchEndpoint/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/BatchEndpoint/delete.json | 2 +- .../stable/2021-10-01/examples/BatchEndpoint/get.json | 2 +- .../stable/2021-10-01/examples/BatchEndpoint/list.json | 2 +- .../stable/2021-10-01/examples/BatchEndpoint/listKeys.json | 2 +- .../stable/2021-10-01/examples/BatchEndpoint/update.json | 2 +- .../2021-10-01/examples/CodeContainer/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/CodeContainer/delete.json | 2 +- .../stable/2021-10-01/examples/CodeContainer/get.json | 2 +- .../stable/2021-10-01/examples/CodeContainer/list.json | 2 +- .../stable/2021-10-01/examples/CodeVersion/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/CodeVersion/delete.json | 2 +- .../stable/2021-10-01/examples/CodeVersion/get.json | 2 +- .../stable/2021-10-01/examples/CodeVersion/list.json | 2 +- .../2021-10-01/examples/DatasetContainer/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/DatasetContainer/delete.json | 2 +- .../stable/2021-10-01/examples/DatasetContainer/get.json | 2 +- .../stable/2021-10-01/examples/DatasetContainer/list.json | 2 +- .../2021-10-01/examples/DatasetVersion/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/DatasetVersion/delete.json | 2 +- .../stable/2021-10-01/examples/DatasetVersion/get.json | 2 +- .../stable/2021-10-01/examples/DatasetVersion/list.json | 2 +- .../examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json | 2 +- .../AzureDataLakeGen1WServicePrincipal/createOrUpdate.json | 2 +- .../AzureDataLakeGen2WServicePrincipal/createOrUpdate.json | 2 +- .../examples/Datastore/AzureFileWAccountKey/createOrUpdate.json | 2 +- .../Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json | 2 +- .../Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/Datastore/delete.json | 2 +- .../stable/2021-10-01/examples/Datastore/get.json | 2 +- .../stable/2021-10-01/examples/Datastore/list.json | 2 +- .../stable/2021-10-01/examples/Datastore/listSecrets.json | 2 +- .../examples/EnvironmentContainer/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/EnvironmentContainer/delete.json | 2 +- .../stable/2021-10-01/examples/EnvironmentContainer/get.json | 2 +- .../stable/2021-10-01/examples/EnvironmentContainer/list.json | 2 +- .../2021-10-01/examples/EnvironmentVersion/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/EnvironmentVersion/delete.json | 2 +- .../stable/2021-10-01/examples/EnvironmentVersion/get.json | 2 +- .../stable/2021-10-01/examples/EnvironmentVersion/list.json | 2 +- .../2021-10-01/examples/Job/CommandJob/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/Job/CommandJob/get.json | 2 +- .../stable/2021-10-01/examples/Job/CommandJob/list.json | 2 +- .../stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/Job/SweepJob/get.json | 2 +- .../stable/2021-10-01/examples/Job/SweepJob/list.json | 2 +- .../stable/2021-10-01/examples/Job/cancel.json | 2 +- .../stable/2021-10-01/examples/Job/delete.json | 2 +- .../2021-10-01/examples/ModelContainer/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/ModelContainer/delete.json | 2 +- .../stable/2021-10-01/examples/ModelContainer/get.json | 2 +- .../stable/2021-10-01/examples/ModelContainer/list.json | 2 +- .../stable/2021-10-01/examples/ModelVersion/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/ModelVersion/delete.json | 2 +- .../stable/2021-10-01/examples/ModelVersion/get.json | 2 +- .../stable/2021-10-01/examples/ModelVersion/list.json | 2 +- .../OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json | 2 +- .../examples/OnlineDeployment/K8sOnlineDeployment/get.json | 2 +- .../examples/OnlineDeployment/K8sOnlineDeployment/update.json | 2 +- .../ManagedOnlineDeployment/createOrUpdate.json | 2 +- .../examples/OnlineDeployment/ManagedOnlineDeployment/get.json | 2 +- .../OnlineDeployment/ManagedOnlineDeployment/update.json | 2 +- .../stable/2021-10-01/examples/OnlineDeployment/delete.json | 2 +- .../stable/2021-10-01/examples/OnlineDeployment/getLogs.json | 2 +- .../stable/2021-10-01/examples/OnlineDeployment/list.json | 2 +- .../2021-10-01/examples/OnlineEndpoint/createOrUpdate.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/delete.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/get.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/getToken.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/list.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/listKeys.json | 2 +- .../2021-10-01/examples/OnlineEndpoint/regenerateKeys.json | 2 +- .../stable/2021-10-01/examples/OnlineEndpoint/update.json | 2 +- 78 files changed, 78 insertions(+), 78 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json index e0665a3471b5..5b5e5bae1d2f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testBatchEndpoint", "deploymentName": "testBatchDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json index ea9d9cf451e0..aa491fe945e0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json @@ -5,7 +5,7 @@ "workspaceName": "testworkspace", "endpointName": "testBatchEndpoint", "deploymentName": "testBatchDeployment", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json index 7b8786b625e3..899120db933b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json @@ -5,7 +5,7 @@ "workspaceName": "testworkspace", "endpointName": "testBatchEndpoint", "deploymentName": "testBatchDeployment", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json index 60fd50774dd4..12f22cba9846 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json index 47b43f35442c..194821eae183 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testBatchEndpoint", "deploymentName": "testBatchDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json index 7193dc10d7ae..dc229fb10b2f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testBatchEndpoint", "body": { "tags": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json index 45104ebc1299..9b4f83e43ee0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json index 48ee8272b3b9..26115e07a857 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json @@ -4,7 +4,7 @@ "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", "endpointName": "testBatchEndpoint", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json index 6912243fd754..16c9ba44c78d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "count": 1 }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json index ac3d3b432d0a..40d801464c0c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "resourceGroup-1234", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testBatchEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json index 06fab02ba585..94d86cbb7cf6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testBatchEndpoint", "body": { "tags": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json index 71ebee7ba51b..83d1e9b65fad 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json index 9198deab4166..833451328857 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json index 6446f2e5fabb..e7a37b65989c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json index 73e02ca2c0bc..a5eac45f0841 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "$skipToken": "skiptoken" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json index a8f88ec37b5b..964854c983ae 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json index 6bb446d6869e..db918ac9ff18 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json index 054e0b6192b5..1b7c17d0053e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json index 72fcc4480273..788a4f53fae5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "$skipToken": "skiptoken" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json index bdc677161a55..906220203dd3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "datacontainer123", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json index 8f4fac7c6b98..42d47350033c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "datacontainer123" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json index 4cb6ef56aa05..04c48eab4460 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "datacontainer123" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json index ec4cd60666d2..00b79c44a60d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json index 0723a7cb2785..45cc6e985c0c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "dataset123", "version": "1", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json index 015e64c15dba..74e5f25610bc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "dataset123", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json index e57de45a9dfe..506d5639251d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "dataset123", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json index 237aaf98a68b..3669c539ab26 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "dataset123" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json index 4256b6a716c7..0c91cffff662 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json index 4fc78ee17415..5cc643137e21 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json index c01877c5ce1b..9711376177b4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json index 2147d4985c96..b202d9a0f26e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json index cfc68b024e2a..61180d5aa59b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json index 605e1811706c..c06211e0e680 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json index d953f417799a..7fdbeedcc9d0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json index 6d9a1ff86179..ac10ab363091 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json index 37bf195e3f4e..2e8ac53f4b36 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json index ca384be6e731..2a16cb3d9707 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testDatastore" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json index e596ec038359..aeef2ec49023 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testEnvironment", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json index 9198deab4166..833451328857 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json index 46258d640ce4..9d19f4a2675e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testEnvironment" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json index 2d7de2bcc85e..38e052ce68cd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "$skipToken": "skiptoken" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json index 581526e4d985..a2d553863e0f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json @@ -5,7 +5,7 @@ "workspaceName": "testworkspace", "name": "testEnvironment", "version": "1", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "body": { "properties": { "docker": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json index 11bfc42fbc54..2c3625f89b1d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json @@ -5,7 +5,7 @@ "workspaceName": "testworkspace", "name": "testContainer", "version": "1", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json index 09d4f131f6c8..238c8142d5d7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json @@ -5,7 +5,7 @@ "workspaceName": "testworkspace", "name": "testEnvironment", "version": "1", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json index 388d9d8f13f0..e39d0528f617 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json @@ -4,7 +4,7 @@ "resourceGroupName": "testrg123", "workspaceName": "testworkspace", "name": "testEnvironment", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "$skipToken": "skiptoken" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json index 64e43cbdfe63..676a8673b279 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json index 554ab3dff455..f5f723d9066a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json index 43150c34a05f..4d499104d9d7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "jobType": "Command", "$skipToken": "skiptoken" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json index eda95df628e9..f162a1ff6d9d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json index 4e010f6936c1..04273efe2284 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json index 599a00dbdda0..f019f8587a44 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "jobType": "Sweep", "$skipToken": "skiptoken" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json index df2eaa220536..2822faadf1b3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json index 3eb00d3f546a..cc3f4d719d7b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "testworkspace", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "id": "testJob" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json index 9cbbffb51201..78a5590ead3d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "body": { "properties": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json index b27feae6a399..56bf81adc96a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json index 882f7bea8801..9224cfa206cd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json index c9b29bd90be7..a3bcdf84539f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json index 7b286b921069..ce09f544891b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json index 006074c8bb12..51f073615931 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "999" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json index 3f53e8828158..efa05b79064b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json index 076652c890a0..c57bf30ca428 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "name": "testContainer", "version": "1" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json index 93263fb1ded9..9c2268344cac 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json index 6883341f031c..bfdbe95a2c78 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json index abd51f90e041..f535c26adc1a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json index 8592645864d3..d726820eee5a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json index 442ca1f3ee70..4ce5e0f7a8ff 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json index 86048d903773..7302411bbf27 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json index 8fb52c1c3862..90dd05e58837 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json index 00e4108887a5..3b1b37070961 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "deploymentName": "testDeployment", "body": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json index 8fce3fd11e32..c2acc8ae2e40 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json index 2c3bca23230a..63727c7cbc26 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "body": { "tags": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json index 441d05a10f9c..6dea2f9a4bd6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json index efffbb9b8232..842817900f1f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index 2e602c96c444..431b2971cfc3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json index 930030042af7..ec0174a4c4e6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview" + "api-version": "2021-10-01" }, "responses": { "200": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json index 9da4478dae98..8c2952b81350 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json index 70f21e732c3c..1b084db3ee6f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "body": { "keyType": "Primary", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json index e2ef99f27303..0def017c3b19 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json @@ -3,7 +3,7 @@ "subscriptionId": "00000000-1111-2222-3333-444444444444", "resourceGroupName": "testrg123", "workspaceName": "workspace123", - "api-version": "2021-03-01-preview", + "api-version": "2021-10-01", "endpointName": "testEndpoint", "body": { "tags": { From 8bc38c0e6fe8dd888a8f3203466ef6233b503abf Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:17:10 -0400 Subject: [PATCH 086/211] update BatchEndpoint examples --- .../BatchEndpoint/createOrUpdate.json | 166 +++++++++--------- .../examples/BatchEndpoint/get.json | 70 ++++---- .../examples/BatchEndpoint/list.json | 69 ++++---- .../examples/BatchEndpoint/listKeys.json | 9 +- .../examples/BatchEndpoint/update.json | 97 ++++++---- 5 files changed, 224 insertions(+), 187 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json index dc229fb10b2f..3b15eff2e71b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json @@ -1,134 +1,138 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testBatchEndpoint", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "authMode": "AMLToken", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "keys": { - "primaryKey": "string", - "secondaryKey": "string" - } + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { - "authMode": "AMLToken", "description": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 + "string": "string" }, - "scoringUri": "string", - "swaggerUri": "string" + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", "properties": { - "authMode": "AMLToken", "description": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json index 26115e07a857..660d97418c3f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json @@ -1,54 +1,58 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { - "authMode": "AMLToken", "description": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 + "string": "string" }, - "scoringUri": "string", - "swaggerUri": "string" + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json index 16c9ba44c78d..a5f55bdb0a3d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json @@ -1,56 +1,61 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", "api-version": "2021-10-01", + "$skipToken": "string", "count": 1 }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { - "authMode": "AMLToken", "description": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 + "string": "string" }, - "scoringUri": "string", - "swaggerUri": "string" + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } ], diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json index 40d801464c0c..05e73000f707 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json @@ -1,13 +1,14 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "endpointName": "testBatchEndpoint" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { "primaryKey": "string", "secondaryKey": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json index 94d86cbb7cf6..36d1c8e8be5d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json @@ -1,61 +1,84 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testBatchEndpoint", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "defaults": { + "deploymentName": "string" + } + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint", - "name": "testBatchEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { - "authMode": "AMLToken", "description": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string" + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "defaults": { + "deploymentName": "string" + } }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } From cfb73525b0f10dfff0996b1695250f51ca9f8f37 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:17:43 -0400 Subject: [PATCH 087/211] update BatchDeployment examples --- .../BatchDeployment/createOrUpdate.json | 295 +++++++++--------- .../examples/BatchDeployment/delete.json | 8 +- .../examples/BatchDeployment/get.json | 111 ++++--- .../examples/BatchDeployment/list.json | 114 +++---- .../examples/BatchDeployment/update.json | 136 ++++---- 5 files changed, 331 insertions(+), 333 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json index 5b5e5bae1d2f..583b6041f905 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json @@ -1,232 +1,219 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "principalId": "string", - "clientId": "string" - } - } - }, "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" + "assetId": "string" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" + "assetId": "string" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + "assetId": "string" }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json index aa491fe945e0..a68054cbc675 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json index 899120db933b..0a01c36e9001 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json @@ -1,88 +1,85 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" + "assetId": "string" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json index 12f22cba9846..2472edb059ee 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json @@ -1,89 +1,89 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup-1234", - "workspaceName": "testworkspace", - "endpointName": "testBatchEndpoint", - "api-version": "2021-10-01" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01", + "$orderBy": "string", + "$top": 1, + "$skipToken": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" + "assetId": "string" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } ], diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json index 194821eae183..ac7028aef720 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json @@ -1,95 +1,109 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testBatchEndpoint", - "deploymentName": "testBatchDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "description": "string" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/batchEndpoints/testBatchEndpoint/deployments/testBatchDeployment", - "name": "testBatchDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/testcompute", - "instanceCount": 0, + "target": "string", + "instanceCount": 1, "isLocal": false, "location": "string", "instanceType": "string", "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" } }, - "errorThreshold": 0, + "errorThreshold": 1, "retrySettings": { - "maxRetries": 0, - "timeout": "string" + "maxRetries": 1, + "timeout": "PT5M" }, - "partitionKeys": [ - "string" - ], - "miniBatchSize": 0, + "miniBatchSize": 1, "loggingLevel": "Info", - "outputConfiguration": { - "outputAction": "SummaryOnly", - "appendRowFileName": "string" - }, - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "model": { "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/testmodel/versions/1" + "assetId": "string" }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testcode/versions/1", - "scoringScript": "score.py" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/myenv", - "environmentVariables": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "processsCountPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string" }, "systemData": { - "createdAt": "2021-03-25T20:46:47.062Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:46:47.062Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } From f4f77cf5a8c4821ec8911a64fdc571bbfe4813d4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:32:53 -0400 Subject: [PATCH 088/211] update CodeVersion examples --- .../examples/CodeVersion/createOrUpdate.json | 75 ++++++++----------- .../examples/CodeVersion/delete.json | 10 +-- .../2021-10-01/examples/CodeVersion/get.json | 36 ++++----- .../2021-10-01/examples/CodeVersion/list.json | 38 +++++----- 4 files changed, 70 insertions(+), 89 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json index 964854c983ae..1435cfc9a158 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json @@ -1,88 +1,75 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01", - "name": "testContainer", - "version": "1", "body": { "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "codeUri": "https://blobStorage/folderName" } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "codeUri": "https://blobStorage/folderName" }, "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "codeUri": "https://blobStorage/folderName" }, "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json index db918ac9ff18..422f4c2b6233 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json @@ -1,11 +1,11 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "name": "testContainer", - "version": "1" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json index 1b7c17d0053e..9ad95fe5e08b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json @@ -1,39 +1,35 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "name": "testContainer", - "version": "1" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "codeUri": "https://blobStorage/folderName" }, "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json index 788a4f53fae5..a38c32b3f4cd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json @@ -1,41 +1,39 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testContainer", - "$skipToken": "skiptoken" + "$orderBy": "string", + "$top": 1, + "$skipToken": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/codes/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.py", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "codeUri": "https://blobStorage/folderName" }, "systemData": { - "createdAt": "2021-03-25T20:58:39.312Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T20:58:39.312Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } @@ -45,4 +43,4 @@ } } } -} +} \ No newline at end of file From 3b86b0d3e8e5798bc1d7d142ddb5f50b712bc327 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:38:29 -0400 Subject: [PATCH 089/211] update ComponentVersion examples --- .../ComponentVersion/createOrUpdate.json | 78 ++----------------- .../examples/ComponentVersion/get.json | 28 +------ .../examples/ComponentVersion/list.json | 26 +------ 3 files changed, 11 insertions(+), 121 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json index 6658297f8dd5..65d2e464f5fb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json @@ -16,30 +16,8 @@ "string": "string" }, "isAnonymous": false, - "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", - "codeId": "string", - "command": "string", - "component": { - "componentType": "CommandComponent", - "displayName": "string", - "isDeterministic": false, - "inputs": { - "string": { - "optional": false, - "description": "string", - "default": "string", - "dataType": "string", - "inputType": "RangedNumber", - "min": "string", - "max": "string" - } - }, - "outputs": { - "string": { - "description": "string", - "dataType": "string" - } - } + "componentSpec": { + "8ced901b-d826-477d-bfef-329da9672513": null } } } @@ -60,30 +38,8 @@ "string": "string" }, "isAnonymous": false, - "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", - "codeId": "string", - "command": "string", - "component": { - "componentType": "CommandComponent", - "displayName": "string", - "isDeterministic": false, - "inputs": { - "string": { - "optional": false, - "description": "string", - "default": "string", - "dataType": "string", - "inputType": "RangedNumber", - "min": "string", - "max": "string" - } - }, - "outputs": { - "string": { - "description": "string", - "dataType": "string" - } - } + "componentSpec": { + "2de2e74e-457d-4447-a581-933abc2b9d96": null } }, "systemData": { @@ -111,30 +67,8 @@ "string": "string" }, "isAnonymous": false, - "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", - "codeId": "string", - "command": "string", - "component": { - "componentType": "CommandComponent", - "displayName": "string", - "isDeterministic": false, - "inputs": { - "string": { - "optional": false, - "description": "string", - "default": "string", - "dataType": "string", - "inputType": "RangedNumber", - "min": "string", - "max": "string" - } - }, - "outputs": { - "string": { - "description": "string", - "dataType": "string" - } - } + "componentSpec": { + "a6c1349d-5e45-48da-92c3-3ce176cb30e9": null } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json index f16b8f38bd35..c7e66bb0ef23 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json @@ -23,30 +23,8 @@ "string": "string" }, "isAnonymous": false, - "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", - "codeId": "string", - "command": "string", - "component": { - "componentType": "CommandComponent", - "displayName": "string", - "isDeterministic": false, - "inputs": { - "string": { - "optional": false, - "description": "string", - "default": "string", - "dataType": "string", - "inputType": "RangedNumber", - "min": "string", - "max": "string" - } - }, - "outputs": { - "string": { - "description": "string", - "dataType": "string" - } - } + "componentSpec": { + "1a7c40b5-2029-4f5f-a8d6-fd0822038773": null } }, "systemData": { @@ -60,4 +38,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json index e01268bc339b..f95f7eef034f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json @@ -27,30 +27,8 @@ "string": "string" }, "isAnonymous": false, - "environmentId": "\"/subscriptions/{{subscriptionId}}/resourceGroups/{{resourceGroup}}/providers/Microsoft.MachineLearningServices/workspaces/{{workspaceName}}/Environments/AzureML-Minimal\"", - "codeId": "string", - "command": "string", - "component": { - "componentType": "CommandComponent", - "displayName": "string", - "isDeterministic": false, - "inputs": { - "string": { - "optional": false, - "description": "string", - "default": "string", - "dataType": "string", - "inputType": "RangedNumber", - "min": "string", - "max": "string" - } - }, - "outputs": { - "string": { - "description": "string", - "dataType": "string" - } - } + "componentSpec": { + "50acbce5-cccc-475a-8ac6-c4da402afbd8": null } }, "systemData": { From e5c66a3ce936c1353b7463ac7be8cc237cc3f4c4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 14 Aug 2021 12:38:38 -0400 Subject: [PATCH 090/211] update DatasetVersion examples --- .../DatasetVersion/createOrUpdate.json | 93 +++++++++---------- .../examples/DatasetVersion/delete.json | 10 +- .../examples/DatasetVersion/get.json | 42 ++++----- .../examples/DatasetVersion/list.json | 42 +++++---- 4 files changed, 95 insertions(+), 92 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json index 45cc6e985c0c..dd69bc4b403d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json @@ -1,91 +1,90 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01", - "name": "dataset123", - "version": "1", "body": { "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "paths": [ + { + "path": "string", + "isFile": false + } + ] } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "paths": [ + { + "path": "string", + "isFile": false + } + ] }, "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datasetType": "Simple", - "datastoreId": "string", - "path": "string", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "paths": [ + { + "path": "string", + "isFile": false + } + ] }, "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json index 74e5f25610bc..422f4c2b6233 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json @@ -1,11 +1,11 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "name": "dataset123", - "version": "1" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json index 506d5639251d..02e6cb5364c3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json @@ -1,40 +1,40 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "name": "dataset123", - "version": "1" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "paths": [ + { + "path": "string", + "isFile": false + } + ] }, "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json index 3669c539ab26..d372bf26dbb4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json @@ -1,41 +1,45 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "dataset123" + "$orderBy": "string", + "$top": 1, + "$skipToken": "string", + "$tags": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/dataset123/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/data/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "datasetType": "Simple", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/mydatastore", - "path": "path/to/file.csv", - "isAnonymous": true, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "isAnonymous": false, + "paths": [ + { + "path": "string", + "isFile": false + } + ] }, "systemData": { - "createdAt": "2021-03-25T21:39:02.230Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:39:02.230Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } From 0eb74462914da8e8d3419b23b5297c2fb3830c72 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:29:13 -0400 Subject: [PATCH 091/211] remove Azure SQL Datastore examples --- .../stable/2021-10-01/mfe.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 468ee0899f2c..525877bb20bc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -2425,12 +2425,6 @@ }, "CreateOrUpdate datastore (Azure File store w/ AccountKey).": { "$ref": "./examples/Datastore/AzureFileWAccountKey/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure Postgre SQL w/ SQL Admin).": { - "$ref": "./examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json" - }, - "CreateOrUpdate datastore (Azure SQL Database w/ SQL Admin).": { - "$ref": "./examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json" } } } From 0dbf54fd5e7843d7ef9ca5989837b3981041c112 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:29:48 -0400 Subject: [PATCH 092/211] update Datastore examples --- .../AzureBlobWAccountKey/createOrUpdate.json | 165 ++++++--------- .../createOrUpdate.json | 169 ++++++---------- .../createOrUpdate.json | 190 +++++++----------- .../AzureFileWAccountKey/createOrUpdate.json | 163 ++++++--------- .../createOrUpdate.json | 153 +++++--------- .../createOrUpdate.json | 150 +++++--------- .../2021-10-01/examples/Datastore/delete.json | 8 +- .../2021-10-01/examples/Datastore/get.json | 65 +++--- .../2021-10-01/examples/Datastore/list.json | 72 ++++--- .../examples/Datastore/listSecrets.json | 9 +- 10 files changed, 423 insertions(+), 721 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json index 0c91cffff662..a4714c1ad1f4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -1,134 +1,95 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey", - "secrets": { - "secretsType": "AccountKey", - "key": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey", + "secrets":{ + "secretsType": "AccountKey", + "key": "string" + } + }, + "datastoreType": "AzureBlob", + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "isDefault": false, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob", + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "isDefault": false, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob", + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json index 5cc643137e21..0802833f5f45 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json @@ -1,137 +1,96 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "secrets": { - "secretsType": "ServicePrincipal", - "clientSecret": "string" - } - }, - "storeName": "testStore" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "datastoreType": "AzureDataLakeGen1", + "storeName": "string" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string" + }, + "datastoreType": "AzureDataLakeGen1", + "storeName": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "storeName": "testStore" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string" + }, + "datastoreType": "AzureDataLakeGen1", + "storeName": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureDataLakeGen1", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "storeName": "testStore" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json index 9711376177b4..37204c8e8619 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -1,146 +1,108 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "secrets": { - "secretsType": "ServicePrincipal", - "clientSecret": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string", + "secrets": { + "secretsType": "ServicePrincipal", + "clientSecret": "string" + } + }, + "datastoreType": "AzureDataLakeGen2", + "filesystem": "string", + "accountName": "string", + "containerName": "string", + "endpoint": "string", + "protocol": "string" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string" + }, + "datastoreType": "AzureDataLakeGen2", + "filesystem": "string", + "accountName": "string", + "containerName": "string", + "endpoint": "string", + "protocol": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "ServicePrincipal", + "authorityUrl": "string", + "resourceUrl": "string", + "tenantId": "string", + "clientId": "string" + }, + "datastoreType": "AzureDataLakeGen2", + "filesystem": "string", + "accountName": "string", + "containerName": "string", + "endpoint": "string", + "protocol": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "ServicePrincipal", - "authorityUrl": "string", - "resourceUri": "string", - "tenantId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json index b202d9a0f26e..2f04f4153c7b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -1,134 +1,93 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey", - "secrets": { - "secretsType": "AccountKey", - "key": "string" - } - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey", + "secrets":{ + "secretsType": "AccountKey", + "key": "string" + } + }, + "datastoreType": "AzureFile", + "accountName": "string", + "fileShareName": "string", + "endpoint": "string", + "protocol": "string" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureFile", + "accountName": "string", + "fileShareName": "string", + "endpoint": "string", + "protocol": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureFile", + "accountName": "string", + "fileShareName": "string", + "endpoint": "string", + "protocol": "string" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureFile", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json index 61180d5aa59b..2fd2ff5c9bd6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json @@ -1,140 +1,77 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string", - "secrets": { - "secretsType": "SqlAdmin", - "password": "string" - } - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzurePostgreSql", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "enableSSL": true, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json index c06211e0e680..2fd2ff5c9bd6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json @@ -1,137 +1,77 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testDatastore", + "skipValidation": false, "body": { "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string", - "secrets": { - "secretsType": "SqlAdmin", - "password": "string" - } - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" } } }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } }, "201": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureSqlDatabase", - "credentials": { - "credentialsType": "SqlAdmin", - "userId": "string" - }, - "databaseName": "string", - "endpoint": "string", - "portNumber": 123, - "serverName": "string" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json index 7fdbeedcc9d0..e5b2538d8252 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "name": "testDatastore" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json index ac10ab363091..622c63d5a3ba 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json @@ -1,54 +1,41 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "name": "testDatastore" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "isDefault": false, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob", + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json index 2e8ac53f4b36..17842cf7a697 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json @@ -1,55 +1,51 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2021-10-01", + "$skipToken": "string", + "count": 1, + "isDefault": false, + "names": [ + "string" + ], + "searchText": "string", + "orderBy": "string", + "orderByAsc": false }, "responses": { "200": { + "headers": {}, "body": { "value": [ { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "isDefault": false, + "properties": null, + "credentials": { + "credentialsType": "AccountKey" + }, + "datastoreType": "AzureBlob", + "accountName": "string", + "containerName": "string", + "endpoint": "core.windows.net", + "protocol": "https" + }, "systemData": { - "createdAt": "2021-03-25T21:00:18.462Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2021-03-25T21:00:18.462Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastores/testDatastore", - "name": "testDatastore", - "type": "Microsoft.MachineLearningServices/workspaces/datastores", - "properties": { - "contents": { - "contentsType": "AzureBlob", - "credentials": { - "credentialsType": "AccountKey" - }, - "accountName": "string", - "containerName": "string", - "endpoint": "core.windows.net", - "protocol": "https" - }, - "hasBeenValidated": true, - "isDefault": true, - "linkedInfo": { - "linkedId": "string", - "linkedResourceName": "string", - "origin": "Synapse" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } } } ], diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json index 2a16cb3d9707..5cc8966d9c97 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json @@ -1,13 +1,14 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "name": "testDatastore" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { "secretsType": "AccountKey", "key": "string" From 873d8598cb7f773e1c2407694a96fe69ddddf931 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:30:05 -0400 Subject: [PATCH 093/211] update EnvironmentVersion examples --- .../EnvironmentVersion/createOrUpdate.json | 134 ++++++++++++------ .../examples/EnvironmentVersion/delete.json | 8 +- .../examples/EnvironmentVersion/get.json | 54 ++++--- .../examples/EnvironmentVersion/list.json | 84 +++++------ 4 files changed, 159 insertions(+), 121 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json index a2d553863e0f..322473ff4f51 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json @@ -1,94 +1,134 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", - "version": "1", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01", "body": { "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" + }, + "isAnonymous": false, + "image": "docker.io/tensorflow/serving:latest", + "condaFile": "string", + "build": { + "contextUri": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "dockerfilePath": "prod/Dockerfile" + }, + "inferenceConfig": { + "livenessRoute": { + "path": "string", + "port": 1 + }, + "readinessRoute": { + "path": "string", + "port": 1 + }, + "scoringRoute": { + "path": "string", + "port": 1 + } } } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" + }, + "isAnonymous": false, + "environmentType": "Curated", + "image": "docker.io/tensorflow/serving:latest", + "condaFile": "string", + "build": { + "contextUri": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "dockerfilePath": "prod/Dockerfile" + }, + "inferenceConfig": { + "livenessRoute": { + "path": "string", + "port": 1 + }, + "readinessRoute": { + "path": "string", + "port": 1 + }, + "scoringRoute": { + "path": "string", + "port": 1 + } } }, "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" + }, + "isAnonymous": false, + "environmentType": "Curated", + "image": "docker.io/tensorflow/serving:latest", + "condaFile": "string", + "build": { + "contextUri": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "dockerfilePath": "prod/Dockerfile" + }, + "inferenceConfig": { + "livenessRoute": { + "path": "string", + "port": 1 + }, + "readinessRoute": { + "path": "string", + "port": 1 + }, + "scoringRoute": { + "path": "string", + "port": 1 + } } }, "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json index 2c3625f89b1d..422f4c2b6233 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testContainer", - "version": "1", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01" }, "responses": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json index 238c8142d5d7..328f3b2f2a53 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json @@ -1,41 +1,55 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", - "version": "1", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" + }, + "isAnonymous": false, + "environmentType": "Curated", + "image": "docker.io/tensorflow/serving:latest", + "condaFile": "string", + "build": { + "contextUri": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "dockerfilePath": "prod/Dockerfile" + }, + "inferenceConfig": { + "livenessRoute": { + "path": "string", + "port": 1 + }, + "readinessRoute": { + "path": "string", + "port": 1 + }, + "scoringRoute": { + "path": "string", + "port": 1 + } } }, "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json index e39d0528f617..21bb96588d73 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json @@ -1,75 +1,59 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "name": "testEnvironment", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "$skipToken": "skiptoken" + "$orderBy": "string", + "$top": 1, + "$skipToken": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" - }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", "description": "string", "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "string": "string" }, "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - } - }, - "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/testEnvironment/versions/1", - "name": "2", - "type": "Microsoft.MachineLearningServices/workspaces/environments/versions", - "properties": { - "environmentSpecificationType": "Curated", - "docker": { - "dockerSpecificationType": "Build", - "dockerfile": "FROM myimage" + "string": "string" }, - "condaFile": "channels:\n- defaults\ndependencies:\n- python=3.7.7\nname: my-env", - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "isAnonymous": false, + "environmentType": "Curated", + "image": "docker.io/tensorflow/serving:latest", + "condaFile": "string", + "build": { + "contextUri": "https://storage-account.blob.core.windows.net/azureml/DockerBuildContext/95ddede6b9b8c4e90472db3acd0a8d28/", + "dockerfilePath": "prod/Dockerfile" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "inferenceConfig": { + "livenessRoute": { + "path": "string", + "port": 1 + }, + "readinessRoute": { + "path": "string", + "port": 1 + }, + "scoringRoute": { + "path": "string", + "port": 1 + } } }, "systemData": { - "createdAt": "2020-12-08T01:15:45.909Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:15:45.909Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } From 89f95e6c792bb7668ef8792ea0de640913c29d14 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:30:25 -0400 Subject: [PATCH 094/211] update Job examples --- .../Job/AutoMLJob/createOrUpdate.json | 495 ----------------- .../examples/Job/AutoMLJob/get.json | 182 ------ .../examples/Job/AutoMLJob/list.json | 189 ------- .../Job/CommandJob/createOrUpdate.json | 294 ++++++---- .../examples/Job/CommandJob/get.json | 126 +++-- .../examples/Job/CommandJob/list.json | 127 +++-- .../Job/PipelineJob/createOrUpdate.json | 524 +++++------------- .../examples/Job/PipelineJob/get.json | 177 ++---- .../examples/Job/PipelineJob/list.json | 177 ++---- .../examples/Job/SweepJob/createOrUpdate.json | 306 +++++----- .../2021-10-01/examples/Job/SweepJob/get.json | 115 ++-- .../examples/Job/SweepJob/list.json | 116 ++-- .../2021-10-01/examples/Job/cancel.json | 8 +- .../2021-10-01/examples/Job/delete.json | 8 +- 14 files changed, 844 insertions(+), 2000 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json deleted file mode 100644 index d08a72a083f0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/createOrUpdate.json +++ /dev/null @@ -1,495 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "id": "string", - "api-version": "2021-10-01", - "body": { - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": { - "string": "string" - }, - "displayName": "string", - "jobType": "AutoML", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] - }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { - "string": { - "Key": "Value" - } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" - }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, - "priority": 1, - "experimentName": "string", - "output": {} - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": { - "string": "string" - }, - "provisioningState": "Succeeded", - "displayName": "string", - "interactionEndpoints": { - "string": { - "jobEndpointType": "string", - "port": 1, - "endpoint": "string", - "properties": { - "string": "string" - } - } - }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] - }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { - "string": { - "Key": "Value" - } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" - }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": { - "string": "string" - }, - "provisioningState": "Succeeded", - "displayName": "string", - "interactionEndpoints": { - "string": { - "jobEndpointType": "string", - "port": 1, - "endpoint": "string", - "properties": { - "string": "string" - } - } - }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] - }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { - "string": { - "Key": "Value" - } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" - }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json deleted file mode 100644 index 3a631ddf92e9..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/get.json +++ /dev/null @@ -1,182 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "id": "string", - "api-version": "2021-10-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": { - "string": "string" - }, - "provisioningState": "Succeeded", - "displayName": "string", - "interactionEndpoints": { - "string": { - "jobEndpointType": "string", - "port": 1, - "endpoint": "string", - "properties": { - "string": "string" - } - } - }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] - }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { - "string": { - "Key": "Value" - } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" - }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json deleted file mode 100644 index ae489d331b01..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/AutoMLJob/list.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "api-version": "2021-10-01", - "$skipToken": "string", - "jobType": "string", - "tag": "string" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": { - "string": "string" - }, - "provisioningState": "Succeeded", - "displayName": "string", - "interactionEndpoints": { - "string": { - "jobEndpointType": "string", - "port": 1, - "endpoint": "string", - "properties": { - "string": "string" - } - } - }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] - }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { - "string": { - "Key": "Value" - } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" - }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json index 676a8673b279..5491ffbc6c6f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -1,177 +1,247 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", "api-version": "2021-10-01", - "id": "testJob", "body": { "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 + "description": "string", + "tags": { + "string": "string" }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" + "properties": { + "string": "string" + }, + "displayName": "string", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } } }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" + "computeId": "string", + "jobType": "Command", + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 + }, + "codeId": "string", + "command": "string", + "environmentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Dataset", + "datasetId": "string", + "mode": "ReadOnlyMount" } }, - "identity": { - "identityType": "AMLToken" + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "ReadWriteMount" + } }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "TensorFlow", + "workerCount": 1, + "parameterServerCount": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "limits": { + "timeout": "PT5M", + "jobLimitsType": "Command" }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "environmentVariables": { + "string": "string" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "identity": { + "identityType": "AMLToken" } } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } } }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" + "computeId": "string", + "jobType": "Command", + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 + }, + "codeId": "string", + "command": "string", + "environmentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Dataset", + "datasetId": "string", + "mode": "ReadOnlyMount" } }, - "identity": { - "identityType": "AMLToken" + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "ReadWriteMount" + } }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "TensorFlow", + "workerCount": 1, + "parameterServerCount": 1 + }, + "limits": { + "timeout": "PT5M", + "jobLimitsType": "Command" }, "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "string": "string" }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "identity": { + "identityType": "AMLToken" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "parameters": { + "string": "string" } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { - "jobType": "Command", - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } } }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" + "computeId": "string", + "jobType": "Command", + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 + }, + "codeId": "string", + "command": "string", + "environmentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Dataset", + "datasetId": "string", + "mode": "ReadOnlyMount" } }, - "identity": { - "identityType": "AMLToken" + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "ReadWriteMount" + } }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "TensorFlow", + "workerCount": 1, + "parameterServerCount": 1 + }, + "limits": { + "timeout": "PT5M", + "jobLimitsType": "Command" }, "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "string": "string" }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "identity": { + "identityType": "AMLToken" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "parameters": { + "string": "string" } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json index f5f723d9066a..fec1375a0ffa 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -1,88 +1,94 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "id": "testJob" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { - "jobType": "Command", - "provisioningState": "Succeeded", - "status": "Running", - "interactionEndpoints": { - "Tracking": { - "jobEndpointType": "Tracking", - "port": null, - "endpoint": "azureml://tracking/endpoint", - "properties": {} - }, - "Studio": { - "jobEndpointType": "Studio", - "port": null, - "endpoint": "https://studio/endpoint", - "properties": {} - } - }, - "output": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", - "path": "path/to/output" + "description": "string", + "tags": { + "string": "string" }, - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 + "properties": { + "string": "string" }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } } }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" + "computeId": "string", + "jobType": "Command", + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 + }, + "codeId": "string", + "command": "string", + "environmentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Dataset", + "datasetId": "string", + "mode": "ReadOnlyMount" } }, - "identity": { - "identityType": "AMLToken" + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "ReadWriteMount" + } }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "TensorFlow", + "workerCount": 1, + "parameterServerCount": 1 + }, + "limits": { + "timeout": "PT5M", + "jobLimitsType": "Command" }, "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "string": "string" }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "identity": { + "identityType": "AMLToken" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "parameters": { + "string": "string" } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json index 4d499104d9d7..474d8378dd3f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -1,91 +1,98 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", "api-version": "2021-10-01", - "jobType": "Command", - "$skipToken": "skiptoken" + "$skipToken": "string", + "jobType": "string", + "tag": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { - "jobType": "Command", - "provisioningState": "Succeeded", - "status": "Running", - "interactionEndpoints": { - "Tracking": { - "jobEndpointType": "Tracking", - "port": null, - "endpoint": "azureml://tracking/endpoint", - "properties": {} - }, - "Studio": { - "jobEndpointType": "Studio", - "port": null, - "endpoint": "https://studio/endpoint", - "properties": {} - } - }, - "output": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/outputdatastore", - "path": "path/to/output" + "description": "string", + "tags": { + "string": "string" }, - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 + "properties": { + "string": "string" }, - "timeout": "PT1M", - "experimentName": "myExperiment", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } } }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" + "computeId": "string", + "jobType": "Command", + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 + }, + "codeId": "string", + "command": "string", + "environmentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Dataset", + "datasetId": "string", + "mode": "ReadOnlyMount" } }, - "identity": { - "identityType": "AMLToken" + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "ReadWriteMount" + } }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "TensorFlow", + "workerCount": 1, + "parameterServerCount": 1 + }, + "limits": { + "timeout": "PT5M", + "jobLimitsType": "Command" }, "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "string": "string" }, - "description": "string", - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "identity": { + "identityType": "AMLToken" }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "parameters": { + "string": "string" } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json index d08a72a083f0..51df8c7a565f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json @@ -15,136 +15,62 @@ "string": "string" }, "displayName": "string", - "jobType": "AutoML", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } } }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] + "computeId": "string", + "jobType": "Pipeline", + "settings": {}, + "componentJobs": { + "string": { + "computeId": "string", + "componentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" + } }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { + "outputs": { "string": { - "Key": "Value" + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" + }, + "overrides": {} + } }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" } }, - "priority": 1, - "experimentName": "string", - "output": {} + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" + } + }, + "bindings": [ + { + "bindingType": "Basic", + "source": "string", + "destination": "string" + } + ] } } }, @@ -163,152 +89,67 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "parentJobName": "string", "displayName": "string", - "interactionEndpoints": { + "status": "NotStarted", + "experimentName": "string", + "services": { "string": { - "jobEndpointType": "string", + "jobServiceType": "string", "port": 1, "endpoint": "string", + "status": "string", + "errorMessage": "string", "properties": { "string": "string" } } }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] + "computeId": "string", + "jobType": "Pipeline", + "settings": {}, + "componentJobs": { + "string": { + "computeId": "string", + "componentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" + } }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { + "outputs": { "string": { - "Key": "Value" + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" + }, + "overrides": {} + } }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" } }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" + } + }, + "bindings": [ + { + "bindingType": "Basic", + "source": "string", + "destination": "string" + } + ] }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", @@ -334,152 +175,67 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "parentJobName": "string", "displayName": "string", - "interactionEndpoints": { + "status": "NotStarted", + "experimentName": "string", + "services": { "string": { - "jobEndpointType": "string", + "jobServiceType": "string", "port": 1, "endpoint": "string", + "status": "string", + "errorMessage": "string", "properties": { "string": "string" } } }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] + "computeId": "string", + "jobType": "Pipeline", + "settings": {}, + "componentJobs": { + "string": { + "computeId": "string", + "componentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" + } }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { + "outputs": { "string": { - "Key": "Value" + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" + }, + "overrides": {} + } }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" } }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" + } + }, + "bindings": [ + { + "bindingType": "Basic", + "source": "string", + "destination": "string" + } + ] }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json index 3a631ddf92e9..c378bdebcb1f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json @@ -21,152 +21,67 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "parentJobName": "string", "displayName": "string", - "interactionEndpoints": { + "status": "NotStarted", + "experimentName": "string", + "services": { "string": { - "jobEndpointType": "string", + "jobServiceType": "string", "port": 1, "endpoint": "string", + "status": "string", + "errorMessage": "string", "properties": { "string": "string" } } }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] + "computeId": "string", + "jobType": "Pipeline", + "settings": {}, + "componentJobs": { + "string": { + "computeId": "string", + "componentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" + } }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { + "outputs": { "string": { - "Key": "Value" + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" + }, + "overrides": {} + } }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" } }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" + } + }, + "bindings": [ + { + "bindingType": "Basic", + "source": "string", + "destination": "string" + } + ] }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json index ae489d331b01..f6cf8eebc18e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json @@ -25,152 +25,67 @@ "properties": { "string": "string" }, - "provisioningState": "Succeeded", + "parentJobName": "string", "displayName": "string", - "interactionEndpoints": { + "status": "NotStarted", + "experimentName": "string", + "services": { "string": { - "jobEndpointType": "string", + "jobServiceType": "string", "port": 1, "endpoint": "string", + "status": "string", + "errorMessage": "string", "properties": { "string": "string" } } }, - "jobType": "AutoML", - "status": "NotStarted", - "generalSettings": { - "primaryMetric": "AUCWeighted", - "enableModelExplainability": false, - "taskType": "Classification", - "logVerbosity": "NotSet" - }, - "limitSettings": { - "trialTimeout": "PT5M", - "maxTrials": 1, - "timeout": "PT5M", - "maxConcurrentTrials": 1, - "maxCoresPerTrial": 1, - "exitScore": 3.14, - "enableEarlyTermination": false - }, - "dataSettings": { - "targetColumnName": "string", - "weightColumnName": "string", - "trainingData": { - "datasetArmId": "string" - }, - "validationData": { - "datasetArmId": "string", - "nCrossValidations": 1, - "validationDataSize": 3.14, - "cvSplitColumnNames": [ - "string" - ] - }, - "testData": { - "datasetArmId": "string", - "testDataSize": 3.14 - } - }, - "featurizationSettings": { - "featurizationConfig": { - "mode": "Auto", - "blockedTransformers": [ - "string" - ], - "columnPurposes": { - "string": "string" - }, - "dropColumns": [ - "string" - ], - "transformerParams": { - "string": [ - { - "fields": [ - "string" - ], - "parameters": { - "string": { - "Key": "Value" - } - } - } - ] + "computeId": "string", + "jobType": "Pipeline", + "settings": {}, + "componentJobs": { + "string": { + "computeId": "string", + "componentId": "string", + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" + } }, - "datasetLanguage": "string" - }, - "enableDnnFeaturization": false - }, - "forecastingSettings": { - "countryOrRegionForHolidays": "string", - "timeColumnName": "string", - "targetLags": { - "mode": "Auto", - "values": [ - 1 - ] - }, - "targetRollingWindowSize": { - "mode": "Auto", - "value": 1 - }, - "forecastHorizon": { - "mode": "Auto", - "value": 1 - }, - "timeSeriesIdColumnNames": [ - "string" - ], - "frequency": "string", - "featureLags": "string", - "seasonality": { - "mode": "Auto", - "value": 1 - }, - "shortSeriesHandlingConfig": "Auto", - "useStl": "Season", - "targetAggregateFunction": "Sum" - }, - "trainingSettings": { - "blockListModels": [ - "string" - ], - "allowListModels": [ - "string" - ], - "enableDnnTraining": false, - "enableOnnxCompatibleModels": false, - "stackEnsembleSettings": { - "stackMetaLearnerType": "None", - "stackMetaLearnerTrainPercentage": 3.14, - "stackMetaLearnerArgs": { + "outputs": { "string": { - "Key": "Value" + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" } - } - }, - "enableStackEnsemble": false, - "enableVoteEnsemble": false, - "ensembleModelDownloadTimeout": "PT5M" + }, + "overrides": {} + } }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" + "inputs": { + "string": { + "description": "string", + "jobInputType": "Literal", + "value": "string" } }, - "priority": 1, - "experimentName": "string", - "output": { - "datastoreId": "string", - "path": "string" - } + "outputs": { + "string": { + "description": "string", + "jobOutputType": "Dataset", + "mode": "Upload" + } + }, + "bindings": [ + { + "bindingType": "Basic", + "source": "string", + "destination": "string" + } + ] }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json index f162a1ff6d9d..3a28ef796cd4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -1,213 +1,235 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", "api-version": "2021-10-01", - "id": "testJob", "body": { "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "displayName": "string", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "properties": { + "string": "string" + } + } + }, + "computeId": "string", "jobType": "Sweep", - "searchSpace": { - "name": {} + "samplingAlgorithm": "Grid", + "limits": { + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trialTimeout": "string" + }, + "earlyTermination": { + "evaluationInterval": 1, + "delayEvaluation": 1, + "policyType": "MedianStopping" }, - "objective": { + "objective":{ "primaryMetric": "string", "goal": "Minimize" }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } + "timeout": "string", + "codeId": "string", + "command": "string", + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "Mpi", + "processCountPerInstance": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 } }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "searchSpace": { + "string": {} } } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } + } + }, + "computeId": "string", "jobType": "Sweep", - "searchSpace": { - "name": {} + "samplingAlgorithm": "Grid", + "limits": { + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trialTimeout": "string" + }, + "earlyTermination": { + "evaluationInterval": 1, + "delayEvaluation": 1, + "policyType": "MedianStopping" }, - "objective": { + "objective":{ "primaryMetric": "string", "goal": "Minimize" }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } + "timeout": "string", + "codeId": "string", + "command": "string", + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "Mpi", + "processCountPerInstance": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 } }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "searchSpace": { + "string": {} } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { "id": "string", "name": "string", "type": "string", "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } + } + }, + "computeId": "string", "jobType": "Sweep", - "searchSpace": { - "name": {} + "samplingAlgorithm": "Grid", + "limits": { + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trialTimeout": "string" + }, + "earlyTermination": { + "evaluationInterval": 1, + "delayEvaluation": 1, + "policyType": "MedianStopping" }, - "objective": { + "objective":{ "primaryMetric": "string", "goal": "Minimize" }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } + "timeout": "string", + "codeId": "string", + "command": "string", + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "Mpi", + "processCountPerInstance": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 } }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "searchSpace": { + "string": {} } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json index 04273efe2284..0b29b858a1ab 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -1,80 +1,89 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "id": "testJob" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } + } + }, + "computeId": "string", "jobType": "Sweep", - "searchSpace": { - "name": {} + "samplingAlgorithm": "Grid", + "limits": { + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trialTimeout": "string" }, - "objective": { + "earlyTermination": { + "evaluationInterval": 1, + "delayEvaluation": 1, + "policyType": "MedianStopping" + }, + "objective":{ "primaryMetric": "string", "goal": "Minimize" }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } + "timeout": "string", + "codeId": "string", + "command": "string", + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "Mpi", + "processCountPerInstance": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 } }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "searchSpace": { + "string": {} } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json index f019f8587a44..ae2099296b79 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -1,83 +1,93 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", "api-version": "2021-10-01", - "jobType": "Sweep", - "$skipToken": "skiptoken" + "$skipToken": "string", + "jobType": "string", + "tag": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/jobs/testJob", - "name": "testJob", - "type": "Microsoft.MachineLearningServices/workspaces/jobs", + "id": "string", + "name": "string", + "type": "string", "properties": { + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "parentJobName": "string", + "displayName": "string", + "status": "NotStarted", + "experimentName": "string", + "services": { + "string": { + "jobServiceType": "string", + "port": 1, + "endpoint": "string", + "status": "string", + "errorMessage": "string", + "properties": { + "string": "string" + } + } + }, + "computeId": "string", "jobType": "Sweep", - "searchSpace": { - "name": {} + "samplingAlgorithm": "Grid", + "limits": { + "maxTotalTrials": 1, + "maxConcurrentTrials": 1, + "trialTimeout": "string" }, - "objective": { + "earlyTermination": { + "evaluationInterval": 1, + "delayEvaluation": 1, + "policyType": "MedianStopping" + }, + "objective":{ "primaryMetric": "string", "goal": "Minimize" }, - "algorithm": "Grid", - "description": "string", - "timeout": "PT1M", - "identity": { - "identityType": "AMLToken" - }, - "compute": { - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/mycompute", - "instanceCount": 1 - }, - "maxTotalTrials": 1, - "maxConcurrentTrials": 1, "trial": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", - "command": "python file.py test", - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", - "timeout": "PT1M", - "inputDataBindings": { - "test": { - "dataId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/data/mydataset/versions/1", - "pathOnCompute": "path/on/compute" - } - }, - "outputDataBindings": { - "test": { - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/datastore/mydatastore", - "pathOnCompute": "path/on/compute" - } + "timeout": "string", + "codeId": "string", + "command": "string", + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "distribution": { - "distributionType": "PyTorch", - "processCount": 2 + "distributionType": "Mpi", + "processCountPerInstance": 1 }, - "environmentVariables": { - "MY_ENV_VAR1": "string", - "MY_ENV_VAR2": "string" + "resources": { + "properties": { + "string": "string" + }, + "resourceConfigurationType": "AmlCompute", + "instanceCount": 1, + "priority": 1 } }, - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "searchSpace": { + "string": {} } }, "systemData": { - "createdAt": "2020-12-08T01:18:36.134Z", + "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-08T01:18:36.134Z", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json index 2822faadf1b3..4578e8c7938d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "id": "testJob" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" }, "responses": { "200": {} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json index cc3f4d719d7b..76a46e4bf653 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "testworkspace", - "api-version": "2021-10-01", - "id": "testJob" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "id": "string", + "api-version": "2021-10-01" }, "responses": { "200": {}, From 9b298262b85f3d551a23dd505ff2aa96732c3782 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:30:43 -0400 Subject: [PATCH 095/211] update ModelVersion examples --- .../examples/ModelVersion/createOrUpdate.json | 108 +++++++++--------- .../examples/ModelVersion/delete.json | 10 +- .../2021-10-01/examples/ModelVersion/get.json | 50 ++++---- .../examples/ModelVersion/list.json | 57 +++++---- 4 files changed, 119 insertions(+), 106 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json index ce09f544891b..907411c30305 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json @@ -1,94 +1,100 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", "api-version": "2021-10-01", - "name": "testContainer", - "version": "1", "body": { "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, "flavors": { - "python_function": { + "string": { "data": { - "loader_module": "myLoaderModule" + "string": "string" } } }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" + "modelFormat": "Custom", + "modelUri": "string" } } }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, "flavors": { - "python_function": { + "string": { "data": { - "loader_module": "myLoaderModule" + "string": "string" } } }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" + "modelFormat": "Custom", + "modelUri": "string" }, "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", "lastModifiedByType": "User" } } }, "201": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/999", - "name": "999", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "description": "string", "tags": { - "tag1": "value1", - "tag2": "value2" + "string": "string" }, "properties": { - "prop1": "value1", - "prop2": "value2" + "string": "string" + }, + "isAnonymous": false, + "flavors": { + "string": { + "data": { + "string": "string" + } + } }, - "path": "LocalUpload/12345/some/path" + "modelFormat": "Custom", + "modelUri": "string" }, "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", "lastModifiedByType": "User" } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json index 51f073615931..422f4c2b6233 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json @@ -1,11 +1,11 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "name": "testContainer", - "version": "999" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json index efa05b79064b..c365bedbc008 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json @@ -1,44 +1,44 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "name": "testContainer", - "version": "1" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", + "version": "string", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, "flavors": { - "python_function": { + "string": { "data": { - "loader_module": "myLoaderModule" + "string": "string" } } }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" + "modelFormat": "Custom", + "modelUri": "string" }, "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", "lastModifiedByType": "User" } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json index c57bf30ca428..4840fabcb6d0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json @@ -1,51 +1,58 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "name": "string", "api-version": "2021-10-01", - "name": "testContainer", - "version": "1" + "$skipToken": "string", + "$orderBy": "string", + "$top": 1, + "version": "string", + "description": "string", + "offset": 1, + "tags": "string", + "properties": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/models/testContainer/versions/1", - "name": "1", - "type": "Microsoft.MachineLearningService/workspaces/models/versions", + "id": "string", + "name": "string", + "type": "string", "properties": { - "description": "Model version description", - "datastoreId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspace123/datastores/datastore123", + "description": "string", + "tags": { + "string": "string" + }, + "properties": { + "string": "string" + }, + "isAnonymous": false, "flavors": { - "python_function": { + "string": { "data": { - "loader_module": "myLoaderModule" + "string": "string" } } }, - "tags": { - "tag1": "value1", - "tag2": "value2" - }, - "properties": { - "prop1": "value1", - "prop2": "value2" - }, - "path": "path/in/datastore" + "modelFormat": "Custom", + "modelUri": "string" }, "systemData": { - "createdAt": "2020-12-01T12:00:00.000Z", - "createdBy": "John Smith", + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", "createdByType": "User", - "lastModifiedAt": "2020-12-01T12:00:00.000Z", - "lastModifiedBy": "John Smith", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", "lastModifiedByType": "User" } } ], - "nextLink": "nextlink" + "nextLink": "string" } } } From c11836b5cc3d48d7b9c5288766b99dbfba632a0b Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:31:01 -0400 Subject: [PATCH 096/211] update OnlineDeployment examples --- .../K8sOnlineDeployment/createOrUpdate.json | 331 ++++++++++-------- .../K8sOnlineDeployment/get.json | 126 ++++--- .../K8sOnlineDeployment/update.json | 178 ++++++---- .../createOrUpdate.json | 327 +++++++++-------- .../ManagedOnlineDeployment/get.json | 127 ++++--- .../ManagedOnlineDeployment/update.json | 180 ++++++---- .../examples/OnlineDeployment/list.json | 173 ++++----- 7 files changed, 773 insertions(+), 669 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json index 9c2268344cac..0f91d0888a56 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json @@ -1,201 +1,230 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "endpointComputeType": "K8S", - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 + "scaleType": "Default" }, "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, + "appInsightsEnabled": false, "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "201": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json index bfdbe95a2c78..427f441b56cc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json @@ -1,75 +1,89 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json index f535c26adc1a..555aec7d885d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json @@ -1,105 +1,137 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 4.0, + "cpuLimit": 4.0, + "memoryInGB": 64.0, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } }, + "tags": {}, + "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto" - } + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json index d726820eee5a..561d4905701d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json @@ -1,197 +1,230 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "instanceType": "string", + "model": "string", + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "endpointComputeType": "Managed", - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 + "scaleType": "Default" }, "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, + "appInsightsEnabled": false, "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - } - }, - "201": { - "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json index 4ce5e0f7a8ff..55a68d5f32cb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json @@ -1,76 +1,89 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json index 7302411bbf27..e87bbad3894c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -1,107 +1,137 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", - "deploymentName": "testDeployment", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } }, + "tags": {}, + "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto" - } + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Managed", + "modelMountPath": "string", + "readinessProbe": { + "failureThreshold": 30, + "successThreshold": 1, + "timeout": "PT2S", + "period": "PT10S", + "initialDelay": "string" + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json index c2acc8ae2e40..3715442cb13a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json @@ -1,140 +1,93 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testEndpoint" + "$orderBy": "string", + "$top": 1, + "$skipToken": "string" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "location": "string", - "kind": "string", - "identity": { - "type": "UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { - "clientId": "string" - } - } - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", + "id": "string", + "name": "string", + "type": "string", "properties": { - "endpointComputeType": "Managed", - "readinessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" }, "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 + "scaleType": "Default" }, "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 }, - "appInsightsEnabled": true, + "appInsightsEnabled": false, "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" - } - }, - { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "K8S", + "containerResourceRequirements": { + "cpu": 3.14, + "cpuLimit": 4.0, + "memoryInGB": 3.14, + "memoryInGBLimit": 64.0, + "gpu": 1, + "fpga": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint/deployments/testDeployment", - "name": "testDeployment", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints/deployments", - "properties": { - "endpointComputeType": "K8S", - "containerResourceRequirements": { - "cpu": 4, - "cpuLimit": 4, - "memoryInGB": 64, - "memoryInGBLimit": 64 - }, - "scaleSettings": { - "pollingInterval": "PT1M", - "scaleType": "Auto", - "targetUtilizationPercentage": 50 - }, - "requestSettings": { - "maxQueueWait": "PT1M", - "requestTimeout": "PT1M", - "maxConcurrentRequestsPerInstance": 5 - }, - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "appInsightsEnabled": true, - "livenessProbe": { - "failureThreshold": 50, - "successThreshold": 50, - "timeout": "PT1M", - "period": "PT1M", - "initialDelay": "PT1M" - }, - "model": { - "referenceType": "Id", - "assetId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/models/model123" - }, - "codeConfiguration": { - "codeId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/code123/versions/1", - "scoringScript": "string" - }, - "environmentId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/env123" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } ], From c340804c71501fdd95f72ef09700aec4b28d0592 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:31:16 -0400 Subject: [PATCH 097/211] update OnlineEndpoint examples --- .../OnlineEndpoint/createOrUpdate.json | 175 ++++++++++-------- .../examples/OnlineEndpoint/delete.json | 8 +- .../examples/OnlineEndpoint/get.json | 71 ++++--- .../examples/OnlineEndpoint/getToken.json | 13 +- .../examples/OnlineEndpoint/list.json | 76 +++++--- .../examples/OnlineEndpoint/listKeys.json | 9 +- .../OnlineEndpoint/regenerateKeys.json | 6 +- .../examples/OnlineEndpoint/update.json | 94 ++++++---- 8 files changed, 263 insertions(+), 189 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json index 63727c7cbc26..129c790cd2a5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json @@ -1,123 +1,146 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "authMode": "AMLToken", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "keys": { - "primaryKey": "string", - "secondaryKey": "string" - }, - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "provisioningState": "Creating", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "201": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "provisioningState": "Creating", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json index 6dea2f9a4bd6..7bae751cd214 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01" }, "responses": { "200": {}, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json index 842817900f1f..8933aab6baaa 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json @@ -1,48 +1,61 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "provisioningState": "Creating", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index 431b2971cfc3..b1a05dea3991 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -1,18 +1,19 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { "accessToken": "string", "tokenType": "string", - "expiryTimeUtc": 0, - "refreshAfterTimeUtc": 0 + "expiryTimeUtc": 1, + "refreshAfterTimeUtc": 1 } } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json index ec0174a4c4e6..1d20d6ed26aa 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json @@ -1,49 +1,69 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "api-version": "2021-10-01", + "$skipToken": "string", + "name": "string", + "count": 1, + "computeType": "Managed", + "tags": "string", + "properties": "string", + "orderBy": "CreatedAtDesc" }, "responses": { "200": { + "headers": {}, "body": { "value": [ { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "provisioningState": "Creating", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } ], diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json index 8c2952b81350..05e73000f707 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json @@ -1,13 +1,14 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", - "api-version": "2021-10-01", - "endpointName": "testEndpoint" + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "api-version": "2021-10-01" }, "responses": { "200": { + "headers": {}, "body": { "primaryKey": "string", "secondaryKey": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json index 1b084db3ee6f..d7df85c7caf6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json @@ -1,10 +1,10 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", "body": { "keyType": "Primary", "keyValue": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json index 0def017c3b19..00b628fc609d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json @@ -1,71 +1,87 @@ { "parameters": { "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg123", - "workspaceName": "workspace123", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", "api-version": "2021-10-01", - "endpointName": "testEndpoint", "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "properties": { + "traffic": { + "string": 1 + } }, + "tags": {}, + "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { "principalId": "string", "clientId": "string" } } }, - "properties": { - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - } + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, "responses": { "200": { + "headers": {}, "body": { - "tags": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "scoringUri": "https://www.contoso.com/example", + "swaggerUri": "https://www.contoso.com/example", + "authMode": "AMLToken", + "provisioningState": "Creating", + "compute": "string", + "allowPublicAccess": false, + "traffic": { + "string": 1 + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" }, + "tags": {}, "location": "string", "kind": "string", "identity": { - "type": "UserAssigned", + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myuseridentity": { + "string": { + "principalId": "string", "clientId": "string" } } }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/onlineEndpoints/testEndpoint", - "name": "testEndpoint", - "type": "Microsoft.MachineLearningServices/workspaces/onlineEndpoints", - "properties": { - "provisioningState": "Creating", - "description": "string", - "properties": { - "additionalProp1": "string", - "additionalProp2": "string", - "additionalProp3": "string" - }, - "traffic": { - "myDeployment1": 0, - "myDeployment2": 1 - }, - "scoringUri": "string", - "swaggerUri": "string", - "target": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/computes/compute123", - "authMode": "AMLToken" + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 } } }, From 7aa3ac17d23700d6de27157e89f86b1c3ac6f660 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:46:58 -0400 Subject: [PATCH 098/211] remove unused example files --- .../createOrUpdate.json | 79 ------------------- .../createOrUpdate.json | 79 ------------------- 2 files changed, 158 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json deleted file mode 100644 index 2fd2ff5c9bd6..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzurePostgreSqlWSqlAdmin/createOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "name": "string", - "api-version": "2021-10-01", - "skipValidation": false, - "body": { - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json deleted file mode 100644 index 2fd2ff5c9bd6..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureSqlDatabaseWSqlAdmin/createOrUpdate.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "name": "string", - "api-version": "2021-10-01", - "skipValidation": false, - "body": { - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "tags": { - "string": "string" - }, - "properties": null, - "credentials": { - "credentialsType": "AccountKey" - }, - "datastoreType": "AzureBlob" - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - } - } - } - } -} From bc104b9a1bc44e945b8aac6aa11c1a2bc6c4d06f Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 09:47:24 -0400 Subject: [PATCH 099/211] prettier --- .../stable/2021-10-01/examples/CodeVersion/list.json | 2 +- .../stable/2021-10-01/examples/ComponentVersion/get.json | 2 +- .../Datastore/AzureBlobWAccountKey/createOrUpdate.json | 2 +- .../Datastore/AzureFileWAccountKey/createOrUpdate.json | 2 +- .../2021-10-01/examples/Job/SweepJob/createOrUpdate.json | 6 +++--- .../stable/2021-10-01/examples/Job/SweepJob/get.json | 2 +- .../stable/2021-10-01/examples/Job/SweepJob/list.json | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json index a38c32b3f4cd..82eb719753cf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json index c7e66bb0ef23..3b4f7c5f3329 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json @@ -38,4 +38,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json index a4714c1ad1f4..1cddfa070e84 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json @@ -15,7 +15,7 @@ "properties": null, "credentials": { "credentialsType": "AccountKey", - "secrets":{ + "secrets": { "secretsType": "AccountKey", "key": "string" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json index 2f04f4153c7b..fad763d9a1f3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json @@ -15,7 +15,7 @@ "properties": null, "credentials": { "credentialsType": "AccountKey", - "secrets":{ + "secrets": { "secretsType": "AccountKey", "key": "string" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json index 3a28ef796cd4..553da3f69d0f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -39,7 +39,7 @@ "delayEvaluation": 1, "policyType": "MedianStopping" }, - "objective":{ + "objective": { "primaryMetric": "string", "goal": "Minimize" }, @@ -114,7 +114,7 @@ "delayEvaluation": 1, "policyType": "MedianStopping" }, - "objective":{ + "objective": { "primaryMetric": "string", "goal": "Minimize" }, @@ -196,7 +196,7 @@ "delayEvaluation": 1, "policyType": "MedianStopping" }, - "objective":{ + "objective": { "primaryMetric": "string", "goal": "Minimize" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json index 0b29b858a1ab..3dd0892abb8d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -50,7 +50,7 @@ "delayEvaluation": 1, "policyType": "MedianStopping" }, - "objective":{ + "objective": { "primaryMetric": "string", "goal": "Minimize" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json index ae2099296b79..e6dd1872359c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -54,7 +54,7 @@ "delayEvaluation": 1, "policyType": "MedianStopping" }, - "objective":{ + "objective": { "primaryMetric": "string", "goal": "Minimize" }, From 9fe04ab84eab6c1a0d788f7365cd2944a2ad219c Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 22:34:42 -0400 Subject: [PATCH 100/211] remove identity until Azure/autorest#4262 is addressed --- .../common-types/resource-management/v2/types.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index a6224050586b..a6e3fc8ac6eb 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -160,13 +160,6 @@ ], "description": "Resource tags." }, - "identity": { - "allOf": [ - { - "$ref": "#/definitions/Identity" - } - ] - }, "sku": { "allOf": [ { From 16992e6166d88ed575b94241a230c6ba99534ea1 Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 15 Aug 2021 23:25:13 -0400 Subject: [PATCH 101/211] add trainingjob to custom-words --- custom-words.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/custom-words.txt b/custom-words.txt index f2bf405c3545..6d6478ed1f3e 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1982,6 +1982,7 @@ trafficmanageranalytics trafficmanagerprofiles trafficmodelid tráfico +trainingjob transcodes transcoding transcriptmoderationresult From d93ae2940a09fe406a10a00b2e164d7785851813 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 10:33:22 -0400 Subject: [PATCH 102/211] add temp TODO to descriptions for R3011 --- .../stable/2021-10-01/mfe.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 525877bb20bc..ae7cc40b0e00 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5237,7 +5237,7 @@ "x-nullable": true }, "fileShareName": { - "description": "File share name.", + "description": "TODO - File share name.", "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -5631,7 +5631,7 @@ "additionalProperties": false }, "Binding": { - "description": "Binding", + "description": "TODO - Binding", "required": [ "bindingType" ], @@ -6987,7 +6987,7 @@ "type": "object", "properties": { "accessToken": { - "description": "Access token.", + "description": "TODO - Access token.", "type": "string", "x-nullable": true }, @@ -7442,7 +7442,7 @@ ] }, "parentJobName": { - "description": "Parent job name.", + "description": "TODO - Parent job name.", "type": "string", "readOnly": true, "x-ms-mutability": [ @@ -7574,7 +7574,7 @@ ], "properties": { "datasetId": { - "description": "Dataset Id.", + "description": "TODO - Dataset Id.", "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -9128,7 +9128,7 @@ "description": "Binding to represent relation between inputs, outputs and parameters", "type": "array", "items": { - "description": "Binding", + "description": "TODO - Binding", "$ref": "#/definitions/Binding" }, "x-ms-mutability": [ @@ -9570,7 +9570,7 @@ "additionalProperties": false }, "SkuScaleTypeTODO": { - "description": "SKU scale type", + "description": "TODO - SKU scale type", "enum": [ "Automatic", "Manual", @@ -9603,7 +9603,7 @@ "additionalProperties": false }, "SkuTier": { - "description": "SKU tier.", + "description": "TODO - SKU tier.", "enum": [ "Free", "Basic", @@ -9905,7 +9905,7 @@ "additionalProperties": false }, "UriReference": { - "description": "UriReference.", + "description": "TODO - UriReference.", "required": [ "path" ], From 48784a69764e3e9ab569ae7dd4479f88341be4e6 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 10:39:02 -0400 Subject: [PATCH 103/211] processsCountPerInstance -> processCountPerInstance --- .../stable/2021-10-01/mfe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index ae7cc40b0e00..50d224a15093 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5370,7 +5370,7 @@ "type": "string", "x-nullable": true }, - "processsCountPerInstance": { + "processCountPerInstance": { "format": "int32", "description": "Indicates number of processes per instance", "type": "integer" From abda03713791c8e23e9f70e39dcfce88ad00a3b0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 10:41:58 -0400 Subject: [PATCH 104/211] defintion -> definition --- .../stable/2021-10-01/mfe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 50d224a15093..9f8adb932805 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -9035,7 +9035,7 @@ "additionalProperties": false }, "PartialSku": { - "description": "Common SKU defintion.", + "description": "Common SKU definition.", "type": "object", "properties": { "capacity": { From 8a45cc6963e9363b7cdc6757f5335915d02f1bfb Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 10:47:53 -0400 Subject: [PATCH 105/211] typo fix in BatchDeployment examples --- .../2021-10-01/examples/BatchDeployment/createOrUpdate.json | 6 +++--- .../stable/2021-10-01/examples/BatchDeployment/get.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/list.json | 2 +- .../stable/2021-10-01/examples/BatchDeployment/update.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json index 583b6041f905..8c7edb91c0f9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json @@ -41,7 +41,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, @@ -107,7 +107,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, @@ -182,7 +182,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json index 0a01c36e9001..3b2595b4451f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json @@ -48,7 +48,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json index 2472edb059ee..87830c5b6f07 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json @@ -52,7 +52,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json index ac7028aef720..1b7233b57186 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json @@ -72,7 +72,7 @@ "referenceType": "Id", "assetId": "string" }, - "processsCountPerInstance": 1, + "processCountPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string" }, From 2068bb064817fa321ba505ecd6b75a35d7e1a59f Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 16:33:28 -0400 Subject: [PATCH 106/211] remove workspaceSkus.json --- .../examples/WorkspaceSku/list.json | 36 -- .../stable/2021-10-01/workspaceSkus.json | 353 ------------------ .../resource-manager/readme.md | 1 - 3 files changed, 390 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json deleted file mode 100644 index a385eae16a23..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceSku/list.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2021-10-01", - "subscriptionId": "{subscription-id}" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "resourceType": "workspaces", - "skus": [ - { - "name": "Basic", - "tier": "Basic", - "capabilities": [ - { - "name": "feature2", - "value": "{\"id\":\"feature2\",\"name\":\"Feature 2\",\"description\":\"Feature 2 is an enabled feature for basic sku\"}" - } - ], - "locationInfo": [ - { - "location": "eastus", - "isSpotRestricted": false - } - ] - } - ] - } - ], - "nextLink": null - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json deleted file mode 100644 index 881a3d9144c0..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json +++ /dev/null @@ -1,353 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Machine Learning Workspaces", - "version": "2021-10-01" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/skus": { - "get": { - "tags": [ - "Skus" - ], - "summary": "Lists all skus with associated features", - "operationId": "WorkspaceSkus_List", - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/ResourceTypeSkuPaginatedResult" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "List Skus": { - "$ref": "./examples/WorkspaceSku/list.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "SkuCapacity": { - "required": [ - "minimum" - ], - "type": "object", - "properties": { - "minimum": { - "format": "int32", - "description": "Gets or sets the minimum.", - "type": "integer" - }, - "maximum": { - "format": "int32", - "description": "Gets or sets the maximum.", - "type": "integer" - }, - "default": { - "format": "int32", - "description": "Gets or sets the default.", - "type": "integer" - }, - "scaleType": { - "description": "Gets or sets the type of the scale.", - "enum": [ - "None", - "Manual", - "Automatic" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuScaleType", - "modelAsString": true - } - } - } - }, - "SkuCost": { - "required": [ - "meterId" - ], - "type": "object", - "properties": { - "meterId": { - "description": "Gets or sets the meter Id.", - "type": "string" - }, - "quantity": { - "format": "int32", - "description": "Gets or sets the quantity.", - "type": "integer" - }, - "extendedUnit": { - "description": "Gets or sets the extended unit.", - "type": "string" - } - } - }, - "SkuCapability": { - "description": "The SKU capability", - "required": [ - "name", - "value" - ], - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the capability name.", - "type": "string" - }, - "value": { - "description": "Gets or sets the capability value.", - "type": "string" - } - } - }, - "SkuZoneDetail": { - "description": "The SKU zone detail.", - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the physical zones.", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Gets or sets the capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuCapability" - } - } - } - }, - "SkuExtendedLocationDetails": { - "description": "The sku extended location details", - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the extended locations", - "type": "array", - "items": { - "type": "string" - } - }, - "capabilities": { - "description": "Gets or sets the capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuCapability" - } - } - } - }, - "SkuLocationInfo": { - "description": "The SKU location info.", - "required": [ - "location" - ], - "type": "object", - "properties": { - "location": { - "description": "Gets or sets the location.", - "type": "string" - }, - "zones": { - "description": "Gets or sets the physical availability zones.", - "type": "array", - "items": { - "type": "string" - } - }, - "zoneDetails": { - "description": "Gets or sets the zone details.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuZoneDetail" - } - }, - "extendedLocations": { - "description": "Gets or sets the extended locations", - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "description": "Gets or sets the type of extended locations", - "enum": [ - "NotSpecified", - "EdgeZone", - "CustomLocation", - "ArcZone" - ], - "type": "string" - }, - "locationDetails": { - "description": "Gets or sets the location details", - "type": "array", - "items": { - "$ref": "#/definitions/SkuExtendedLocationDetails" - } - }, - "isSpotRestricted": { - "description": "Gets or sets the Spot restricted flag.", - "type": "boolean" - } - } - }, - "SkuSetting": { - "required": [ - "name" - ], - "type": "object", - "properties": { - "name": { - "description": "Gets or sets the SKU name.", - "type": "string" - }, - "tier": { - "description": "Gets or sets the SKU tier.", - "type": "string" - }, - "size": { - "description": "Gets or sets the SKU size.", - "type": "string" - }, - "family": { - "description": "Gets or sets the SKU family.", - "type": "string" - }, - "kind": { - "description": "Gets or sets the SKU kind.", - "type": "string" - }, - "requiredQuotaIds": { - "description": "Gets or sets the quota Ids SKU supported.", - "type": "array", - "items": { - "type": "string" - } - }, - "requiredFeatures": { - "description": "Gets or sets the required features.", - "type": "array", - "items": { - "type": "string" - } - }, - "capacity": { - "$ref": "#/definitions/SkuCapacity" - }, - "costs": { - "description": "Gets or sets the SKU costs.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuCost" - } - }, - "capabilities": { - "description": "Gets or sets the SKU capabilities.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuCapability" - } - }, - "locationInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/SkuLocationInfo" - } - }, - "locations": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ResourceTypeSku": { - "description": "The resource type SKU", - "required": [ - "resourceType", - "skus" - ], - "type": "object", - "properties": { - "resourceType": { - "description": "Gets or sets the resource type name.", - "type": "string" - }, - "skus": { - "description": "Gets or sets the SKU settings.", - "type": "array", - "items": { - "$ref": "#/definitions/SkuSetting" - } - } - } - }, - "ResourceTypeSkuPaginatedResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceTypeSku" - } - }, - "continuationToken": { - "type": "string" - }, - "nextLink": { - "type": "string" - } - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow." - } - } -} diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 0219fc3cd12b..28e187d9b9ce 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -39,7 +39,6 @@ input-file: - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json - - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceSkus.json ``` ### Tag: package-2021-07-01 From 8058ab64011e1d125c28123e131100bd9b31986c Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 16:55:32 -0400 Subject: [PATCH 107/211] transfer ownership of ContainerResourceRequirements to mfe --- .../2021-10-01/machineLearningServices.json | 40 ------------------ .../stable/2021-10-01/mfe.json | 42 ++++++++++++++++++- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index ceab1f07ab91..5fbfa523f81c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4515,46 +4515,6 @@ } } }, - "ContainerResourceRequirements": { - "description": "The resource requirements for the container (cpu and memory).", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "cpuLimit": { - "format": "double", - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "memoryInGB": { - "format": "double", - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "memoryInGBLimit": { - "format": "double", - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "gpu": { - "format": "int32", - "description": "The number of GPU cores in the container.", - "type": "integer" - }, - "fpga": { - "format": "int32", - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer" - } - } - }, "ComputeInstanceSshSettings": { "type": "object", "description": "Specifies policy and settings for SSH access.", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 9f8adb932805..912e9d8ca4f3 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7863,6 +7863,46 @@ }, "additionalProperties": false }, + "ContainerResourceRequirements": { + "description": "The resource requirements for the container (cpu and memory).", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4 + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64 + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer" + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer" + } + } + }, "K8sOnlineDeployment": { "description": "Properties specific to a K8sOnlineDeployment.", "type": "object", @@ -7874,7 +7914,7 @@ "properties": { "containerResourceRequirements": { "description": "The resource requirements for the container (cpu and memory).", - "$ref": "machineLearningServices.json#/definitions/ContainerResourceRequirements", + "$ref": "#/definitions/ContainerResourceRequirements", "x-nullable": true } }, From 4e65cc817690d2bbb5d6fdba34ec6e6bfc51895f Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 17:03:43 -0400 Subject: [PATCH 108/211] remove unused ServicePrincipalCredentials definition --- .../2021-10-01/machineLearningServices.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 5fbfa523f81c..aafddee543ba 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3779,24 +3779,6 @@ ], "x-ms-discriminator-value": "SynapseSpark" }, - "ServicePrincipalCredentials": { - "type": "object", - "description": "Service principal credentials.", - "properties": { - "clientId": { - "description": "Client Id", - "type": "string" - }, - "clientSecret": { - "description": "Client secret", - "type": "string" - } - }, - "required": [ - "clientId", - "clientSecret" - ] - }, "SystemService": { "type": "object", "description": "A system service running on a compute.", From ced11a7f0f67b1c7c568b2f4dff277b95616eb72 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 17:07:24 -0400 Subject: [PATCH 109/211] implement fix as suggested by Azure/autorest#4262 --- .../stable/2021-10-01/machineLearningServices.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index aafddee543ba..4212ead4d910 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2004,7 +2004,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/MachineLearningIdentity", "description": "The identity of the resource." }, "location": { @@ -2185,7 +2185,7 @@ "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/MachineLearningIdentity", "description": "The identity of the resource." }, "properties": { @@ -2872,7 +2872,8 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "Identity": { + "MachineLearningIdentity": { + "x-ms-client-name": "Identity", "properties": { "principalId": { "readOnly": true, @@ -3080,7 +3081,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/MachineLearningIdentity", "description": "The identity of the resource." }, "location": { @@ -4216,7 +4217,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/MachineLearningIdentity", "description": "The identity of the resource." }, "location": { @@ -4348,7 +4349,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/MachineLearningIdentity", "description": "The identity of the resource." }, "location": { From bf75519780a62cd35267b9c314f67c52d93609aa Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 17:21:26 -0400 Subject: [PATCH 110/211] reorder and redefine ContainerResourceRequirements --- .../stable/2021-10-01/mfe.json | 87 ++++++++++--------- 1 file changed, 47 insertions(+), 40 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 912e9d8ca4f3..bfbfc72e9b9a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6405,6 +6405,53 @@ }, "additionalProperties": false }, + "ContainerResourceRequirements": { + "description": "Resource requirements for each container instance within an online deployment.", + "type": "object", + "properties": { + "cpu": { + "format": "double", + "description": "The minimum amount of CPU cores to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "default": 0.1, + "type": "number", + "example": 4 + }, + "cpuLimit": { + "format": "double", + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 4, + "x-nullable": true + }, + "fpga": { + "format": "int32", + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", + "type": "integer", + "x-nullable": true + }, + "gpu": { + "format": "int32", + "description": "The number of GPU cores in the container.", + "type": "integer", + "x-nullable": true + }, + "memoryInGB": { + "format": "double", + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "default": 0.5, + "type": "number", + "example": 64 + }, + "memoryInGBLimit": { + "format": "double", + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "number", + "example": 64, + "x-nullable": true + } + }, + "additionalProperties": false + }, "ContainerType": { "enum": [ "StorageInitializer", @@ -7863,46 +7910,6 @@ }, "additionalProperties": false }, - "ContainerResourceRequirements": { - "description": "The resource requirements for the container (cpu and memory).", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "cpuLimit": { - "format": "double", - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4 - }, - "memoryInGB": { - "format": "double", - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "memoryInGBLimit": { - "format": "double", - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64 - }, - "gpu": { - "format": "int32", - "description": "The number of GPU cores in the container.", - "type": "integer" - }, - "fpga": { - "format": "int32", - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer" - } - } - }, "K8sOnlineDeployment": { "description": "Properties specific to a K8sOnlineDeployment.", "type": "object", From 7d80193e421e15f3b0acf8627ac144ee5efb0d53 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 17:22:24 -0400 Subject: [PATCH 111/211] Revert "remove identity until Azure/autorest#4262 is addressed" This reverts commit 9fe04ab84eab6c1a0d788f7365cd2944a2ad219c. --- .../common-types/resource-management/v2/types.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/common-types/resource-management/v2/types.json b/specification/common-types/resource-management/v2/types.json index a6e3fc8ac6eb..a6224050586b 100644 --- a/specification/common-types/resource-management/v2/types.json +++ b/specification/common-types/resource-management/v2/types.json @@ -160,6 +160,13 @@ ], "description": "Resource tags." }, + "identity": { + "allOf": [ + { + "$ref": "#/definitions/Identity" + } + ] + }, "sku": { "allOf": [ { From a252d092926964d709021608e5e775a1b8b32ae9 Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 16 Aug 2021 18:01:33 -0400 Subject: [PATCH 112/211] change various Sku definition names back, now that workspaceSkus.json is removed --- .../stable/2021-10-01/mfe.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index bfbfc72e9b9a..f290ae44e87e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6892,12 +6892,12 @@ }, "sku": { "description": "Gets or sets the Sku.", - "$ref": "#/definitions/SkuSettingTODO", + "$ref": "#/definitions/SkuSetting", "x-nullable": true }, "skuCapacity": { "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacityTODO", + "$ref": "#/definitions/SkuCapacity", "x-nullable": true } }, @@ -9590,7 +9590,7 @@ "x-ms-discriminator-value": "ServicePrincipal", "additionalProperties": false }, - "SkuCapacityTODO": { + "SkuCapacity": { "description": "SKU capacity information", "type": "object", "properties": { @@ -9611,12 +9611,12 @@ }, "scaleType": { "description": "Gets or sets the type of the scale.", - "$ref": "#/definitions/SkuScaleTypeTODO" + "$ref": "#/definitions/SkuScaleType" } }, "additionalProperties": false }, - "SkuScaleTypeTODO": { + "SkuScaleType": { "description": "TODO - SKU scale type", "enum": [ "Automatic", @@ -9625,13 +9625,13 @@ ], "type": "string", "x-ms-enum": { - "name": "SkuScaleTypeTODO", + "name": "SkuScaleType", "modelAsString": true }, "additionalProperties": false }, - "SkuSettingTODO": { - "description": "SkuSettingTODO fulfills the need for stripped down SKU info in ARM contract.", + "SkuSetting": { + "description": "SkuSetting fulfills the need for stripped down SKU info in ARM contract.", "required": [ "name" ], From f6ae9f0a31d3d03c4326075235c2866e86a4e5d3 Mon Sep 17 00:00:00 2001 From: Colin MacGinnitie Date: Tue, 17 Aug 2021 09:03:39 -0700 Subject: [PATCH 113/211] add compute propertyBag --- .../stable/2021-10-01/machineLearningServices.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 4212ead4d910..a59ffb47ac5f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3172,6 +3172,11 @@ "disableLocalAuth": { "type": "boolean", "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." + }, + "propertyBag": { + "type": "object", + "additionalProperties": true, + "description": "A property bag containing additional properties." } }, "required": [ From 62b4e662ce9135793747aff4ce02cb21c9b6a543 Mon Sep 17 00:00:00 2001 From: Colin MacGinnitie Date: Tue, 17 Aug 2021 09:21:53 -0700 Subject: [PATCH 114/211] Explicit additional properties type is required --- .../stable/2021-10-01/machineLearningServices.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index a59ffb47ac5f..103b70805a41 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3175,7 +3175,9 @@ }, "propertyBag": { "type": "object", - "additionalProperties": true, + "additionalProperties": { + "type": "string" + }, "description": "A property bag containing additional properties." } }, From 287bd98d573b486536a177ff4fe592f826e18853 Mon Sep 17 00:00:00 2001 From: Colin MacGinnitie Date: Tue, 17 Aug 2021 09:25:51 -0700 Subject: [PATCH 115/211] empty schema --- .../stable/2021-10-01/machineLearningServices.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 103b70805a41..dc392904ba90 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3175,9 +3175,7 @@ }, "propertyBag": { "type": "object", - "additionalProperties": { - "type": "string" - }, + "additionalProperties": {}, "description": "A property bag containing additional properties." } }, From 326e72400058709b0b15eb7ed4b3a02ee6816498 Mon Sep 17 00:00:00 2001 From: Colin MacGinnitie Date: Tue, 17 Aug 2021 11:51:36 -0700 Subject: [PATCH 116/211] move propertybag from compute to amlcompute only --- .../stable/2021-10-01/machineLearningServices.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index dc392904ba90..23fed23ddbf6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3172,11 +3172,6 @@ "disableLocalAuth": { "type": "boolean", "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." - }, - "propertyBag": { - "type": "object", - "additionalProperties": {}, - "description": "A property bag containing additional properties." } }, "required": [ @@ -3455,6 +3450,11 @@ "default": true, "title": "Enable node public IP.", "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + }, + "propertyBag": { + "type": "object", + "additionalProperties": {}, + "description": "A property bag containing additional properties." } } }, From d18ee4f4668d4d783c5b23182c3a7fa76663b7a5 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 10:09:35 -0400 Subject: [PATCH 117/211] update SkuTier to match common-types definition --- .../stable/2021-10-01/mfe.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index f290ae44e87e..c2f7c794df6a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -9650,7 +9650,7 @@ "additionalProperties": false }, "SkuTier": { - "description": "TODO - SKU tier.", + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", "enum": [ "Free", "Basic", @@ -9660,7 +9660,7 @@ "type": "string", "x-ms-enum": { "name": "SkuTier", - "modelAsString": true + "modelAsString": false }, "additionalProperties": false }, From b72eb6c3fe8dc2eef7eeaa2e2a32aaf7a841e6b0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 12:41:49 -0400 Subject: [PATCH 118/211] move to verbatim definition of Sku, as suggested by Azure/autorest#4262 --- .../stable/2021-10-01/mfe.json | 40 ++++++++++++++++--- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index c2f7c794df6a..39d2aef270c4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5420,7 +5420,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -5552,7 +5552,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -8380,7 +8380,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -8524,7 +8524,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -9590,6 +9590,35 @@ "x-ms-discriminator-value": "ServicePrincipal", "additionalProperties": false }, + "Sku": { + "description": "The resource model definition representing SKU", + "required": [ + "name" + ], + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", + "type": "string" + }, + "tier": { + "$ref": "#/definitions/SkuTier" + } + } + }, "SkuCapacity": { "description": "SKU capacity information", "type": "object", @@ -9661,8 +9690,7 @@ "x-ms-enum": { "name": "SkuTier", "modelAsString": false - }, - "additionalProperties": false + } }, "SweepJob": { "description": "Sweep job definition.", From 19cec3e2c4b330f83692119b7a26d9de7eb71cb1 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 12:42:37 -0400 Subject: [PATCH 119/211] migrate mls to use mfe.json Sku (which is verbatim copy of common-types) --- .../stable/2021-10-01/machineLearningServices.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 23fed23ddbf6..5fbdd3765084 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2019,7 +2019,7 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "mfe.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -2181,7 +2181,7 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "mfe.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { @@ -3096,7 +3096,7 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "mfe.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4237,7 +4237,7 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "mfe.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4369,7 +4369,7 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Sku", + "$ref": "mfe.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { From d05e9f764394317af2070b94c7da515ae2642138 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 12:49:14 -0400 Subject: [PATCH 120/211] Revert "implement fix as suggested by Azure/autorest#4262" This reverts commit ced11a7f0f67b1c7c568b2f4dff277b95616eb72. --- .../stable/2021-10-01/machineLearningServices.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 5fbdd3765084..3c489a2441ee 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2004,7 +2004,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/MachineLearningIdentity", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -2185,7 +2185,7 @@ "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/MachineLearningIdentity", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "properties": { @@ -2872,8 +2872,7 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "MachineLearningIdentity": { - "x-ms-client-name": "Identity", + "Identity": { "properties": { "principalId": { "readOnly": true, @@ -3081,7 +3080,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/MachineLearningIdentity", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -4222,7 +4221,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/MachineLearningIdentity", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -4354,7 +4353,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/MachineLearningIdentity", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { From b1ec2e8c19ad5e8c63b53f09ee05583f5a7fdcdc Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 14:47:44 -0400 Subject: [PATCH 121/211] add + reference types' Sku/SkuTier --- .../2021-10-01/machineLearningServices.json | 10 ++-- .../stable/2021-10-01/mfe.json | 55 ++----------------- .../stable/2021-10-01/types.json | 52 ++++++++++++++++++ .../resource-manager/readme.md | 1 + 4 files changed, 64 insertions(+), 54 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 3c489a2441ee..3035a921b0e5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2019,7 +2019,7 @@ } }, "sku": { - "$ref": "mfe.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -2181,7 +2181,7 @@ } }, "sku": { - "$ref": "mfe.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { @@ -3095,7 +3095,7 @@ } }, "sku": { - "$ref": "mfe.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4236,7 +4236,7 @@ } }, "sku": { - "$ref": "mfe.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { @@ -4368,7 +4368,7 @@ } }, "sku": { - "$ref": "mfe.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 39d2aef270c4..797b97a8c66b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5420,7 +5420,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -5552,7 +5552,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -8380,7 +8380,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -8524,7 +8524,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "x-nullable": true }, "systemData": { @@ -9104,7 +9104,7 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "#/definitions/SkuTier" + "$ref": "types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9590,35 +9590,6 @@ "x-ms-discriminator-value": "ServicePrincipal", "additionalProperties": false }, - "Sku": { - "description": "The resource model definition representing SKU", - "required": [ - "name" - ], - "type": "object", - "properties": { - "capacity": { - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "type": "integer" - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "$ref": "#/definitions/SkuTier" - } - } - }, "SkuCapacity": { "description": "SKU capacity information", "type": "object", @@ -9673,25 +9644,11 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "#/definitions/SkuTier" + "$ref": "types.json#/definitions/SkuTier" } }, "additionalProperties": false }, - "SkuTier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - } - }, "SweepJob": { "description": "Sweep job definition.", "required": [ diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json new file mode 100644 index 000000000000..65b4d747ce59 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json @@ -0,0 +1,52 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-10-01" + }, + "definitions": { + "Sku": { + "description": "The resource model definition representing SKU", + "required": [ + "name" + ], + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", + "type": "string" + }, + "tier": { + "$ref": "#/definitions/SkuTier" + } + } + }, + "SkuTier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": false + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 28e187d9b9ce..279aaa095a07 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -36,6 +36,7 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10-01' input-file: + - Microsoft.MachineLearningServices/stable/2021-10-01/types.json - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json From d4f90f28965806d66ecdbe5dbf529d1a1b6625c3 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 15:04:17 -0400 Subject: [PATCH 122/211] add missing required properties 'path' to types.json --- .../stable/2021-10-01/types.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json index 65b4d747ce59..b09dc0f8987a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json @@ -4,6 +4,7 @@ "title": "Azure Machine Learning Workspaces", "version": "2021-10-01" }, + "paths": {}, "definitions": { "Sku": { "description": "The resource model definition representing SKU", From fac48167af1f2cbfc08ca5cea52c14258b7ecb16 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 18 Aug 2021 15:14:09 -0400 Subject: [PATCH 123/211] add required securityDefinitions --- .../stable/2021-10-01/types.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json index b09dc0f8987a..e66c77899eb2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json @@ -49,5 +49,16 @@ "modelAsString": false } } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } } } From e4be1b93b73e5b921a08a2f56484f5adf2ed8c0a Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Sep 2021 21:03:11 -0400 Subject: [PATCH 124/211] update mfe.json with latest changes --- .../stable/2021-10-01/mfe.json | 843 +++++++++++++----- 1 file changed, 610 insertions(+), 233 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 797b97a8c66b..550b94c46d1f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -72,7 +72,7 @@ "tags": [ "BatchEndpoint" ], - "summary": "Delete Batch Inference Endpoint.", + "summary": "Delete Batch Inference Endpoint (asynchronous).", "operationId": "BatchEndpoints_Delete", "produces": [ "application/json" @@ -108,6 +108,27 @@ "200": { "description": "Success" }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, "204": { "description": "No Content" } @@ -116,6 +137,10 @@ "Delete Batch Endpoint.": { "$ref": "./examples/BatchEndpoint/delete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "get": { @@ -172,7 +197,7 @@ "tags": [ "BatchEndpoint" ], - "summary": "Update a batch inference endpoint.", + "summary": "Update a batch inference endpoint (asynchronous).", "operationId": "BatchEndpoints_Update", "consumes": [ "application/json" @@ -223,19 +248,44 @@ "schema": { "$ref": "#/definitions/BatchEndpointTrackedResource" } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } } }, "x-ms-examples": { "Update Batch Endpoint.": { "$ref": "./examples/BatchEndpoint/update.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "put": { "tags": [ "BatchEndpoint" ], - "summary": "Creates a batch inference endpoint.", + "summary": "Creates a batch inference endpoint (asynchronous).", "operationId": "BatchEndpoints_CreateOrUpdate", "consumes": [ "application/json" @@ -291,6 +341,17 @@ "description": "Created", "schema": { "$ref": "#/definitions/BatchEndpointTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } } } }, @@ -298,6 +359,10 @@ "CreateOrUpdate Batch Endpoint.": { "$ref": "./examples/BatchEndpoint/createOrUpdate.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } } }, @@ -377,7 +442,7 @@ "tags": [ "BatchDeployment" ], - "summary": "Delete Batch Inference deployment.", + "summary": "Delete Batch Inference deployment (asynchronous).", "operationId": "BatchDeployments_Delete", "produces": [ "application/json" @@ -417,6 +482,27 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } + }, "200": { "description": "Success" }, @@ -428,6 +514,10 @@ "Delete Batch Deployment.": { "$ref": "./examples/BatchDeployment/delete.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "get": { @@ -491,7 +581,7 @@ "tags": [ "BatchDeployment" ], - "summary": "Update a batch inference deployment.", + "summary": "Update a batch inference deployment (asynchronous).", "operationId": "BatchDeployments_Update", "consumes": [ "application/json" @@ -550,19 +640,44 @@ "schema": { "$ref": "#/definitions/BatchDeploymentTrackedResource" } + }, + "202": { + "description": "Accepted", + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Location": { + "description": "URI to poll for asynchronous operation result.", + "type": "string" + }, + "Retry-After": { + "description": "Duration the client should wait between requests, in seconds.", + "type": "integer", + "format": "int32", + "maximum": 600, + "minimum": 10 + } + } } }, "x-ms-examples": { "Update Batch Deployment.": { "$ref": "./examples/BatchDeployment/update.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" } }, "put": { "tags": [ "BatchDeployment" ], - "summary": "Creates/updates a batch inference deployment.", + "summary": "Creates/updates a batch inference deployment (asynchronous).", "operationId": "BatchDeployments_CreateOrUpdate", "consumes": [ "application/json" @@ -626,6 +741,17 @@ "description": "Created", "schema": { "$ref": "#/definitions/BatchDeploymentTrackedResource" + }, + "headers": { + "x-ms-async-operation-timeout": { + "description": "Timeout for the client to use when polling the asynchronous operation.", + "type": "string", + "format": "duration" + }, + "Azure-AsyncOperation": { + "description": "URI to poll for asynchronous operation status.", + "type": "string" + } } } }, @@ -633,6 +759,10 @@ "CreateOrUpdate Batch Deployment.": { "$ref": "./examples/BatchDeployment/createOrUpdate.json" } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" } } }, @@ -3590,6 +3720,12 @@ "description": "Comma-separated list of property names (and optionally values). Example: prop1,prop2=value2", "type": "string" }, + { + "in": "query", + "name": "feed", + "description": "Name of the feed.", + "type": "string" + }, { "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, @@ -3850,7 +3986,7 @@ "type": "string", "enum": [ "Managed", - "K8S", + "Kubernetes", "AzureMLCompute" ], "x-ms-enum": { @@ -5006,30 +5142,6 @@ "x-ms-discriminator-value": "AccountKey", "additionalProperties": false }, - "AmlComputeConfiguration": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceConfigurationBase" - } - ], - "properties": { - "instanceCount": { - "format": "int32", - "description": "Number of instances or nodes.", - "type": "integer", - "x-nullable": true - }, - "priority": { - "format": "int32", - "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list.", - "type": "integer", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "AmlCompute", - "additionalProperties": false - }, "AmlToken": { "description": "AML Token identity configuration.", "type": "object", @@ -5106,6 +5218,14 @@ "read" ], "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] } }, "x-ms-discriminator-value": "AzureBlob", @@ -5124,6 +5244,14 @@ } ], "properties": { + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] + }, "storeName": { "description": "Azure Data Lake store name.", "pattern": "[a-zA-Z0-9_]", @@ -5198,6 +5326,14 @@ "read" ], "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] } }, "x-ms-discriminator-value": "AzureDataLakeGen2", @@ -5254,6 +5390,14 @@ "read" ], "x-nullable": true + }, + "serviceDataAccessAuthIdentity": { + "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "$ref": "#/definitions/ServiceDataAccessAuthIdentity", + "x-ms-mutability": [ + "create", + "read" + ] } }, "x-ms-discriminator-value": "AzureFile", @@ -5271,11 +5415,13 @@ "slackAmount": { "format": "float", "description": "Absolute distance allowed from the best performing run.", + "default": 0, "type": "number" }, "slackFactor": { "format": "float", "description": "Ratio of the allowed distance from the best performing run.", + "default": 0, "type": "number" } }, @@ -5317,8 +5463,8 @@ "x-nullable": true }, "compute": { - "description": "Configuration for compute binding.", - "$ref": "#/definitions/ComputeConfiguration", + "description": "Compute target for batch inference operation.", + "type": "string", "x-nullable": true }, "description": { @@ -5350,6 +5496,12 @@ "description": "Logging level for batch inference operation.", "$ref": "#/definitions/BatchLoggingLevel" }, + "maxConcurrencyPerInstance": { + "format": "int32", + "description": "Indicates maximum number of parallelism per instance.", + "type": "integer", + "x-nullable": true + }, "miniBatchSize": { "format": "int64", "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", @@ -5367,14 +5519,10 @@ }, "outputFileName": { "description": "Customized output file name for append_row output action.", + "default": "predictions.csv", "type": "string", "x-nullable": true }, - "processCountPerInstance": { - "format": "int32", - "description": "Indicates number of processes per instance", - "type": "integer" - }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", @@ -5384,6 +5532,19 @@ }, "x-nullable": true }, + "provisioningState": { + "description": "Provisioning state for the endpoint deployment.", + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, + "resources": { + "description": "Indicates compute configuration for the job.", + "$ref": "#/definitions/ResourceConfiguration", + "x-nullable": true + }, "retrySettings": { "description": "Retry Settings for the batch inference operation.", "$ref": "#/definitions/BatchRetrySettings", @@ -5489,6 +5650,14 @@ }, "x-nullable": true }, + "provisioningState": { + "description": "Provisioning state for the endpoint.", + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] + }, "scoringUri": { "format": "uri", "description": "Endpoint URI.", @@ -5619,6 +5788,7 @@ "maxRetries": { "format": "int32", "description": "Maximum retry count for a mini-batch", + "default": 3, "type": "integer" }, "timeout": { @@ -5631,7 +5801,7 @@ "additionalProperties": false }, "Binding": { - "description": "TODO - Binding", + "description": "Binding Inputs/Outputs to ComponentJob Inputs/Outputs etc", "required": [ "bindingType" ], @@ -5796,6 +5966,15 @@ "type": "string", "x-nullable": true }, + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, "nextVersion": { "description": "The next auto incremental version", "type": "string", @@ -5889,6 +6068,7 @@ }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", + "default": false, "type": "boolean", "x-ms-mutability": [ "create", @@ -6084,7 +6264,7 @@ }, "resources": { "description": "Compute Resource configuration for the job.", - "$ref": "#/definitions/ResourceConfigurationBase", + "$ref": "#/definitions/ResourceConfiguration", "x-ms-mutability": [ "create", "read" @@ -6122,6 +6302,24 @@ "type": "string", "x-nullable": true }, + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, "properties": { "description": "The asset property dictionary.", "type": "object", @@ -6271,6 +6469,7 @@ }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", + "default": false, "type": "boolean", "x-ms-mutability": [ "create", @@ -6344,109 +6543,42 @@ }, "additionalProperties": false }, - "ComputeConfiguration": { - "description": "Configuration for compute binding.", + "ContainerResourceRequirements": { + "description": "Resource requirements for each container instance within an online deployment.", "type": "object", "properties": { - "instanceCount": { - "format": "int32", - "description": "Number of instances or nodes.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ], + "containerResourceLimits": { + "description": "Container resource limit info:", + "$ref": "#/definitions/ContainerResourceSettings", "x-nullable": true }, - "instanceType": { - "description": "SKU type to run on.", + "containerResourceRequests": { + "description": "Container resource request info:", + "$ref": "#/definitions/ContainerResourceSettings", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "ContainerResourceSettings": { + "type": "object", + "properties": { + "cpu": { + "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], + "example": "\"1\"", "x-nullable": true }, - "isLocal": { - "description": "Set to true for jobs running on local compute.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] + "gpu": { + "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "\"1\"", + "x-nullable": true }, - "location": { - "description": "Location for virtual cluster run.", + "memory": { + "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "Additional properties.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "target": { - "description": "ARM resource ID of the compute resource.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ContainerResourceRequirements": { - "description": "Resource requirements for each container instance within an online deployment.", - "type": "object", - "properties": { - "cpu": { - "format": "double", - "description": "The minimum amount of CPU cores to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "default": 0.1, - "type": "number", - "example": 4 - }, - "cpuLimit": { - "format": "double", - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4, - "x-nullable": true - }, - "fpga": { - "format": "int32", - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer", - "x-nullable": true - }, - "gpu": { - "format": "int32", - "description": "The number of GPU cores in the container.", - "type": "integer", - "x-nullable": true - }, - "memoryInGB": { - "format": "double", - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "default": 0.5, - "type": "number", - "example": 64 - }, - "memoryInGBLimit": { - "format": "double", - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64, + "example": "\"2Gi\"", "x-nullable": true } }, @@ -6512,6 +6644,15 @@ "type": "string", "x-nullable": true }, + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, "nextVersion": { "description": "The next auto incremental version", "type": "string", @@ -6602,6 +6743,7 @@ }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", + "default": false, "type": "boolean", "x-ms-mutability": [ "create", @@ -6884,21 +7026,24 @@ "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", "type": "object", "properties": { + "capacity": { + "description": "Gets or sets the Sku Capacity.", + "$ref": "#/definitions/SkuCapacity", + "x-nullable": true + }, "resourceType": { "description": "Gets or sets the resource type name.", "type": "string", "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true }, "sku": { "description": "Gets or sets the Sku.", "$ref": "#/definitions/SkuSetting", "x-nullable": true - }, - "skuCapacity": { - "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacity", - "x-nullable": true } }, "additionalProperties": false @@ -6963,11 +7108,13 @@ "delayEvaluation": { "format": "int32", "description": "Number of intervals by which to delay the first evaluation.", + "default": 0, "type": "integer" }, "evaluationInterval": { "format": "int32", "description": "Interval (number of runs) between policy evaluations.", + "default": 0, "type": "integer" }, "policyType": { @@ -7034,18 +7181,20 @@ "type": "object", "properties": { "accessToken": { - "description": "TODO - Access token.", + "description": "Access token for endpoint authentication.", "type": "string", "x-nullable": true }, "expiryTimeUtc": { "format": "int64", "description": "Access token expiry time (UTC).", + "default": 0, "type": "integer" }, "refreshAfterTimeUtc": { "format": "int64", "description": "Refresh access token after time (UTC).", + "default": 0, "type": "integer" }, "tokenType": { @@ -7060,7 +7209,7 @@ "description": "Enum to determine endpoint compute type.", "enum": [ "Managed", - "K8S", + "Kubernetes", "AzureMLCompute" ], "type": "string", @@ -7096,6 +7245,15 @@ "type": "string", "x-nullable": true }, + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, "nextVersion": { "description": "The next auto incremental version", "type": "string", @@ -7237,6 +7395,7 @@ }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", + "default": false, "type": "boolean", "x-ms-mutability": [ "create", @@ -7621,7 +7780,7 @@ ], "properties": { "datasetId": { - "description": "TODO - Dataset Id.", + "description": "Dataset ARM Id for the input", "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ @@ -7925,7 +8084,7 @@ "x-nullable": true } }, - "x-ms-discriminator-value": "K8S", + "x-ms-discriminator-value": "Kubernetes", "additionalProperties": false }, "KeyType": { @@ -7991,11 +8150,6 @@ } ], "properties": { - "modelMountPath": { - "description": "The path to mount the model in custom container.", - "type": "string", - "x-nullable": true - }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", "$ref": "#/definitions/ProbeSettings", @@ -8020,8 +8174,26 @@ "type": "object", "properties": { "description": { - "description": "The asset description text.", + "description": "The model container description text.", + "type": "string", + "x-nullable": true + }, + "latestVersion": { + "description": "The latest version inside this container.", "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true }, "properties": { @@ -8129,12 +8301,18 @@ }, "isAnonymous": { "description": "If the name version are system generated (anonymous registration).", + "default": false, "type": "boolean", "x-ms-mutability": [ "create", "read" ] }, + "jobName": { + "description": "Name of the training job which produced this model", + "type": "string", + "x-nullable": true + }, "modelFormat": { "description": "The storage format for this entity. Used for NCD.", "$ref": "#/definitions/ModelFormat" @@ -8273,6 +8451,7 @@ "properties": { "appInsightsEnabled": { "description": "If true, enables Application Insights logging.", + "default": false, "type": "boolean" }, "codeConfiguration": { @@ -8322,6 +8501,11 @@ "type": "string", "x-nullable": true }, + "modelMountPath": { + "description": "The path to mount the model in custom container.", + "type": "string", + "x-nullable": true + }, "properties": { "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", @@ -8422,6 +8606,7 @@ "properties": { "allowPublicAccess": { "description": "Set to true for endpoints that should allow public access when Private Link is enabled.", + "default": true, "type": "boolean" }, "authMode": { @@ -8659,14 +8844,102 @@ "x-ms-discriminator-value": "OutputPath", "additionalProperties": false }, + "PartialAssetReferenceBase": { + "description": "Base definition for asset references.", + "required": [ + "referenceType" + ], + "type": "object", + "properties": { + "referenceType": { + "description": "Specifies the type of asset reference.", + "$ref": "#/definitions/ReferenceType" + } + }, + "discriminator": "referenceType" + }, "PartialBatchDeployment": { "description": "Mutable batch inference settings per deployment.", "type": "object", "properties": { + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/PartialCodeConfiguration", + "x-nullable": true + }, + "compute": { + "description": "Compute binding definition.", + "type": "string", + "x-nullable": true + }, "description": { "description": "Description of the endpoint deployment.", "type": "string", "x-nullable": true + }, + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", + "type": "string", + "x-nullable": true + }, + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "errorThreshold": { + "format": "int32", + "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", + "type": "integer", + "x-nullable": true + }, + "loggingLevel": { + "description": "Logging level for batch inference operation.", + "$ref": "#/definitions/BatchLoggingLevel" + }, + "maxConcurrencyPerInstance": { + "format": "int32", + "description": "Indicates number of processes per instance", + "type": "integer", + "x-nullable": true + }, + "miniBatchSize": { + "format": "int64", + "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", + "type": "integer", + "x-nullable": true + }, + "model": { + "description": "Reference to the model asset for the endpoint deployment.", + "$ref": "#/definitions/PartialAssetReferenceBase", + "x-nullable": true + }, + "outputAction": { + "description": "Indicates how the output will be organized.", + "$ref": "#/definitions/BatchOutputAction" + }, + "outputFileName": { + "description": "Customized output file name for append_row output action.", + "type": "string", + "x-nullable": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "retrySettings": { + "description": "Retry Settings for the batch inference operation.", + "$ref": "#/definitions/PartialBatchRetrySettings", + "x-nullable": true } }, "additionalProperties": false @@ -8761,51 +9034,113 @@ }, "additionalProperties": false }, + "PartialBatchRetrySettings": { + "description": "Retry settings for a batch inference operation.", + "type": "object", + "properties": { + "maxRetries": { + "format": "int32", + "description": "Maximum retry count for a mini-batch", + "type": "integer", + "x-nullable": true + }, + "timeout": { + "format": "duration", + "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialCodeConfiguration": { + "description": "Configuration for a scoring code asset.", + "type": "object", + "properties": { + "codeId": { + "description": "ARM resource ID of the code asset.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "scoringScript": { + "description": "The script to execute on startup. eg. \"score.py\"", + "minLength": 1, + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, "PartialContainerResourceRequirements": { "description": "Resource requirements for each container instance within an online deployment.", "type": "object", "properties": { - "cpu": { - "format": "double", - "description": "The minimum amount of CPU cores to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4, + "containerResourceLimits": { + "description": "Container resource limit info:", + "$ref": "#/definitions/PartialContainerResourceSettings", "x-nullable": true }, - "cpuLimit": { - "format": "double", - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 4, + "containerResourceRequests": { + "description": "Container resource request info:", + "$ref": "#/definitions/PartialContainerResourceSettings", "x-nullable": true - }, - "fpga": { - "format": "int32", - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.", - "type": "integer", + } + }, + "additionalProperties": false + }, + "PartialContainerResourceSettings": { + "type": "object", + "properties": { + "cpu": { + "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "\"1\"", "x-nullable": true }, "gpu": { - "format": "int32", - "description": "The number of GPU cores in the container.", - "type": "integer", + "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "\"1\"", "x-nullable": true }, - "memoryInGB": { - "format": "double", - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64, + "memory": { + "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", + "type": "string", + "example": "\"2Gi\"", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "PartialDataPathAssetReference": { + "description": "Reference to an asset via its path in a datastore.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialAssetReferenceBase" + } + ], + "properties": { + "datastoreId": { + "description": "ARM resource ID of the datastore where the asset is located.", + "type": "string", "x-nullable": true }, - "memoryInGBLimit": { - "format": "double", - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "number", - "example": 64, + "path": { + "description": "The path of the file/directory in the datastore.", + "type": "string", "x-nullable": true } }, + "x-ms-discriminator-value": "DataPath", "additionalProperties": false }, "PartialDefaultScaleSettings": { @@ -8818,6 +9153,24 @@ "x-ms-discriminator-value": "Default", "additionalProperties": false }, + "PartialIdAssetReference": { + "description": "Reference to an asset via its ARM resource ID.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialAssetReferenceBase" + } + ], + "properties": { + "assetId": { + "description": "ARM resource ID of the asset.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "Id", + "additionalProperties": false + }, "PartialK8sOnlineDeployment": { "description": "Properties specific to a K8sOnlineDeployment.", "type": "object", @@ -8833,7 +9186,7 @@ "x-nullable": true } }, - "x-ms-discriminator-value": "K8S", + "x-ms-discriminator-value": "Kubernetes", "additionalProperties": false }, "PartialManagedOnlineDeployment": { @@ -9026,6 +9379,29 @@ }, "discriminator": "scaleType" }, + "PartialOutputPathAssetReference": { + "description": "Reference to an asset via its path in a job output.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialAssetReferenceBase" + } + ], + "properties": { + "jobId": { + "description": "ARM resource ID of the job.", + "type": "string", + "x-nullable": true + }, + "path": { + "description": "The path of the file/directory in the job output.", + "type": "string", + "x-nullable": true + } + }, + "x-ms-discriminator-value": "OutputPath", + "additionalProperties": false + }, "PartialProbeSettings": { "description": "Deployment container liveness/readiness probe configuration.", "type": "object", @@ -9068,6 +9444,7 @@ "type": "object", "properties": { "type": { + "description": "The type of the ResourceIdentity", "$ref": "#/definitions/ResourceIdentityAssignment" }, "userAssignedIdentities": { @@ -9175,7 +9552,7 @@ "description": "Binding to represent relation between inputs, outputs and parameters", "type": "array", "items": { - "description": "TODO - Binding", + "description": "Binding Inputs/Outputs to ComponentJob Inputs/Outputs etc", "$ref": "#/definitions/Binding" }, "x-ms-mutability": [ @@ -9327,47 +9704,41 @@ "additionalProperties": false }, "ResourceConfiguration": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ResourceConfigurationBase" - } - ], - "x-ms-discriminator-value": "Base", - "additionalProperties": false - }, - "ResourceConfigurationBase": { - "required": [ - "resourceConfigurationType" - ], "type": "object", "properties": { + "instanceCount": { + "format": "int32", + "description": "Optional number of instances or nodes used by the compute target.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, + "instanceType": { + "description": "Optional type of VM used as supported by the compute target.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], + "x-nullable": true + }, "properties": { - "description": "Additional properties bag", + "description": "Additional properties bag.", "type": "object", "additionalProperties": { - "type": "string", + "type": "object", "x-nullable": true }, + "x-ms-mutability": [ + "create", + "read" + ], "x-nullable": true - }, - "resourceConfigurationType": { - "description": "Specifies the type of resource configuration.", - "$ref": "#/definitions/ResourceConfigurationType" } }, - "discriminator": "resourceConfigurationType" - }, - "ResourceConfigurationType": { - "enum": [ - "Base", - "AmlCompute" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceConfigurationType", - "modelAsString": true - }, "additionalProperties": false }, "ResourceIdentity": { @@ -9393,7 +9764,7 @@ "x-nullable": true }, "type": { - "description": "Defines values for a ResourceIdentity's type.", + "description": "The type of the ResourceIdentity", "$ref": "#/definitions/ResourceIdentityAssignment" }, "userAssignedIdentities": { @@ -9525,6 +9896,19 @@ }, "additionalProperties": false }, + "ServiceDataAccessAuthIdentity": { + "enum": [ + "None", + "WorkspaceSystemAssignedIdentity", + "WorkspaceUserAssignedIdentity" + ], + "type": "string", + "x-ms-enum": { + "name": "ServiceDataAccessAuthIdentity", + "modelAsString": true + }, + "additionalProperties": false + }, "ServicePrincipalDatastoreCredentials": { "description": "Service Principal datastore credentials configuration.", "required": [ @@ -9597,16 +9981,19 @@ "default": { "format": "int32", "description": "Gets or sets the default capacity.", + "default": 0, "type": "integer" }, "maximum": { "format": "int32", "description": "Gets or sets the maximum.", + "default": 0, "type": "integer" }, "minimum": { "format": "int32", "description": "Gets or sets the minimum.", + "default": 0, "type": "integer" }, "scaleType": { @@ -9823,6 +10210,7 @@ "parameterServerCount": { "format": "int32", "description": "Number of parameter server tasks.", + "default": 0, "type": "integer", "x-ms-mutability": [ "create", @@ -9898,17 +10286,7 @@ }, "resources": { "description": "Compute Resource configuration for the job.", - "$ref": "#/definitions/ResourceConfigurationBase", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the trial component will be cancelled.\r\nOnly supports duration with precision as low as Seconds.", - "type": "string", + "$ref": "#/definitions/ResourceConfiguration", "x-ms-mutability": [ "create", "read" @@ -9930,6 +10308,7 @@ "truncationPercentage": { "format": "int32", "description": "The percentage of runs to cancel at each evaluation interval.", + "default": 0, "type": "integer" } }, @@ -9938,27 +10317,25 @@ }, "UriReference": { "description": "TODO - UriReference.", - "required": [ - "path" - ], "type": "object", "properties": { - "isFile": { - "description": "File or Folder\r\nDefault to false", - "type": "boolean", + "file": { + "description": "Single file uri path", + "type": "string", "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, - "path": { - "description": "Uri path", - "pattern": "[a-zA-Z0-9_]", + "folder": { + "description": "Folder uri path", "type": "string", "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true } }, "additionalProperties": false From 7ad4c543fb546d312d58ed1161fcbe08c47d5706 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Sep 2021 21:03:25 -0400 Subject: [PATCH 125/211] update examples --- .../BatchDeployment/createOrUpdate.json | 74 ++++++++++--------- .../examples/BatchDeployment/delete.json | 1 + .../examples/BatchDeployment/get.json | 25 ++++--- .../examples/BatchDeployment/list.json | 25 ++++--- .../examples/BatchDeployment/update.json | 56 ++++++++++---- .../examples/BatchEndpoint/delete.json | 1 + .../examples/BatchEndpoint/update.json | 6 +- .../DatasetVersion/createOrUpdate.json | 11 ++- .../examples/DatasetVersion/get.json | 5 +- .../examples/DatasetVersion/list.json | 3 +- .../Job/CommandJob/createOrUpdate.json | 33 +++++---- .../examples/Job/CommandJob/get.json | 11 +-- .../examples/Job/CommandJob/list.json | 11 +-- .../examples/Job/SweepJob/createOrUpdate.json | 36 ++++----- .../2021-10-01/examples/Job/SweepJob/get.json | 12 +-- .../examples/Job/SweepJob/list.json | 12 +-- .../K8sOnlineDeployment/createOrUpdate.json | 57 ++++++++------ .../K8sOnlineDeployment/get.json | 19 +++-- .../K8sOnlineDeployment/listSkus.json | 2 +- .../K8sOnlineDeployment/update.json | 37 ++++++---- .../ManagedOnlineDeployment/listSkus.json | 2 +- .../examples/OnlineDeployment/list.json | 19 +++-- 22 files changed, 265 insertions(+), 193 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json index 8c7edb91c0f9..3fc95f5f35c0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json @@ -20,16 +20,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -41,9 +32,18 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "cd3c37dc-2876-4ca4-8a54-21bd7619724a": null + } + } + } }, "tags": {}, "location": "string", @@ -86,16 +86,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -107,9 +98,19 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "4939850d-8eae-4343-8566-0826259a2ad1": null + } + } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", @@ -161,16 +162,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -182,9 +174,19 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "b76755e4-16bf-45d4-b625-6634df7444cc": null + } + } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json index a68054cbc675..add993ff9769 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json @@ -9,6 +9,7 @@ }, "responses": { "200": {}, + "202": {}, "204": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json index 3b2595b4451f..36852fb15a3c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json @@ -27,16 +27,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -48,9 +39,19 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "843c2bb4-e5f1-4267-98c8-ba22a99dbb00": null + } + } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json index 87830c5b6f07..48b2b1789685 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json @@ -31,16 +31,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -52,9 +43,19 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "a3c13e2e-a213-4cac-9f5a-b49966906ad6": null + } + } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json index 1b7233b57186..2240ef38b756 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json @@ -8,7 +8,33 @@ "api-version": "2021-10-01", "body": { "properties": { - "description": "string" + "description": "string", + "compute": "string", + "errorThreshold": 1, + "retrySettings": { + "maxRetries": 1, + "timeout": "PT5M" + }, + "miniBatchSize": 1, + "loggingLevel": "Info", + "model": { + "referenceType": "Id", + "assetId": "string" + }, + "maxConcurrencyPerInstance": 1, + "outputAction": "SummaryOnly", + "outputFileName": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + } }, "tags": {}, "location": "string", @@ -51,16 +77,7 @@ "environmentVariables": { "string": "string" }, - "compute": { - "target": "string", - "instanceCount": 1, - "isLocal": false, - "location": "string", - "instanceType": "string", - "properties": { - "string": "string" - } - }, + "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, @@ -72,9 +89,19 @@ "referenceType": "Id", "assetId": "string" }, - "processCountPerInstance": 1, + "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", - "outputFileName": "string" + "outputFileName": "string", + "resources": { + "instanceCount": 1, + "instanceType": "string", + "properties": { + "string": { + "1e5e1cf9-b0ea-4cf6-9764-e750bf85c10a": null + } + } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", @@ -106,6 +133,7 @@ "capacity": 1 } } - } + }, + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json index 9b4f83e43ee0..68e501109a28 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json @@ -8,6 +8,7 @@ }, "responses": { "200": {}, + "202": {}, "204": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json index 36d1c8e8be5d..e6fdd4b0796e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json @@ -49,7 +49,8 @@ "authMode": "AMLToken", "defaults": { "deploymentName": "string" - } + }, + "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", @@ -81,6 +82,7 @@ "capacity": 1 } } - } + }, + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json index dd69bc4b403d..421e0fbead93 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json @@ -18,8 +18,8 @@ "isAnonymous": false, "paths": [ { - "path": "string", - "isFile": false + "file": "string", + "folder": "string" } ] } @@ -43,8 +43,8 @@ "isAnonymous": false, "paths": [ { - "path": "string", - "isFile": false + "file": "string", + "folder": "string" } ] }, @@ -75,8 +75,7 @@ "isAnonymous": false, "paths": [ { - "path": "string", - "isFile": false + "file": "string" } ] }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json index 02e6cb5364c3..512d0f9a8d2a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json @@ -25,8 +25,7 @@ "isAnonymous": false, "paths": [ { - "path": "string", - "isFile": false + "file": "string" } ] }, @@ -41,4 +40,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json index d372bf26dbb4..0a554bc53f6f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json @@ -30,8 +30,7 @@ "isAnonymous": false, "paths": [ { - "path": "string", - "isFile": false + "file": "string" } ] }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json index 5491ffbc6c6f..e7547471333a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -29,12 +29,13 @@ "computeId": "string", "jobType": "Command", "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } }, "codeId": "string", "command": "string", @@ -106,12 +107,13 @@ "computeId": "string", "jobType": "Command", "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "a0847709-f5aa-4561-8ba5-d915d403fdcf": null + } + } }, "codeId": "string", "command": "string", @@ -193,12 +195,13 @@ "computeId": "string", "jobType": "Command", "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "b8163d40-c351-43d6-8a34-d0cd895b8a5a": null + } + } }, "codeId": "string", "command": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json index fec1375a0ffa..270ebaa04b97 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -40,12 +40,13 @@ "computeId": "string", "jobType": "Command", "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "8385cf05-78c0-41ef-b31d-36796a678e19": null + } + } }, "codeId": "string", "command": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json index 474d8378dd3f..b42845c45058 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -44,12 +44,13 @@ "computeId": "string", "jobType": "Command", "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "7aad5998-6c83-4ca9-b50a-b44dfc43f420": null + } + } }, "codeId": "string", "command": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json index 553da3f69d0f..2e80ea9501a4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -44,7 +44,6 @@ "goal": "Minimize" }, "trial": { - "timeout": "string", "codeId": "string", "command": "string", "environmentId": "string", @@ -56,12 +55,13 @@ "processCountPerInstance": 1 }, "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } } }, "searchSpace": { @@ -119,7 +119,6 @@ "goal": "Minimize" }, "trial": { - "timeout": "string", "codeId": "string", "command": "string", "environmentId": "string", @@ -131,12 +130,13 @@ "processCountPerInstance": 1 }, "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } } }, "searchSpace": { @@ -201,7 +201,6 @@ "goal": "Minimize" }, "trial": { - "timeout": "string", "codeId": "string", "command": "string", "environmentId": "string", @@ -213,12 +212,13 @@ "processCountPerInstance": 1 }, "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } } }, "searchSpace": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json index 3dd0892abb8d..fa06395e5a0d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -55,7 +55,6 @@ "goal": "Minimize" }, "trial": { - "timeout": "string", "codeId": "string", "command": "string", "environmentId": "string", @@ -67,12 +66,13 @@ "processCountPerInstance": 1 }, "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } } }, "searchSpace": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json index e6dd1872359c..86a717d9b21c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -59,7 +59,6 @@ "goal": "Minimize" }, "trial": { - "timeout": "string", "codeId": "string", "command": "string", "environmentId": "string", @@ -71,12 +70,13 @@ "processCountPerInstance": 1 }, "resources": { - "properties": { - "string": "string" - }, - "resourceConfigurationType": "AmlCompute", "instanceCount": 1, - "priority": 1 + "instanceType": "string", + "properties": { + "string": { + "e6b6493e-7d5e-4db3-be1e-306ec641327e": null + } + } } }, "searchSpace": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json index 0f91d0888a56..408900eac722 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json @@ -28,6 +28,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -38,14 +39,18 @@ }, "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "tags": {}, @@ -97,6 +102,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -108,14 +114,18 @@ "provisioningState": "Creating", "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "systemData": { @@ -176,6 +186,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -187,14 +198,18 @@ "provisioningState": "Creating", "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json index 427f441b56cc..b4c737e94648 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json @@ -35,6 +35,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -46,14 +47,18 @@ "provisioningState": "Creating", "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json index b5734c4f0186..728fac7fd60e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json @@ -20,7 +20,7 @@ "name": "string", "tier": "Free" }, - "skuCapacity": { + "capacity": { "minimum": 1, "maximum": 1, "default": 1, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json index 555aec7d885d..1edb98b5b75c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json @@ -24,14 +24,18 @@ "period": "PT5M", "initialDelay": "PT5M" }, - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 4.0, - "cpuLimit": 4.0, - "memoryInGB": 64.0, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "tags": {}, @@ -83,6 +87,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -94,14 +99,18 @@ "provisioningState": "Creating", "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "systemData": { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json index b5734c4f0186..728fac7fd60e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json @@ -20,7 +20,7 @@ "name": "string", "tier": "Free" }, - "skuCapacity": { + "capacity": { "minimum": 1, "maximum": 1, "default": 1, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json index 3715442cb13a..86890faac9f2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json @@ -39,6 +39,7 @@ "requestTimeout": "PT5M", "maxConcurrentRequestsPerInstance": 1 }, + "modelMountPath": "string", "appInsightsEnabled": false, "livenessProbe": { "failureThreshold": 1, @@ -50,14 +51,18 @@ "provisioningState": "Creating", "instanceType": "string", "model": "string", - "endpointComputeType": "K8S", + "endpointComputeType": "Kubernetes", "containerResourceRequirements": { - "cpu": 3.14, - "cpuLimit": 4.0, - "memoryInGB": 3.14, - "memoryInGBLimit": 64.0, - "gpu": 1, - "fpga": 1 + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } } }, "systemData": { From 726f26d20de84543f708206cb0c28452cf1ce602 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Sep 2021 21:03:55 -0400 Subject: [PATCH 126/211] prettier --- .../stable/2021-10-01/examples/DatasetVersion/get.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json index 512d0f9a8d2a..dfc4545b14de 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json @@ -40,4 +40,4 @@ } } } -} \ No newline at end of file +} From ffc00154a8b89c991b81d5a24c237eab6a6b44e3 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 2 Sep 2021 15:24:28 -0400 Subject: [PATCH 127/211] set requestSettings default to {} --- .../Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 550b94c46d1f..9578158dc9df 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8525,6 +8525,7 @@ }, "requestSettings": { "description": "Request settings for the deployment.", + "default": {}, "$ref": "#/definitions/OnlineRequestSettings", "x-nullable": true }, From cc24d0b21f4a636c20d98675e225c33b9d56e58f Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 2 Sep 2021 15:45:49 -0400 Subject: [PATCH 128/211] Revert "set requestSettings default to {}" This reverts commit ffc00154a8b89c991b81d5a24c237eab6a6b44e3. --- .../Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 9578158dc9df..550b94c46d1f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8525,7 +8525,6 @@ }, "requestSettings": { "description": "Request settings for the deployment.", - "default": {}, "$ref": "#/definitions/OnlineRequestSettings", "x-nullable": true }, From 72de8193c15e56ac7b549ad2d0c8b5e933327856 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 3 Sep 2021 01:09:47 -0400 Subject: [PATCH 129/211] move readinessProbe property to OnlineDeployment --- .../stable/2021-10-01/mfe.json | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 550b94c46d1f..471a12e73123 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8149,13 +8149,6 @@ "$ref": "#/definitions/OnlineDeployment" } ], - "properties": { - "readinessProbe": { - "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/ProbeSettings", - "x-nullable": true - } - }, "x-ms-discriminator-value": "Managed", "additionalProperties": false }, @@ -8523,6 +8516,11 @@ "read" ] }, + "readinessProbe": { + "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", + "$ref": "#/definitions/ProbeSettings", + "x-nullable": true + }, "requestSettings": { "description": "Request settings for the deployment.", "$ref": "#/definitions/OnlineRequestSettings", @@ -9202,11 +9200,6 @@ "description": "The path to mount the model in custom container.", "type": "string", "x-nullable": true - }, - "readinessProbe": { - "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/PartialProbeSettings", - "x-nullable": true } }, "x-ms-discriminator-value": "Managed", @@ -9233,6 +9226,11 @@ "$ref": "#/definitions/PartialProbeSettings", "x-nullable": true }, + "readinessProbe": { + "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", + "$ref": "#/definitions/PartialProbeSettings", + "x-nullable": true + }, "requestSettings": { "description": "Request settings for the deployment.", "$ref": "#/definitions/PartialOnlineRequestSettings", From 952a3351d49ae75a45d68b5b6f35b9994e52aa01 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 3 Sep 2021 01:11:24 -0400 Subject: [PATCH 130/211] match Partial's x-nullability with their non-Partial equivalent --- .../stable/2021-10-01/mfe.json | 57 +++++++------------ 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 471a12e73123..d52c5269adc1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8962,8 +8962,7 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchDeployment", - "x-nullable": true + "$ref": "#/definitions/PartialBatchDeployment" }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", @@ -9013,8 +9012,7 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchEndpoint", - "x-nullable": true + "$ref": "#/definitions/PartialBatchEndpoint" }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", @@ -9039,8 +9037,7 @@ "maxRetries": { "format": "int32", "description": "Maximum retry count for a mini-batch", - "type": "integer", - "x-nullable": true + "type": "integer" }, "timeout": { "format": "duration", @@ -9071,8 +9068,7 @@ "x-ms-mutability": [ "create", "read" - ], - "x-nullable": true + ] } }, "additionalProperties": false @@ -9162,8 +9158,7 @@ "properties": { "assetId": { "description": "ARM resource ID of the asset.", - "type": "string", - "x-nullable": true + "type": "string" } }, "x-ms-discriminator-value": "Id", @@ -9214,8 +9209,7 @@ "properties": { "appInsightsEnabled": { "description": "If true, enables Application Insights logging.", - "type": "boolean", - "x-nullable": true + "type": "boolean" }, "endpointComputeType": { "description": "The compute type of the endpoint.", @@ -9264,8 +9258,7 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineDeployment", - "x-nullable": true + "$ref": "#/definitions/PartialOnlineDeployment" }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", @@ -9319,8 +9312,7 @@ }, "properties": { "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineEndpoint", - "x-nullable": true + "$ref": "#/definitions/PartialOnlineEndpoint" }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", @@ -9345,20 +9337,17 @@ "maxConcurrentRequestsPerInstance": { "format": "int32", "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "maxQueueWait": { "format": "duration", "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", - "type": "string", - "x-nullable": true + "type": "string" }, "requestTimeout": { "format": "duration", "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", - "type": "string", - "x-nullable": true + "type": "string" } }, "additionalProperties": false @@ -9407,8 +9396,7 @@ "failureThreshold": { "format": "int32", "description": "The number of failures to allow before returning an unhealthy status.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "initialDelay": { "format": "duration", @@ -9419,20 +9407,17 @@ "period": { "format": "duration", "description": "The length of time between probes in ISO 8601 format.", - "type": "string", - "x-nullable": true + "type": "string" }, "successThreshold": { "format": "int32", "description": "The number of successful probes before returning a healthy status.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "timeout": { "format": "duration", "description": "The probe timeout in ISO 8601 format.", - "type": "string", - "x-nullable": true + "type": "string" } }, "additionalProperties": false @@ -9495,26 +9480,22 @@ "maxInstances": { "format": "int32", "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "minInstances": { "format": "int32", "description": "The minimum number of instances to always be present.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "pollingInterval": { "format": "duration", "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", - "type": "string", - "x-nullable": true + "type": "string" }, "targetUtilizationPercentage": { "format": "int32", "description": "Target CPU usage for the autoscaler.", - "type": "integer", - "x-nullable": true + "type": "integer" } }, "x-ms-discriminator-value": "TargetUtilization", From f01dfbc111dd55afacaed5d03537357d9970f72e Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 3 Sep 2021 02:07:15 -0400 Subject: [PATCH 131/211] remove x-nullable from identity, kind, sku tracked resource props --- .../stable/2021-10-01/mfe.json | 72 +++++++------------ 1 file changed, 24 insertions(+), 48 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index d52c5269adc1..c03fead9cb23 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5567,13 +5567,11 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/ResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "properties": { "description": "Additional attributes of the entity.", @@ -5581,8 +5579,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku", - "x-nullable": true + "$ref": "types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -5707,13 +5704,11 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/ResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "properties": { "description": "Additional attributes of the entity.", @@ -5721,8 +5716,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku", - "x-nullable": true + "$ref": "types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8548,13 +8542,11 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/ResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "properties": { "description": "Additional attributes of the entity.", @@ -8562,8 +8554,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku", - "x-nullable": true + "$ref": "types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8693,13 +8684,11 @@ "properties": { "identity": { "description": "Service identity associated with a resource.", - "$ref": "#/definitions/ResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/ResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "properties": { "description": "Additional attributes of the entity.", @@ -8707,8 +8696,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku", - "x-nullable": true + "$ref": "types.json#/definitions/Sku" }, "systemData": { "description": "System data associated with resource provider", @@ -8948,13 +8936,11 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "location": { "description": "The geo-location where the resource lives.", @@ -8966,8 +8952,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku", - "x-nullable": true + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -8998,13 +8983,11 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "location": { "description": "The geo-location where the resource lives.", @@ -9016,8 +8999,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku", - "x-nullable": true + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -9244,13 +9226,11 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "location": { "description": "The geo-location where the resource lives.", @@ -9262,8 +9242,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku", - "x-nullable": true + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", @@ -9298,13 +9277,11 @@ "properties": { "identity": { "description": "Strictly used in update requests.", - "$ref": "#/definitions/PartialResourceIdentity", - "x-nullable": true + "$ref": "#/definitions/PartialResourceIdentity" }, "kind": { "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string", - "x-nullable": true + "type": "string" }, "location": { "description": "The geo-location where the resource lives.", @@ -9316,8 +9293,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku", - "x-nullable": true + "$ref": "#/definitions/PartialSku" }, "tags": { "description": "Resource tags.", From 8d18ded916657d12b0fd7eba69dc46aca3ed85d5 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 14 Sep 2021 13:45:02 -0400 Subject: [PATCH 132/211] add case-insensitive comments --- .../stable/2021-10-01/mfe.json | 66 +++++++++---------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index c03fead9cb23..9ea2a242ceb8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -883,7 +883,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -933,7 +933,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -986,7 +986,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -1054,7 +1054,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -1125,14 +1125,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -1182,14 +1182,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -1242,7 +1242,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -1250,7 +1250,7 @@ { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -2677,7 +2677,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -2727,7 +2727,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -2780,7 +2780,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -2848,7 +2848,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -2919,14 +2919,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -2976,14 +2976,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -3036,7 +3036,7 @@ { "in": "path", "name": "name", - "description": "Name of EnvironmentVersion.", + "description": "Name of EnvironmentVersion. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -3180,7 +3180,7 @@ { "in": "path", "name": "id", - "description": "The name and identifier for the Job.", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, @@ -3255,7 +3255,7 @@ { "in": "path", "name": "id", - "description": "The name and identifier for the Job.", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, @@ -3314,7 +3314,7 @@ { "in": "path", "name": "id", - "description": "The name and identifier for the Job.", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -3388,7 +3388,7 @@ { "in": "path", "name": "id", - "description": "The name and identifier for the Job.", + "description": "The name and identifier for the Job. This is case-sensitive.", "required": true, "type": "string" }, @@ -3495,7 +3495,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -3545,7 +3545,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, @@ -3598,7 +3598,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -3666,7 +3666,7 @@ { "in": "path", "name": "name", - "description": "Model name.", + "description": "Model name. This is case-sensitive.", "required": true, "type": "string" }, @@ -3774,14 +3774,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -3831,14 +3831,14 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string" }, { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, @@ -3891,7 +3891,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Container name. This is case-sensitive.", "required": true, "type": "string", "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" @@ -3899,7 +3899,7 @@ { "in": "path", "name": "version", - "description": "Version identifier.", + "description": "Version identifier. This is case-sensitive.", "required": true, "type": "string" }, From 0be44c73188565bc812698c92d312e016e9b72aa Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 14 Sep 2021 15:53:10 -0400 Subject: [PATCH 133/211] remove containerName --- .../stable/2021-10-01/mfe.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 9ea2a242ceb8..e4cde1ec30fb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5269,7 +5269,6 @@ "description": "Azure Data Lake Gen2 datastore configuration.", "required": [ "accountName", - "containerName", "credentials", "filesystem" ], @@ -5289,15 +5288,6 @@ "read" ] }, - "containerName": { - "description": "Storage account container name.", - "pattern": "[a-zA-Z0-9_]", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, "endpoint": { "description": "Azure cloud endpoint for the storage account.", "type": "string", From 3e562e36857bfeb092c6f85a7c0321a8d142b531 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 14 Sep 2021 21:18:00 -0400 Subject: [PATCH 134/211] remove containerName from examples --- .../AzureDataLakeGen2WServicePrincipal/createOrUpdate.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json index 37204c8e8619..31836db859aa 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json @@ -27,7 +27,6 @@ "datastoreType": "AzureDataLakeGen2", "filesystem": "string", "accountName": "string", - "containerName": "string", "endpoint": "string", "protocol": "string" } @@ -56,7 +55,6 @@ "datastoreType": "AzureDataLakeGen2", "filesystem": "string", "accountName": "string", - "containerName": "string", "endpoint": "string", "protocol": "string" }, @@ -92,7 +90,6 @@ "datastoreType": "AzureDataLakeGen2", "filesystem": "string", "accountName": "string", - "containerName": "string", "endpoint": "string", "protocol": "string" }, From 368bd61176d2d08ac5e3ae0c232b0a01c2c3cf92 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 22 Sep 2021 18:24:51 -0400 Subject: [PATCH 135/211] update w/ more defaults --- .../stable/2021-10-01/mfe.json | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e4cde1ec30fb..3e3a776d3459 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5479,8 +5479,8 @@ "errorThreshold": { "format": "int32", "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", - "type": "integer", - "x-nullable": true + "default": -1, + "type": "integer" }, "loggingLevel": { "description": "Logging level for batch inference operation.", @@ -5489,14 +5489,14 @@ "maxConcurrencyPerInstance": { "format": "int32", "description": "Indicates maximum number of parallelism per instance.", - "type": "integer", - "x-nullable": true + "default": 1, + "type": "integer" }, "miniBatchSize": { "format": "int64", "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", - "type": "integer", - "x-nullable": true + "default": 10, + "type": "integer" }, "model": { "description": "Reference to the model asset for the endpoint deployment.", @@ -5531,12 +5531,12 @@ ] }, "resources": { - "description": "Indicates compute configuration for the job.", + "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", "$ref": "#/definitions/ResourceConfiguration", "x-nullable": true }, "retrySettings": { - "description": "Retry Settings for the batch inference operation.", + "description": "Retry Settings for the batch inference operation.\r\nIf not provided, will default to the defaults defined in BatchRetrySettings.", "$ref": "#/definitions/BatchRetrySettings", "x-nullable": true } @@ -5778,8 +5778,8 @@ "timeout": { "format": "duration", "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "type": "string", - "x-nullable": true + "default": "PT30S", + "type": "string" } }, "additionalProperties": false @@ -8511,7 +8511,7 @@ "x-nullable": true }, "scaleSettings": { - "description": "Scale settings for the deployment.", + "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for K8sOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.", "$ref": "#/definitions/OnlineScaleSettings", "x-nullable": true } @@ -8870,8 +8870,7 @@ "errorThreshold": { "format": "int32", "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "loggingLevel": { "description": "Logging level for batch inference operation.", @@ -8880,14 +8879,12 @@ "maxConcurrencyPerInstance": { "format": "int32", "description": "Indicates number of processes per instance", - "type": "integer", - "x-nullable": true + "type": "integer" }, "miniBatchSize": { "format": "int64", "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch.", - "type": "integer", - "x-nullable": true + "type": "integer" }, "model": { "description": "Reference to the model asset for the endpoint deployment.", @@ -9014,8 +9011,7 @@ "timeout": { "format": "duration", "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "type": "string", - "x-nullable": true + "type": "string" } }, "additionalProperties": false From 148fc8359d34b0bee337b12aa9821307dcf3aced Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 22 Sep 2021 18:29:38 -0400 Subject: [PATCH 136/211] K8s -> Kubernetes --- .../K8sOnlineDeployment/createOrUpdate.json | 247 ------------------ .../K8sOnlineDeployment/get.json | 96 ------- .../K8sOnlineDeployment/listSkus.json | 35 --- .../K8sOnlineDeployment/update.json | 149 ----------- .../stable/2021-10-01/mfe.json | 50 ++-- 5 files changed, 25 insertions(+), 552 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json deleted file mode 100644 index 408900eac722..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "endpointName": "testEndpointName", - "deploymentName": "testDeploymentName", - "api-version": "2021-10-01", - "body": { - "properties": { - "description": "string", - "properties": { - "string": "string" - }, - "codeConfiguration": { - "codeId": "string", - "scoringScript": "string" - }, - "environmentId": "string", - "environmentVariables": { - "string": "string" - }, - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "modelMountPath": "string", - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "instanceType": "string", - "model": "string", - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "properties": { - "string": "string" - }, - "codeConfiguration": { - "codeId": "string", - "scoringScript": "string" - }, - "environmentId": "string", - "environmentVariables": { - "string": "string" - }, - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "modelMountPath": "string", - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "provisioningState": "Creating", - "instanceType": "string", - "model": "string", - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "principalId": "string", - "tenantId": "string", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - }, - "201": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "properties": { - "string": "string" - }, - "codeConfiguration": { - "codeId": "string", - "scoringScript": "string" - }, - "environmentId": "string", - "environmentVariables": { - "string": "string" - }, - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "modelMountPath": "string", - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "provisioningState": "Creating", - "instanceType": "string", - "model": "string", - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "principalId": "string", - "tenantId": "string", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json deleted file mode 100644 index b4c737e94648..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/get.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "endpointName": "testEndpointName", - "deploymentName": "testDeploymentName", - "api-version": "2021-10-01" - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "properties": { - "string": "string" - }, - "codeConfiguration": { - "codeId": "string", - "scoringScript": "string" - }, - "environmentId": "string", - "environmentVariables": { - "string": "string" - }, - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "modelMountPath": "string", - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "provisioningState": "Creating", - "instanceType": "string", - "model": "string", - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "principalId": "string", - "tenantId": "string", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json deleted file mode 100644 index 728fac7fd60e..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "endpointName": "testEndpointName", - "deploymentName": "testDeploymentName", - "api-version": "2021-10-01", - "$skipToken": "string", - "count": 1 - }, - "responses": { - "200": { - "headers": {}, - "body": { - "value": [ - { - "resourceType": "Microsoft.MachineLearning.Services/endpoints/deployments", - "sku": { - "name": "string", - "tier": "Free" - }, - "capacity": { - "minimum": 1, - "maximum": 1, - "default": 1, - "scaleType": "Automatic" - } - } - ], - "nextLink": "string" - } - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json deleted file mode 100644 index 1edb98b5b75c..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/K8sOnlineDeployment/update.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "test-rg", - "workspaceName": "my-aml-workspace", - "endpointName": "testEndpointName", - "deploymentName": "testDeploymentName", - "api-version": "2021-10-01", - "body": { - "properties": { - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - }, - "responses": { - "200": { - "headers": {}, - "body": { - "id": "string", - "name": "string", - "type": "string", - "properties": { - "description": "string", - "properties": { - "string": "string" - }, - "codeConfiguration": { - "codeId": "string", - "scoringScript": "string" - }, - "environmentId": "string", - "environmentVariables": { - "string": "string" - }, - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "modelMountPath": "string", - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "provisioningState": "Creating", - "instanceType": "string", - "model": "string", - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } - }, - "systemData": { - "createdAt": "2020-01-01T12:34:56.999Z", - "createdBy": "string", - "createdByType": "User", - "lastModifiedAt": "2020-01-01T12:34:56.999Z", - "lastModifiedBy": "string", - "lastModifiedByType": "User" - }, - "tags": {}, - "location": "string", - "kind": "string", - "identity": { - "type": "SystemAssigned", - "principalId": "string", - "tenantId": "string", - "userAssignedIdentities": { - "string": { - "principalId": "string", - "clientId": "string" - } - } - }, - "sku": { - "name": "string", - "tier": "Free", - "size": "string", - "family": "string", - "capacity": 1 - } - } - }, - "202": {} - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 3e3a776d3459..e0b73b28c676 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -4566,8 +4566,8 @@ "Get Managed Online Deployment.": { "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/get.json" }, - "Get K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/get.json" + "Get Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/get.json" } } }, @@ -4661,8 +4661,8 @@ "Update Managed Online Deployment.": { "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/update.json" }, - "Update K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/update.json" + "Update Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/update.json" } }, "x-ms-long-running-operation": true, @@ -4756,8 +4756,8 @@ "CreateOrUpdate Managed Online Deployment.": { "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json" }, - "CreateOrUpdate K8S Online Deployment.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/createOrUpdate.json" + "CreateOrUpdate Kubernetes Online Deployment.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json" } }, "x-ms-long-running-operation": true, @@ -4903,8 +4903,8 @@ "List Managed Online Deployment Skus.": { "$ref": "./examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json" }, - "List K8S Online Deployment Skus.": { - "$ref": "./examples/OnlineDeployment/K8sOnlineDeployment/listSkus.json" + "List Kubernetes Online Deployment Skus.": { + "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json" } }, "x-ms-pageable": { @@ -8053,8 +8053,20 @@ }, "additionalProperties": false }, - "K8sOnlineDeployment": { - "description": "Properties specific to a K8sOnlineDeployment.", + "KeyType": { + "enum": [ + "Primary", + "Secondary" + ], + "type": "string", + "x-ms-enum": { + "name": "KeyType", + "modelAsString": true + }, + "additionalProperties": false + }, + "KubernetesOnlineDeployment": { + "description": "Properties specific to a KubernetesOnlineDeployment.", "type": "object", "allOf": [ { @@ -8071,18 +8083,6 @@ "x-ms-discriminator-value": "Kubernetes", "additionalProperties": false }, - "KeyType": { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string", - "x-ms-enum": { - "name": "KeyType", - "modelAsString": true - }, - "additionalProperties": false - }, "ManagedIdentity": { "description": "Managed identity configuration.", "type": "object", @@ -8511,7 +8511,7 @@ "x-nullable": true }, "scaleSettings": { - "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for K8sOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.", + "description": "Scale settings for the deployment.\r\nIf it is null or not provided,\r\nit defaults to TargetUtilizationScaleSettings for KubernetesOnlineDeployment\r\nand to DefaultScaleSettings for ManagedOnlineDeployment.", "$ref": "#/definitions/OnlineScaleSettings", "x-nullable": true } @@ -9132,8 +9132,8 @@ "x-ms-discriminator-value": "Id", "additionalProperties": false }, - "PartialK8sOnlineDeployment": { - "description": "Properties specific to a K8sOnlineDeployment.", + "PartialKubernetesOnlineDeployment": { + "description": "Properties specific to a KubernetesOnlineDeployment.", "type": "object", "allOf": [ { From dfceddd834ef9b881095d8500be14dd11ac2d794 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 22 Sep 2021 18:40:01 -0400 Subject: [PATCH 137/211] accessToken->secrets secret --- .../examples/OnlineEndpoint/getToken.json | 4 +++- .../stable/2021-10-01/mfe.json | 22 ++++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index b1a05dea3991..4c9f16510d92 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -10,7 +10,9 @@ "200": { "headers": {}, "body": { - "accessToken": "string", + "secrets": { + "accessToken": "string" + }, "tokenType": "string", "expiryTimeUtc": 1, "refreshAfterTimeUtc": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e0b73b28c676..3e35418a8b51 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7164,11 +7164,6 @@ "description": "Service Token", "type": "object", "properties": { - "accessToken": { - "description": "Access token for endpoint authentication.", - "type": "string", - "x-nullable": true - }, "expiryTimeUtc": { "format": "int64", "description": "Access token expiry time (UTC).", @@ -7181,6 +7176,12 @@ "default": 0, "type": "integer" }, + "secrets": { + "description": "Endpoint authentication secrets.", + "$ref": "#/definitions/EndpointAuthTokenSecrets", + "x-ms-secret": true, + "x-nullable": true + }, "tokenType": { "description": "Access token type.", "type": "string", @@ -7189,6 +7190,17 @@ }, "additionalProperties": false }, + "EndpointAuthTokenSecrets": { + "type": "object", + "properties": { + "accessToken": { + "description": "Access token for endpoint authentication.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, "EndpointComputeType": { "description": "Enum to determine endpoint compute type.", "enum": [ From 1bfd557df5538639f13cbd71603cac9c7519eb0b Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 22 Sep 2021 19:03:41 -0400 Subject: [PATCH 138/211] add missing example files --- .../createOrUpdate.json | 247 ++++++++++++++++++ .../KubernetesOnlineDeployment/get.json | 96 +++++++ .../KubernetesOnlineDeployment/listSkus.json | 35 +++ .../KubernetesOnlineDeployment/update.json | 149 +++++++++++ 4 files changed, 527 insertions(+) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json new file mode 100644 index 000000000000..408900eac722 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json @@ -0,0 +1,247 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01", + "body": { + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelMountPath": "string", + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "instanceType": "string", + "model": "string", + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelMountPath": "string", + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "201": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelMountPath": "string", + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json new file mode 100644 index 000000000000..b4c737e94648 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01" + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelMountPath": "string", + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json new file mode 100644 index 000000000000..728fac7fd60e --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01", + "$skipToken": "string", + "count": 1 + }, + "responses": { + "200": { + "headers": {}, + "body": { + "value": [ + { + "resourceType": "Microsoft.MachineLearning.Services/endpoints/deployments", + "sku": { + "name": "string", + "tier": "Free" + }, + "capacity": { + "minimum": 1, + "maximum": 1, + "default": 1, + "scaleType": "Automatic" + } + } + ], + "nextLink": "string" + } + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json new file mode 100644 index 000000000000..1edb98b5b75c --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "subscriptionId": "00000000-1111-2222-3333-444444444444", + "resourceGroupName": "test-rg", + "workspaceName": "my-aml-workspace", + "endpointName": "testEndpointName", + "deploymentName": "testDeploymentName", + "api-version": "2021-10-01", + "body": { + "properties": { + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "responses": { + "200": { + "headers": {}, + "body": { + "id": "string", + "name": "string", + "type": "string", + "properties": { + "description": "string", + "properties": { + "string": "string" + }, + "codeConfiguration": { + "codeId": "string", + "scoringScript": "string" + }, + "environmentId": "string", + "environmentVariables": { + "string": "string" + }, + "scaleSettings": { + "scaleType": "Default" + }, + "requestSettings": { + "maxQueueWait": "PT5M", + "requestTimeout": "PT5M", + "maxConcurrentRequestsPerInstance": 1 + }, + "modelMountPath": "string", + "appInsightsEnabled": false, + "livenessProbe": { + "failureThreshold": 1, + "successThreshold": 1, + "timeout": "PT5M", + "period": "PT5M", + "initialDelay": "PT5M" + }, + "provisioningState": "Creating", + "instanceType": "string", + "model": "string", + "endpointComputeType": "Kubernetes", + "containerResourceRequirements": { + "containerResourceRequests": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + }, + "containerResourceLimits": { + "cpu": "\"1\"", + "memory": "\"2Gi\"", + "gpu": "\"1\"" + } + } + }, + "systemData": { + "createdAt": "2020-01-01T12:34:56.999Z", + "createdBy": "string", + "createdByType": "User", + "lastModifiedAt": "2020-01-01T12:34:56.999Z", + "lastModifiedBy": "string", + "lastModifiedByType": "User" + }, + "tags": {}, + "location": "string", + "kind": "string", + "identity": { + "type": "SystemAssigned", + "principalId": "string", + "tenantId": "string", + "userAssignedIdentities": { + "string": { + "principalId": "string", + "clientId": "string" + } + } + }, + "sku": { + "name": "string", + "tier": "Free", + "size": "string", + "family": "string", + "capacity": 1 + } + } + }, + "202": {} + } +} From e628f79860c9cb807d66dc3c7f4a8eea2f33a247 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 24 Sep 2021 18:26:33 -0400 Subject: [PATCH 139/211] Revert "accessToken->secrets secret" This reverts commit dfceddd834ef9b881095d8500be14dd11ac2d794. --- .../examples/OnlineEndpoint/getToken.json | 4 +--- .../stable/2021-10-01/mfe.json | 22 +++++-------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index 4c9f16510d92..b1a05dea3991 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -10,9 +10,7 @@ "200": { "headers": {}, "body": { - "secrets": { - "accessToken": "string" - }, + "accessToken": "string", "tokenType": "string", "expiryTimeUtc": 1, "refreshAfterTimeUtc": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 3e35418a8b51..e0b73b28c676 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7164,6 +7164,11 @@ "description": "Service Token", "type": "object", "properties": { + "accessToken": { + "description": "Access token for endpoint authentication.", + "type": "string", + "x-nullable": true + }, "expiryTimeUtc": { "format": "int64", "description": "Access token expiry time (UTC).", @@ -7176,12 +7181,6 @@ "default": 0, "type": "integer" }, - "secrets": { - "description": "Endpoint authentication secrets.", - "$ref": "#/definitions/EndpointAuthTokenSecrets", - "x-ms-secret": true, - "x-nullable": true - }, "tokenType": { "description": "Access token type.", "type": "string", @@ -7190,17 +7189,6 @@ }, "additionalProperties": false }, - "EndpointAuthTokenSecrets": { - "type": "object", - "properties": { - "accessToken": { - "description": "Access token for endpoint authentication.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, "EndpointComputeType": { "description": "Enum to determine endpoint compute type.", "enum": [ From ba432f4b3ff2e5c90eb7970d3a76ad89107898fd Mon Sep 17 00:00:00 2001 From: Xi Jin Date: Fri, 24 Sep 2021 16:21:09 -0700 Subject: [PATCH 140/211] Add Byo Cmk support --- .../examples/OnlineEndpoint/getToken.json | 4 +++- .../2021-10-01/examples/Workspace/create.json | 10 +++++++-- .../2021-10-01/examples/Workspace/get.json | 5 ++++- .../2021-10-01/machineLearningServices.json | 14 +++++++++++- .../stable/2021-10-01/mfe.json | 22 ++++++++++++++----- 5 files changed, 45 insertions(+), 10 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index b1a05dea3991..4c9f16510d92 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -10,7 +10,9 @@ "200": { "headers": {}, "body": { - "accessToken": "string", + "secrets": { + "accessToken": "string" + }, "tokenType": "string", "expiryTimeUtc": 1, "refreshAfterTimeUtc": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index fe7433ca89dd..54294d7d25f6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -28,7 +28,10 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - } + }, + "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", + "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "sharedPrivateLinkResources": [ @@ -81,7 +84,10 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - } + }, + "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", + "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index ed94769dd072..3d3a9a5de09b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -41,7 +41,10 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - } + }, + "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", + "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch", }, "hbiWorkspace": false, "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 3035a921b0e5..fea52a4ef844 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4463,7 +4463,19 @@ "keyVaultProperties": { "$ref": "#/definitions/KeyVaultProperties", "description": "Customer Key vault properties." - } + }, + "cosmosDbArmId": { + "description": "The customer BYO (Bring Your Own) CosmosDb resource", + "type": "string" + }, + "storageAccountArmId": { + "description": "The customer BYO (Bring Your Own) Storage resource", + "type": "string" + }, + "searchAccountArmId": { + "description": "The customer BYO (Bring Your Own) Search resource", + "type": "string" + }, }, "required": [ "status", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e0b73b28c676..3e35418a8b51 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7164,11 +7164,6 @@ "description": "Service Token", "type": "object", "properties": { - "accessToken": { - "description": "Access token for endpoint authentication.", - "type": "string", - "x-nullable": true - }, "expiryTimeUtc": { "format": "int64", "description": "Access token expiry time (UTC).", @@ -7181,6 +7176,12 @@ "default": 0, "type": "integer" }, + "secrets": { + "description": "Endpoint authentication secrets.", + "$ref": "#/definitions/EndpointAuthTokenSecrets", + "x-ms-secret": true, + "x-nullable": true + }, "tokenType": { "description": "Access token type.", "type": "string", @@ -7189,6 +7190,17 @@ }, "additionalProperties": false }, + "EndpointAuthTokenSecrets": { + "type": "object", + "properties": { + "accessToken": { + "description": "Access token for endpoint authentication.", + "type": "string", + "x-nullable": true + } + }, + "additionalProperties": false + }, "EndpointComputeType": { "description": "Enum to determine endpoint compute type.", "enum": [ From f3a4f41f5be4b8ee2f8cc711997d2fe3357e7f1a Mon Sep 17 00:00:00 2001 From: Xi Jin Date: Fri, 24 Sep 2021 16:25:18 -0700 Subject: [PATCH 141/211] Space --- .../stable/2021-10-01/examples/Workspace/create.json | 6 +++--- .../stable/2021-10-01/examples/Workspace/get.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index 54294d7d25f6..f06ea1c0c20a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -85,9 +85,9 @@ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" }, - "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", + "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index 3d3a9a5de09b..13d976e03e23 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -42,9 +42,9 @@ "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" }, - "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch", + "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", + "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch", }, "hbiWorkspace": false, "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", From dbe400c313aa62499dc1bacff2aa783011586ac0 Mon Sep 17 00:00:00 2001 From: Xi Jin Date: Fri, 24 Sep 2021 17:01:07 -0700 Subject: [PATCH 142/211] Space --- .../examples/OnlineEndpoint/getToken.json | 4 +--- .../2021-10-01/examples/Workspace/create.json | 5 +---- .../2021-10-01/examples/Workspace/get.json | 2 +- .../2021-10-01/machineLearningServices.json | 6 ++--- .../stable/2021-10-01/mfe.json | 22 +++++-------------- 5 files changed, 11 insertions(+), 28 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json index 4c9f16510d92..b1a05dea3991 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json @@ -10,9 +10,7 @@ "200": { "headers": {}, "body": { - "secrets": { - "accessToken": "string" - }, + "accessToken": "string", "tokenType": "string", "expiryTimeUtc": 1, "refreshAfterTimeUtc": 1 diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index f06ea1c0c20a..7c6ede482b09 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -28,10 +28,7 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - }, - "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + } }, "hbiWorkspace": false, "sharedPrivateLinkResources": [ diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index 13d976e03e23..ac3792e50b2d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -44,7 +44,7 @@ }, "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch", + "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index fea52a4ef844..dce3356c4bef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4468,14 +4468,14 @@ "description": "The customer BYO (Bring Your Own) CosmosDb resource", "type": "string" }, - "storageAccountArmId": { + "storageAccountArmId": { "description": "The customer BYO (Bring Your Own) Storage resource", "type": "string" }, - "searchAccountArmId": { + "searchAccountArmId": { "description": "The customer BYO (Bring Your Own) Search resource", "type": "string" - }, + } }, "required": [ "status", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 3e35418a8b51..e0b73b28c676 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7164,6 +7164,11 @@ "description": "Service Token", "type": "object", "properties": { + "accessToken": { + "description": "Access token for endpoint authentication.", + "type": "string", + "x-nullable": true + }, "expiryTimeUtc": { "format": "int64", "description": "Access token expiry time (UTC).", @@ -7176,12 +7181,6 @@ "default": 0, "type": "integer" }, - "secrets": { - "description": "Endpoint authentication secrets.", - "$ref": "#/definitions/EndpointAuthTokenSecrets", - "x-ms-secret": true, - "x-nullable": true - }, "tokenType": { "description": "Access token type.", "type": "string", @@ -7190,17 +7189,6 @@ }, "additionalProperties": false }, - "EndpointAuthTokenSecrets": { - "type": "object", - "properties": { - "accessToken": { - "description": "Access token for endpoint authentication.", - "type": "string", - "x-nullable": true - } - }, - "additionalProperties": false - }, "EndpointComputeType": { "description": "Enum to determine endpoint compute type.", "enum": [ From 181fad8210a337c0cf5988c691710c145396b5fc Mon Sep 17 00:00:00 2001 From: Xi Jin Date: Mon, 27 Sep 2021 21:40:22 -0700 Subject: [PATCH 143/211] Fix upper case --- .../stable/2021-10-01/examples/Workspace/create.json | 4 ++-- .../stable/2021-10-01/examples/Workspace/get.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index 7c6ede482b09..0d22a6fac6e2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -83,8 +83,8 @@ "identityClientId": "" }, "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + "storageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "searchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index ac3792e50b2d..d2cf957e9aa1 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -43,8 +43,8 @@ "identityClientId": "" }, "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "StorageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "SearchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + "storageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", + "searchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" }, "hbiWorkspace": false, "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", From 3b114db093bdf83d0217dc7bcf4a4d8a936d3fe2 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Thu, 30 Sep 2021 13:21:37 -0700 Subject: [PATCH 144/211] revert BYO cmk resources feature --- .../stable/2021-10-01/examples/Workspace/create.json | 5 +---- .../stable/2021-10-01/examples/Workspace/get.json | 5 +---- .../stable/2021-10-01/machineLearningServices.json | 12 ------------ 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index 0d22a6fac6e2..fe7433ca89dd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -81,10 +81,7 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - }, - "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "storageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "searchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + } }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index d2cf957e9aa1..ed94769dd072 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -41,10 +41,7 @@ "keyVaultArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv", "keyIdentifier": "https://testkv.vault.azure.net/keys/testkey/aabbccddee112233445566778899aabb", "identityClientId": "" - }, - "cosmosDbArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.DocumentDb/databaseAccounts/testcosmosdb", - "storageAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Storage/storageAccounts/teststorage", - "searchAccountArmId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.Search/searchServices/testsearch" + } }, "hbiWorkspace": false, "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index dce3356c4bef..3035a921b0e5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4463,18 +4463,6 @@ "keyVaultProperties": { "$ref": "#/definitions/KeyVaultProperties", "description": "Customer Key vault properties." - }, - "cosmosDbArmId": { - "description": "The customer BYO (Bring Your Own) CosmosDb resource", - "type": "string" - }, - "storageAccountArmId": { - "description": "The customer BYO (Bring Your Own) Storage resource", - "type": "string" - }, - "searchAccountArmId": { - "description": "The customer BYO (Bring Your Own) Search resource", - "type": "string" } }, "required": [ From 7b1b6b916c3c7d70283ea99b907e4a8153df3ed4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 16:49:37 -0400 Subject: [PATCH 145/211] update SearchSpace to just object type --- .../stable/2021-10-01/mfe.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e0b73b28c676..7ed2ab2ad6a8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -10052,11 +10052,7 @@ }, "searchSpace": { "description": "A dictionary containing each parameter and its distribution. The dictionary key is the name of the parameter", - "type": "object", - "additionalProperties": { - "type": "object", - "x-nullable": true - } + "type": "object" }, "trial": { "description": "Trial component definition.", From 5ced2223c83d7e5b114201ad6df8e2aaab43750c Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 16:54:25 -0400 Subject: [PATCH 146/211] update CommandJob.Parameters to just object type --- .../stable/2021-10-01/mfe.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 7ed2ab2ad6a8..d7f3fe00d51b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6237,9 +6237,6 @@ "parameters": { "description": "Input parameters.", "type": "object", - "additionalProperties": { - "x-nullable": true - }, "readOnly": true, "x-ms-mutability": [ "read" From b94b44caca163ca82f17adc8609d66ff9f8cbcd2 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 16:58:25 -0400 Subject: [PATCH 147/211] ake JobLimits polymorphic --- .../examples/Job/SweepJob/createOrUpdate.json | 3 ++ .../2021-10-01/examples/Job/SweepJob/get.json | 1 + .../examples/Job/SweepJob/list.json | 1 + .../stable/2021-10-01/mfe.json | 53 +++++++++++-------- 4 files changed, 35 insertions(+), 23 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json index 2e80ea9501a4..52f6cdcfc2fc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json @@ -30,6 +30,7 @@ "jobType": "Sweep", "samplingAlgorithm": "Grid", "limits": { + "jobLimitsType": "Sweep", "maxTotalTrials": 1, "maxConcurrentTrials": 1, "trialTimeout": "string" @@ -105,6 +106,7 @@ "jobType": "Sweep", "samplingAlgorithm": "Grid", "limits": { + "jobLimitsType": "Sweep", "maxTotalTrials": 1, "maxConcurrentTrials": 1, "trialTimeout": "string" @@ -187,6 +189,7 @@ "jobType": "Sweep", "samplingAlgorithm": "Grid", "limits": { + "jobLimitsType": "Sweep", "maxTotalTrials": 1, "maxConcurrentTrials": 1, "trialTimeout": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json index fa06395e5a0d..796e7c7bccb0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json @@ -41,6 +41,7 @@ "jobType": "Sweep", "samplingAlgorithm": "Grid", "limits": { + "jobLimitsType": "Sweep", "maxTotalTrials": 1, "maxConcurrentTrials": 1, "trialTimeout": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json index 86a717d9b21c..264939b5ca10 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json @@ -45,6 +45,7 @@ "jobType": "Sweep", "samplingAlgorithm": "Grid", "limits": { + "jobLimitsType": "Sweep", "maxTotalTrials": 1, "maxConcurrentTrials": 1, "trialTimeout": "string" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index d7f3fe00d51b..43cfd30008e7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6259,19 +6259,12 @@ "CommandJobLimits": { "description": "Command Job limit class.", "type": "object", - "properties": { - "jobLimitsType": { - "description": "Command Job limit type.", - "$ref": "#/definitions/JobLimitsType", - "readOnly": true - }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string", - "x-nullable": true + "allOf": [ + { + "$ref": "#/definitions/JobLimits" } - }, + ], + "x-ms-discriminator-value": "Command", "additionalProperties": false }, "ComponentContainer": { @@ -7845,6 +7838,25 @@ "x-ms-discriminator-value": "Uri", "additionalProperties": false }, + "JobLimits": { + "required": [ + "jobLimitsType" + ], + "type": "object", + "properties": { + "jobLimitsType": { + "description": "Joblimit type.", + "$ref": "#/definitions/JobLimitsType" + }, + "timeout": { + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", + "type": "string", + "x-nullable": true + } + }, + "discriminator": "jobLimitsType" + }, "JobLimitsType": { "enum": [ "Command", @@ -10063,12 +10075,12 @@ "SweepJobLimits": { "description": "Sweep Job limit class.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/JobLimits" + } + ], "properties": { - "jobLimitsType": { - "description": "Sweep Job limit type.", - "$ref": "#/definitions/JobLimitsType", - "readOnly": true - }, "maxConcurrentTrials": { "format": "int32", "description": "Sweep Job max concurrent trials.", @@ -10081,12 +10093,6 @@ "type": "integer", "x-nullable": true }, - "timeout": { - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds.", - "type": "string", - "x-nullable": true - }, "trialTimeout": { "format": "duration", "description": "Sweep Job Trial timeout value.", @@ -10094,6 +10100,7 @@ "x-nullable": true } }, + "x-ms-discriminator-value": "Sweep", "additionalProperties": false }, "TargetUtilizationScaleSettings": { From 010dbe874e9fbf0656584bda3bf84dcb2d20bbe9 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 19:54:30 -0400 Subject: [PATCH 148/211] restructure spec w/ hierarchical relationships --- .../stable/2021-10-01/mfe.json | 872 ++++++------------ 1 file changed, 270 insertions(+), 602 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 43cfd30008e7..8a254a0b0e5b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5153,6 +5153,55 @@ "x-ms-discriminator-value": "AMLToken", "additionalProperties": false }, + "AssetBase": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "isAnonymous": { + "description": "If the name version are system generated (anonymous registration).", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read" + ] + } + }, + "additionalProperties": false + }, + "AssetContainer": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], + "properties": { + "latestVersion": { + "description": "The latest version inside this container.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "nextVersion": { + "description": "The next auto incremental version", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + } + }, + "additionalProperties": false + }, "AssetReferenceBase": { "description": "Base definition for asset references.", "required": [ @@ -5171,8 +5220,7 @@ "description": "Azure Blob datastore configuration.", "required": [ "accountName", - "containerName", - "credentials" + "containerName" ], "type": "object", "allOf": [ @@ -5234,7 +5282,6 @@ "AzureDataLakeGen1Datastore": { "description": "Azure Data Lake Gen1 datastore configuration.", "required": [ - "credentials", "storeName" ], "type": "object", @@ -5269,7 +5316,6 @@ "description": "Azure Data Lake Gen2 datastore configuration.", "required": [ "accountName", - "credentials", "filesystem" ], "type": "object", @@ -5333,7 +5379,6 @@ "description": "Azure File datastore configuration.", "required": [ "accountName", - "credentials", "fileShareName" ], "type": "object", @@ -5446,36 +5491,17 @@ "BatchDeployment": { "description": "Batch inference settings per deployment.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointDeploymentPropertiesBase" + } + ], "properties": { - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration", - "x-nullable": true - }, "compute": { "description": "Compute target for batch inference operation.", "type": "string", "x-nullable": true }, - "description": { - "description": "Description of the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "errorThreshold": { "format": "int32", "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored.", @@ -5513,15 +5539,6 @@ "type": "string", "x-nullable": true }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", "$ref": "#/definitions/DeploymentProvisioningState", @@ -5604,39 +5621,17 @@ "BatchEndpoint": { "description": "Batch endpoint configuration.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointPropertiesBase" + } + ], "properties": { - "authMode": { - "description": "Authentication mode", - "$ref": "#/definitions/EndpointAuthMode" - }, "defaults": { "description": "Default values for Batch Endpoint", "$ref": "#/definitions/BatchEndpointDefaults", "x-nullable": true }, - "description": { - "description": "Description of the inference endpoint.", - "type": "string", - "x-nullable": true - }, - "keys": { - "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", - "$ref": "#/definitions/EndpointAuthKeys", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true, - "x-nullable": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "provisioningState": { "description": "Provisioning state for the endpoint.", "$ref": "#/definitions/EndpointProvisioningState", @@ -5644,26 +5639,6 @@ "x-ms-mutability": [ "read" ] - }, - "scoringUri": { - "format": "uri", - "description": "Endpoint URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "swaggerUri": { - "format": "uri", - "description": "Endpoint Swagger URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -5944,49 +5919,11 @@ "CodeContainer": { "description": "Container for code asset versions.", "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "latestVersion": { - "description": "The latest version inside this container.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" } - }, + ], "additionalProperties": false }, "CodeContainerResource": { @@ -6038,44 +5975,17 @@ "CodeVersion": { "description": "Code asset version details.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], "properties": { "codeUri": { "description": "Uri where code is located", "type": "string", "example": "https://blobStorage/folderName", "x-nullable": true - }, - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "additionalProperties": false @@ -6270,70 +6180,32 @@ "ComponentContainer": { "description": "Component container definition.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "additionalProperties": false + }, + "ComponentContainerResource": { + "description": "Azure Resource Manager resource envelope.", + "required": [ + "properties" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "latestVersion": { - "description": "The latest version inside this container.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true + "properties": { + "description": "Additional attributes of the entity.", + "$ref": "#/definitions/ComponentContainer" }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - } - }, - "additionalProperties": false - }, - "ComponentContainerResource": { - "description": "Azure Resource Manager resource envelope.", - "required": [ - "properties" - ], - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/ComponentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", "readOnly": true, "x-ms-mutability": [ "read" @@ -6426,6 +6298,11 @@ "ComponentVersion": { "description": "Definition of a component version: defines resources that span component types.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], "properties": { "componentSpec": { "description": "Defines Component definition details.", @@ -6435,38 +6312,6 @@ "read" ], "x-nullable": true - }, - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "additionalProperties": false @@ -6612,49 +6457,11 @@ "DatasetContainer": { "description": "Container for dataset asset versions.", "type": "object", - "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "latestVersion": { - "description": "The latest version inside this container.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" } - }, + ], "additionalProperties": false }, "DatasetContainerResource": { @@ -6709,21 +6516,12 @@ "paths" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, "paths": { "description": "The path of the file/directory in the datastore or https/wasb/adlsgen storage url.", "type": "array", @@ -6734,24 +6532,6 @@ "create", "read" ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "additionalProperties": false @@ -6809,6 +6589,11 @@ "datastoreType" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], "properties": { "credentials": { "description": "Account credentials.", @@ -6818,11 +6603,6 @@ "description": "Storage type backing the datastore.", "$ref": "#/definitions/DatastoreType" }, - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, "isDefault": { "description": "Readonly property to indicate if datastore is the workspace default datastore", "type": "boolean", @@ -6830,24 +6610,6 @@ "x-ms-mutability": [ "read" ] - }, - "properties": { - "description": "Datastore properties", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "discriminator": "datastoreType" @@ -7193,71 +6955,130 @@ }, "additionalProperties": false }, - "EndpointProvisioningState": { - "description": "State of endpoint provisioning.", - "enum": [ - "Creating", - "Deleting", - "Succeeded", - "Failed", - "Updating", - "Canceled" - ], - "type": "string", - "x-ms-enum": { - "name": "EndpointProvisioningState", - "modelAsString": true - }, - "additionalProperties": false - }, - "EnvironmentContainer": { - "description": "Container for environment specification versions.", + "EndpointDeploymentPropertiesBase": { + "description": "Base definition for endpoint deployment.", "type": "object", "properties": { + "codeConfiguration": { + "description": "Code configuration for the endpoint deployment.", + "$ref": "#/definitions/CodeConfiguration", + "x-nullable": true + }, "description": { - "description": "The asset description text.", + "description": "Description of the endpoint deployment.", "type": "string", "x-nullable": true }, - "latestVersion": { - "description": "The latest version inside this container.", + "environmentId": { + "description": "ARM resource ID of the environment specification for the endpoint deployment.", "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], "x-nullable": true }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], + "environmentVariables": { + "description": "Environment variables configuration for the deployment.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, "x-nullable": true }, "properties": { - "description": "The asset property dictionary.", + "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { "type": "string", "x-nullable": true }, "x-nullable": true + } + }, + "additionalProperties": false + }, + "EndpointPropertiesBase": { + "description": "Inference Endpoint base definition", + "required": [ + "authMode" + ], + "type": "object", + "properties": { + "authMode": { + "description": "Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.\r\n'Key' doesn't expire but 'AMLToken' does.", + "$ref": "#/definitions/EndpointAuthMode" }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", + "description": { + "description": "Description of the inference endpoint.", + "type": "string", + "x-nullable": true + }, + "keys": { + "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", + "$ref": "#/definitions/EndpointAuthKeys", + "x-ms-mutability": [ + "create" + ], + "x-ms-secret": true, + "x-nullable": true + }, + "properties": { + "description": "Property dictionary. Properties can be added, but not removed or altered.", "type": "object", "additionalProperties": { "type": "string", "x-nullable": true }, "x-nullable": true + }, + "scoringUri": { + "format": "uri", + "description": "Endpoint URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "swaggerUri": { + "format": "uri", + "description": "Endpoint Swagger URI.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false }, + "EndpointProvisioningState": { + "description": "State of endpoint provisioning.", + "enum": [ + "Creating", + "Deleting", + "Succeeded", + "Failed", + "Updating", + "Canceled" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointProvisioningState", + "modelAsString": true + }, + "additionalProperties": false + }, + "EnvironmentContainer": { + "description": "Container for environment specification versions.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" + } + ], + "additionalProperties": false + }, "EnvironmentContainerResource": { "description": "Azure Resource Manager resource envelope.", "required": [ @@ -7320,6 +7141,11 @@ "EnvironmentVersion": { "description": "Environment version details.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], "properties": { "build": { "description": "Configuration settings for Docker build context.", @@ -7332,15 +7158,10 @@ "condaFile": { "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n", "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true + "x-ms-mutability": [ + "create", + "read" + ] }, "environmentType": { "description": "Environment type is either user managed or curated by the Azure ML service\r\n", @@ -7367,15 +7188,6 @@ "read" ] }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, "osType": { "description": "The OS type of the environment.", "$ref": "#/definitions/OperatingSystemType", @@ -7383,24 +7195,6 @@ "create", "read" ] - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "additionalProperties": false @@ -7580,6 +7374,11 @@ "jobType" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ResourceBase" + } + ], "properties": { "computeId": { "description": "ARM resource ID of the compute resource.", @@ -7590,11 +7389,6 @@ ], "x-nullable": true }, - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, "displayName": { "description": "Display name of job.", "type": "string", @@ -7630,15 +7424,6 @@ ], "x-nullable": true }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "services": { "description": "List of JobEndpoints.\r\nFor local jobs, a job endpoint will have an endpoint value of FileStreamObject.", "type": "object", @@ -7655,15 +7440,6 @@ "x-ms-mutability": [ "read" ] - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "discriminator": "jobType" @@ -8158,49 +7934,11 @@ }, "ModelContainer": { "type": "object", - "properties": { - "description": { - "description": "The model container description text.", - "type": "string", - "x-nullable": true - }, - "latestVersion": { - "description": "The latest version inside this container.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "nextVersion": { - "description": "The next auto incremental version", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true + "allOf": [ + { + "$ref": "#/definitions/AssetContainer" } - }, + ], "additionalProperties": false }, "ModelContainerResource": { @@ -8270,12 +8008,12 @@ "modelUri" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AssetBase" + } + ], "properties": { - "description": { - "description": "The asset description text.", - "type": "string", - "x-nullable": true - }, "flavors": { "description": "Mapping of model flavors to their properties.", "type": "object", @@ -8285,15 +8023,6 @@ }, "x-nullable": true }, - "isAnonymous": { - "description": "If the name version are system generated (anonymous registration).", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, "jobName": { "description": "Name of the training job which produced this model", "type": "string", @@ -8301,30 +8030,13 @@ }, "modelFormat": { "description": "The storage format for this entity. Used for NCD.", + "default": "Custom", "$ref": "#/definitions/ModelFormat" }, "modelUri": { "description": "The URI path to the model contents.", "pattern": "[a-zA-Z0-9_]", "type": "string" - }, - "properties": { - "description": "The asset property dictionary.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "tags": { - "description": "Tag dictionary. Tags can be added, removed, and updated.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true } }, "additionalProperties": false @@ -8434,40 +8146,21 @@ "endpointComputeType" ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointDeploymentPropertiesBase" + } + ], "properties": { "appInsightsEnabled": { "description": "If true, enables Application Insights logging.", "default": false, "type": "boolean" }, - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/CodeConfiguration", - "x-nullable": true - }, - "description": { - "description": "Description of the endpoint deployment.", - "type": "string", - "x-nullable": true - }, "endpointComputeType": { "description": "The compute type of the endpoint.", "$ref": "#/definitions/EndpointComputeType" }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "instanceType": { "description": "Compute instance type.", "type": "string", @@ -8492,15 +8185,6 @@ "type": "string", "x-nullable": true }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", "$ref": "#/definitions/DeploymentProvisioningState", @@ -8587,48 +8271,23 @@ }, "OnlineEndpoint": { "description": "Online endpoint configuration", - "required": [ - "authMode" - ], "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EndpointPropertiesBase" + } + ], "properties": { "allowPublicAccess": { "description": "Set to true for endpoints that should allow public access when Private Link is enabled.", "default": true, "type": "boolean" }, - "authMode": { - "description": "Use 'key' for key based authentication and 'aml_token' for Azure Machine Learning token-based authentication.\r\nkey doesn't expire but aml_token does.", - "$ref": "#/definitions/EndpointAuthMode" - }, "compute": { "description": "ARM resource ID of the compute if it exists.\r\noptional", "type": "string", "x-nullable": true }, - "description": { - "description": "Description of the inference endpoint.", - "type": "string", - "x-nullable": true - }, - "keys": { - "description": "EndpointAuthKeys to set initially on an Endpoint.\r\nThis property will always be returned as null. AuthKey values must be retrieved using the ListKeys API.", - "$ref": "#/definitions/EndpointAuthKeys", - "x-ms-mutability": [ - "create" - ], - "x-ms-secret": true, - "x-nullable": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, "provisioningState": { "description": "Provisioning state for the endpoint.", "$ref": "#/definitions/EndpointProvisioningState", @@ -8637,26 +8296,6 @@ "read" ] }, - "scoringUri": { - "format": "uri", - "description": "Endpoint URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "swaggerUri": { - "format": "uri", - "description": "Endpoint Swagger URI.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, "traffic": { "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", "type": "object", @@ -9653,6 +9292,35 @@ }, "additionalProperties": false }, + "ResourceBase": { + "type": "object", + "properties": { + "description": { + "description": "The asset description text.", + "type": "string", + "x-nullable": true + }, + "properties": { + "description": "The asset property dictionary.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + }, + "tags": { + "description": "Tag dictionary. Tags can be added, removed, and updated.", + "type": "object", + "additionalProperties": { + "type": "string", + "x-nullable": true + }, + "x-nullable": true + } + }, + "additionalProperties": false + }, "ResourceConfiguration": { "type": "object", "properties": { From 232727972f6bfb5b026233c41fb211592344d295 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 19:55:30 -0400 Subject: [PATCH 149/211] add more defaults --- .../stable/2021-10-01/mfe.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 8a254a0b0e5b..14706b663421 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5269,6 +5269,7 @@ }, "serviceDataAccessAuthIdentity": { "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", "$ref": "#/definitions/ServiceDataAccessAuthIdentity", "x-ms-mutability": [ "create", @@ -5293,6 +5294,7 @@ "properties": { "serviceDataAccessAuthIdentity": { "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", "$ref": "#/definitions/ServiceDataAccessAuthIdentity", "x-ms-mutability": [ "create", @@ -5365,6 +5367,7 @@ }, "serviceDataAccessAuthIdentity": { "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", "$ref": "#/definitions/ServiceDataAccessAuthIdentity", "x-ms-mutability": [ "create", @@ -5428,6 +5431,7 @@ }, "serviceDataAccessAuthIdentity": { "description": "Indicates which identity to use to authenticate service data access to customer's storage.", + "default": "None", "$ref": "#/definitions/ServiceDataAccessAuthIdentity", "x-ms-mutability": [ "create", @@ -5510,6 +5514,7 @@ }, "loggingLevel": { "description": "Logging level for batch inference operation.", + "default": "Info", "$ref": "#/definitions/BatchLoggingLevel" }, "maxConcurrencyPerInstance": { @@ -5531,6 +5536,7 @@ }, "outputAction": { "description": "Indicates how the output will be organized.", + "default": "AppendRow", "$ref": "#/definitions/BatchOutputAction" }, "outputFileName": { @@ -6729,6 +6735,7 @@ "properties": { "containerType": { "description": "The type of container to retrieve logs from.", + "default": "InferenceServer", "$ref": "#/definitions/ContainerType" }, "tail": { @@ -7190,6 +7197,7 @@ }, "osType": { "description": "The OS type of the environment.", + "default": "Linux", "$ref": "#/definitions/OperatingSystemType", "x-ms-mutability": [ "create", @@ -7540,6 +7548,7 @@ }, "mode": { "description": "Dataset Delivery Mode.", + "default": "ReadOnlyMount", "$ref": "#/definitions/InputDataDeliveryMode", "x-ms-mutability": [ "create", @@ -7596,6 +7605,7 @@ "properties": { "mode": { "description": "Input Uri Delivery Mode.", + "default": "ReadOnlyMount", "$ref": "#/definitions/InputDataDeliveryMode", "x-ms-mutability": [ "create", @@ -7683,6 +7693,7 @@ "properties": { "mode": { "description": "Output Delivery Mode.", + "default": "ReadWriteMount", "$ref": "#/definitions/OutputDataDeliveryMode", "x-ms-mutability": [ "create", @@ -9616,6 +9627,7 @@ }, "scaleType": { "description": "Gets or sets the type of the scale.", + "default": "Automatic", "$ref": "#/definitions/SkuScaleType" } }, @@ -9649,6 +9661,7 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "default": "Basic", "$ref": "types.json#/definitions/SkuTier" } }, From 5e1afed96835e1c0c13dc2c67e3f743f9b276a15 Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 19:56:02 -0400 Subject: [PATCH 150/211] fix container resource requirement examples --- .../stable/2021-10-01/mfe.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 14706b663421..b53bd4c596ef 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6391,19 +6391,19 @@ "cpu": { "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"1\"", + "example": "1", "x-nullable": true }, "gpu": { "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"1\"", + "example": "1", "x-nullable": true }, "memory": { "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"2Gi\"", + "example": "2Gi", "x-nullable": true } }, @@ -8723,19 +8723,19 @@ "cpu": { "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"1\"", + "example": "1", "x-nullable": true }, "gpu": { "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"1\"", + "example": "1", "x-nullable": true }, "memory": { "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", "type": "string", - "example": "\"2Gi\"", + "example": "2Gi", "x-nullable": true } }, From b0e720851e7f0071dd653c6430af6be844975f8e Mon Sep 17 00:00:00 2001 From: Teddy Date: Tue, 5 Oct 2021 19:56:34 -0400 Subject: [PATCH 151/211] add KeyType example --- .../stable/2021-10-01/mfe.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index b53bd4c596ef..10e6375455ca 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -9293,7 +9293,8 @@ "properties": { "keyType": { "description": "Specification for which type of key to generate. Primary or Secondary.", - "$ref": "#/definitions/KeyType" + "$ref": "#/definitions/KeyType", + "example": "Primary" }, "keyValue": { "description": "The value the key is set to.", From 9063435f89e95cd92de1605c0093d14a9a0c8285 Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Thu, 7 Oct 2021 13:34:43 -0500 Subject: [PATCH 152/211] Updated mfe spec - Updated ModelVersion contract to make modelUri optional --- .../stable/2021-10-01/mfe.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 10e6375455ca..9e5b4ae5926a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8015,9 +8015,6 @@ }, "ModelVersion": { "description": "Model asset version details.", - "required": [ - "modelUri" - ], "type": "object", "allOf": [ { @@ -8046,8 +8043,8 @@ }, "modelUri": { "description": "The URI path to the model contents.", - "pattern": "[a-zA-Z0-9_]", - "type": "string" + "type": "string", + "x-nullable": true } }, "additionalProperties": false @@ -9992,4 +9989,4 @@ "description": "Azure Active Directory OAuth2 Flow." } } -} +} \ No newline at end of file From 107d75e2b43f7c8d9750a85289d62c9ffa2ab48f Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 13 Oct 2021 13:43:38 -0400 Subject: [PATCH 153/211] bump mfe to common-types v3 --- .../stable/2021-10-01/mfe.json | 784 +++++++----------- 1 file changed, 320 insertions(+), 464 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 10e6375455ca..c69432575158 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -21,7 +21,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -34,10 +34,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -47,7 +47,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -86,13 +86,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -102,7 +102,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -161,13 +161,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -177,7 +177,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -215,13 +215,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -240,7 +240,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -303,13 +303,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -328,7 +328,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -385,7 +385,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -404,10 +404,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -417,7 +417,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -463,13 +463,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -479,7 +479,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "202": { @@ -545,13 +545,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -561,7 +561,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -607,13 +607,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -632,7 +632,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -703,13 +703,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -728,7 +728,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -785,13 +785,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -801,7 +801,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -830,16 +830,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -849,7 +849,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -888,13 +888,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -904,7 +904,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -938,13 +938,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -954,7 +954,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -992,13 +992,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1017,7 +1017,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1059,7 +1059,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1078,10 +1078,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1091,7 +1091,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1137,13 +1137,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1153,7 +1153,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1194,13 +1194,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1210,7 +1210,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1255,13 +1255,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1280,7 +1280,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1315,16 +1315,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1334,7 +1334,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1373,13 +1373,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1389,7 +1389,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1423,13 +1423,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1439,7 +1439,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1477,13 +1477,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1502,7 +1502,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1544,7 +1544,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1563,10 +1563,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1576,7 +1576,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1622,13 +1622,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1638,7 +1638,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1679,13 +1679,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1695,7 +1695,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1740,13 +1740,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1765,7 +1765,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1800,16 +1800,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1819,7 +1819,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1858,13 +1858,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1874,7 +1874,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1908,13 +1908,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1924,7 +1924,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1962,13 +1962,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1987,7 +1987,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2029,7 +2029,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2054,10 +2054,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2067,7 +2067,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2113,13 +2113,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2129,7 +2129,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2170,13 +2170,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2186,7 +2186,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2231,13 +2231,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2256,7 +2256,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2291,7 +2291,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -2339,10 +2339,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2352,7 +2352,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2391,13 +2391,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2407,7 +2407,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2441,13 +2441,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2457,7 +2457,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2495,7 +2495,7 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2505,10 +2505,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2527,7 +2527,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2578,13 +2578,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2594,7 +2594,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2624,16 +2624,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2643,7 +2643,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2682,13 +2682,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2698,7 +2698,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2732,13 +2732,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2748,7 +2748,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2786,13 +2786,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2811,7 +2811,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2853,7 +2853,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2872,10 +2872,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2885,7 +2885,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2931,13 +2931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2947,7 +2947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2988,13 +2988,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3004,7 +3004,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3049,13 +3049,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3074,7 +3074,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3109,7 +3109,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3127,10 +3127,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3140,7 +3140,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3185,13 +3185,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3201,7 +3201,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3260,13 +3260,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3276,7 +3276,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3320,13 +3320,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3345,7 +3345,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3393,13 +3393,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3409,7 +3409,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3435,7 +3435,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3448,10 +3448,10 @@ "format": "int32" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3461,7 +3461,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3500,13 +3500,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3516,7 +3516,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3550,13 +3550,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3566,7 +3566,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3604,13 +3604,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3629,7 +3629,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3671,7 +3671,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3727,10 +3727,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3740,7 +3740,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3786,13 +3786,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3802,7 +3802,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3843,13 +3843,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3859,7 +3859,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3904,13 +3904,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3929,7 +3929,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3964,7 +3964,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4026,10 +4026,10 @@ } }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4039,7 +4039,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4078,13 +4078,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4094,7 +4094,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "204": { @@ -4153,13 +4153,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4169,7 +4169,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4206,13 +4206,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4231,7 +4231,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4294,13 +4294,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4319,7 +4319,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4376,7 +4376,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4395,10 +4395,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4408,7 +4408,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4454,13 +4454,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4470,7 +4470,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4536,13 +4536,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4552,7 +4552,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4601,13 +4601,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4626,7 +4626,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4700,13 +4700,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4725,7 +4725,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4795,13 +4795,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4820,7 +4820,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4863,7 +4863,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4876,10 +4876,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4889,7 +4889,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4931,13 +4931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4947,7 +4947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4986,13 +4986,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5011,7 +5011,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5064,13 +5064,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5080,7 +5080,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5574,7 +5574,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5593,15 +5593,6 @@ "sku": { "description": "Sku details required for ARM contract for Autoscaling.", "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -5669,7 +5660,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5688,15 +5679,6 @@ "sku": { "description": "Sku details required for ARM contract for Autoscaling.", "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -5940,22 +5922,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6004,22 +5977,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6201,22 +6165,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6330,22 +6285,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6478,22 +6424,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6550,22 +6487,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6642,22 +6570,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/Datastore" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7094,22 +7013,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7215,22 +7125,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7460,22 +7361,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/JobBase" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7960,22 +7852,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -8060,22 +7943,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -8230,7 +8104,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8249,15 +8123,6 @@ "sku": { "description": "Sku details required for ARM contract for Autoscaling.", "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -8327,7 +8192,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8346,15 +8211,6 @@ "sku": { "description": "Sku details required for ARM contract for Autoscaling.", "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false From 96e5913aea5141db4129658113289b09895104d4 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 13 Oct 2021 13:52:51 -0400 Subject: [PATCH 154/211] bump mls to common-types v3 --- .../2021-10-01/machineLearningServices.json | 314 +++++++++--------- 1 file changed, 149 insertions(+), 165 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 3035a921b0e5..9985359ed656 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -43,7 +43,7 @@ "operationId": "Operations_List", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -79,13 +79,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -101,7 +101,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -120,13 +120,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -154,7 +154,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -173,13 +173,13 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -198,7 +198,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -216,13 +216,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -247,7 +247,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -267,13 +267,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -289,7 +289,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -313,16 +313,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -359,7 +359,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -388,13 +388,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -410,7 +410,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -431,13 +431,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -453,7 +453,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -468,10 +468,10 @@ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -517,10 +517,10 @@ "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -564,10 +564,10 @@ "description": "Quota update parameters." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -580,7 +580,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -600,10 +600,10 @@ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -624,7 +624,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -652,10 +652,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -671,7 +671,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -698,16 +698,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -723,7 +723,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -753,10 +753,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -765,7 +765,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -778,7 +778,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -819,10 +819,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -831,7 +831,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ComputeDefinitionParameter" @@ -859,7 +859,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -879,10 +879,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -891,7 +891,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -913,7 +913,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -933,10 +933,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -945,7 +945,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/UnderlyingResourceActionParameter" @@ -971,7 +971,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -986,10 +986,10 @@ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -998,7 +998,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1011,7 +1011,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1040,13 +1040,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1062,7 +1062,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1083,10 +1083,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1095,7 +1095,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1108,7 +1108,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1130,10 +1130,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1142,7 +1142,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1152,7 +1152,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1174,10 +1174,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1186,7 +1186,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1196,7 +1196,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1218,10 +1218,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1230,7 +1230,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1240,7 +1240,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1260,16 +1260,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1282,7 +1282,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1305,10 +1305,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1317,7 +1317,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1330,7 +1330,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1348,10 +1348,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1360,7 +1360,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "properties", @@ -1382,7 +1382,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1400,10 +1400,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1412,7 +1412,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1425,7 +1425,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1445,16 +1445,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1485,13 +1485,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1510,7 +1510,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1530,13 +1530,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1552,7 +1552,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1572,13 +1572,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1594,7 +1594,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1617,16 +1617,16 @@ "description": "List all connections under a AML workspace.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TargetParameter" @@ -1645,7 +1645,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1665,10 +1665,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1677,7 +1677,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1699,7 +1699,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1717,10 +1717,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1729,7 +1729,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1742,7 +1742,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1760,10 +1760,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1772,7 +1772,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1785,7 +1785,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1803,16 +1803,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1825,7 +1825,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1994,7 +1994,7 @@ "description": "An object that represents a machine learning workspace.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { @@ -2021,10 +2021,6 @@ "sku": { "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3066,7 +3062,7 @@ "description": "Machine Learning compute object wrapped into ARM resource envelope.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" }, { "type": "object", @@ -3097,10 +3093,6 @@ "sku": { "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3159,7 +3151,7 @@ "type": "array", "description": "Errors during provisioning", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" }, "readOnly": true }, @@ -3421,7 +3413,7 @@ "description": "Collection of errors encountered by various compute nodes during node setup.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "currentNodeCount": { @@ -3531,7 +3523,7 @@ "description": "Collection of errors encountered on this ComputeInstance.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "state": { @@ -4238,15 +4230,11 @@ "sku": { "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "description": "The Private Endpoint Connection resource." @@ -4370,15 +4358,11 @@ "sku": { "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "description": "A private link resource" From b6106a108efab31118bc71aaf75caaa389a411d8 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 13 Oct 2021 13:54:49 -0400 Subject: [PATCH 155/211] bump workspaceFeatures to common-types v3 --- .../stable/2021-10-01/workspaceFeatures.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json index ef634feb6960..b7aa83a88525 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -29,13 +29,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -51,7 +51,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, From e9548d0eb1f4b18579f1a5206ffc9d7ba6910504 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 13 Oct 2021 14:14:16 -0400 Subject: [PATCH 156/211] use common-types v3 Sku and SkuTier --- .../2021-10-01/machineLearningServices.json | 10 +-- .../stable/2021-10-01/mfe.json | 14 ++-- .../stable/2021-10-01/types.json | 64 ------------------- 3 files changed, 12 insertions(+), 76 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 9985359ed656..9af91a5e6ed9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2019,7 +2019,7 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." } } @@ -2177,7 +2177,7 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { @@ -3091,7 +3091,7 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." } } @@ -4228,7 +4228,7 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." } }, @@ -4356,7 +4356,7 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 9b5088fd9061..8e1c1e436c84 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5592,7 +5592,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -5678,7 +5678,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -8119,7 +8119,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -8207,7 +8207,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -8938,7 +8938,7 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "types.json#/definitions/SkuTier" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9516,7 +9516,7 @@ "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", "default": "Basic", - "$ref": "types.json#/definitions/SkuTier" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9845,4 +9845,4 @@ "description": "Azure Active Directory OAuth2 Flow." } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json deleted file mode 100644 index e66c77899eb2..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Machine Learning Workspaces", - "version": "2021-10-01" - }, - "paths": {}, - "definitions": { - "Sku": { - "description": "The resource model definition representing SKU", - "required": [ - "name" - ], - "type": "object", - "properties": { - "capacity": { - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "type": "integer" - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "$ref": "#/definitions/SkuTier" - } - } - }, - "SkuTier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow." - } - } -} From 367580d9eb23798b96ff65868854dcfe3241fd7f Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 13 Oct 2021 18:50:06 -0400 Subject: [PATCH 157/211] remove types.json from readme.md --- specification/machinelearningservices/resource-manager/readme.md | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 5eb3a4384e8e..c87627604c33 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -36,7 +36,6 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10-01' input-file: - - Microsoft.MachineLearningServices/stable/2021-10-01/types.json - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json From 74ff619ab09706765e5e44c06ab94a86cf843a14 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 14 Oct 2021 11:13:51 -0400 Subject: [PATCH 158/211] rename conflicting ResourceIdentityType to TEMPORARY name --- .../stable/2021-10-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 9af91a5e6ed9..96c38acd7a50 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2890,7 +2890,7 @@ "None" ], "x-ms-enum": { - "name": "ResourceIdentityType", + "name": "TempEnumName", "modelAsString": false } }, From d6e68e1813c3bb8303be1002dace9fda0cf649f0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 14 Oct 2021 11:23:19 -0400 Subject: [PATCH 159/211] rename conflicting Identity to TEMPORARY name --- .../stable/2021-10-01/machineLearningServices.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 96c38acd7a50..fa889a8ca4c2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2004,7 +2004,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -2181,7 +2181,7 @@ "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "properties": { @@ -2868,7 +2868,7 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "Identity": { + "TempIdentityName": { "properties": { "principalId": { "readOnly": true, @@ -3076,7 +3076,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -4213,7 +4213,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -4341,7 +4341,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { From 91df4720af40766065eb98a46010f777ea80acbb Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 14 Oct 2021 14:42:53 -0400 Subject: [PATCH 160/211] revert bump to common-types v3 --- .../2021-10-01/machineLearningServices.json | 338 ++++---- .../stable/2021-10-01/mfe.json | 798 +++++++++++------- .../stable/2021-10-01/types.json | 64 ++ .../stable/2021-10-01/workspaceFeatures.json | 8 +- .../resource-manager/readme.md | 1 + 5 files changed, 717 insertions(+), 492 deletions(-) create mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index fa889a8ca4c2..3035a921b0e5 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -43,7 +43,7 @@ "operationId": "Operations_List", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -79,13 +79,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -101,7 +101,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -120,13 +120,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -154,7 +154,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -173,13 +173,13 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -198,7 +198,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -216,13 +216,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -247,7 +247,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -267,13 +267,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -289,7 +289,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -313,16 +313,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -359,7 +359,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -388,13 +388,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -410,7 +410,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -431,13 +431,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -453,7 +453,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -468,10 +468,10 @@ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -517,10 +517,10 @@ "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -564,10 +564,10 @@ "description": "Quota update parameters." }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -580,7 +580,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -600,10 +600,10 @@ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -624,7 +624,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -652,10 +652,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -671,7 +671,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -698,16 +698,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -723,7 +723,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -753,10 +753,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -765,7 +765,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -778,7 +778,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -819,10 +819,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -831,7 +831,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ComputeDefinitionParameter" @@ -859,7 +859,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -879,10 +879,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -891,7 +891,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -913,7 +913,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -933,10 +933,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -945,7 +945,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/UnderlyingResourceActionParameter" @@ -971,7 +971,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -986,10 +986,10 @@ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -998,7 +998,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1011,7 +1011,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1040,13 +1040,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1062,7 +1062,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1083,10 +1083,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1095,7 +1095,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1108,7 +1108,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1130,10 +1130,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1142,7 +1142,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1152,7 +1152,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1174,10 +1174,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1186,7 +1186,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1196,7 +1196,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1218,10 +1218,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1230,7 +1230,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1240,7 +1240,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1260,16 +1260,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1282,7 +1282,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1305,10 +1305,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1317,7 +1317,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1330,7 +1330,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1348,10 +1348,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1360,7 +1360,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "properties", @@ -1382,7 +1382,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1400,10 +1400,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1412,7 +1412,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1425,7 +1425,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1445,16 +1445,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1485,13 +1485,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1510,7 +1510,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1530,13 +1530,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1552,7 +1552,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1572,13 +1572,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1594,7 +1594,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1617,16 +1617,16 @@ "description": "List all connections under a AML workspace.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TargetParameter" @@ -1645,7 +1645,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1665,10 +1665,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1677,7 +1677,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1699,7 +1699,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1717,10 +1717,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1729,7 +1729,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1742,7 +1742,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1760,10 +1760,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1772,7 +1772,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1785,7 +1785,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } } @@ -1803,16 +1803,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1825,7 +1825,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, @@ -1994,7 +1994,7 @@ "description": "An object that represents a machine learning workspace.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { @@ -2004,7 +2004,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -2019,8 +2019,12 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -2177,11 +2181,11 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "properties": { @@ -2868,7 +2872,7 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "TempIdentityName": { + "Identity": { "properties": { "principalId": { "readOnly": true, @@ -2890,7 +2894,7 @@ "None" ], "x-ms-enum": { - "name": "TempEnumName", + "name": "ResourceIdentityType", "modelAsString": false } }, @@ -3062,7 +3066,7 @@ "description": "Machine Learning compute object wrapped into ARM resource envelope.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" }, { "type": "object", @@ -3076,7 +3080,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -3091,8 +3095,12 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3151,7 +3159,7 @@ "type": "array", "description": "Errors during provisioning", "items": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" }, "readOnly": true }, @@ -3413,7 +3421,7 @@ "description": "Collection of errors encountered by various compute nodes during node setup.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "currentNodeCount": { @@ -3523,7 +3531,7 @@ "description": "Collection of errors encountered on this ComputeInstance.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "state": { @@ -4213,7 +4221,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -4228,13 +4236,17 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "description": "The Private Endpoint Connection resource." @@ -4341,7 +4353,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "#/definitions/Identity", "description": "The identity of the resource." }, "location": { @@ -4356,13 +4368,17 @@ } }, "sku": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", + "$ref": "types.json#/definitions/Sku", "description": "The sku of the workspace." + }, + "systemData": { + "description": "System data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "description": "A private link resource" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 8e1c1e436c84..9e5b4ae5926a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -21,7 +21,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -34,10 +34,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -47,7 +47,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -86,13 +86,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -102,7 +102,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -161,13 +161,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -177,7 +177,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -215,13 +215,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -240,7 +240,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -303,13 +303,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -328,7 +328,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -385,7 +385,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -404,10 +404,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -417,7 +417,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -463,13 +463,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -479,7 +479,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "202": { @@ -545,13 +545,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -561,7 +561,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -607,13 +607,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -632,7 +632,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -703,13 +703,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -728,7 +728,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -785,13 +785,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -801,7 +801,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -830,16 +830,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -849,7 +849,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -888,13 +888,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -904,7 +904,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -938,13 +938,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -954,7 +954,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -992,13 +992,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1017,7 +1017,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1059,7 +1059,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1078,10 +1078,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1091,7 +1091,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1137,13 +1137,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1153,7 +1153,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1194,13 +1194,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1210,7 +1210,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1255,13 +1255,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1280,7 +1280,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1315,16 +1315,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1334,7 +1334,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1373,13 +1373,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1389,7 +1389,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1423,13 +1423,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1439,7 +1439,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1477,13 +1477,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1502,7 +1502,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1544,7 +1544,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1563,10 +1563,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1576,7 +1576,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1622,13 +1622,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1638,7 +1638,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1679,13 +1679,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1695,7 +1695,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1740,13 +1740,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1765,7 +1765,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1800,16 +1800,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1819,7 +1819,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1858,13 +1858,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1874,7 +1874,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1908,13 +1908,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1924,7 +1924,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1962,13 +1962,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1987,7 +1987,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2029,7 +2029,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2054,10 +2054,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2067,7 +2067,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2113,13 +2113,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2129,7 +2129,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2170,13 +2170,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2186,7 +2186,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2231,13 +2231,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2256,7 +2256,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2291,7 +2291,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -2339,10 +2339,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2352,7 +2352,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2391,13 +2391,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2407,7 +2407,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2441,13 +2441,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2457,7 +2457,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2495,7 +2495,7 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2505,10 +2505,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2527,7 +2527,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2578,13 +2578,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2594,7 +2594,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2624,16 +2624,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2643,7 +2643,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2682,13 +2682,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2698,7 +2698,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2732,13 +2732,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2748,7 +2748,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2786,13 +2786,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2811,7 +2811,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2853,7 +2853,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2872,10 +2872,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2885,7 +2885,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2931,13 +2931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2947,7 +2947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2988,13 +2988,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3004,7 +3004,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3049,13 +3049,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3074,7 +3074,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3109,7 +3109,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3127,10 +3127,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3140,7 +3140,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3185,13 +3185,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3201,7 +3201,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3260,13 +3260,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3276,7 +3276,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3320,13 +3320,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3345,7 +3345,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3393,13 +3393,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3409,7 +3409,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3435,7 +3435,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3448,10 +3448,10 @@ "format": "int32" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3461,7 +3461,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3500,13 +3500,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3516,7 +3516,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3550,13 +3550,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3566,7 +3566,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3604,13 +3604,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3629,7 +3629,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3671,7 +3671,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3727,10 +3727,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3740,7 +3740,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3786,13 +3786,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3802,7 +3802,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3843,13 +3843,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3859,7 +3859,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3904,13 +3904,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3929,7 +3929,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3964,7 +3964,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4026,10 +4026,10 @@ } }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4039,7 +4039,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4078,13 +4078,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4094,7 +4094,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "204": { @@ -4153,13 +4153,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4169,7 +4169,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4206,13 +4206,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4231,7 +4231,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4294,13 +4294,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4319,7 +4319,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4376,7 +4376,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4395,10 +4395,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4408,7 +4408,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4454,13 +4454,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4470,7 +4470,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4536,13 +4536,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4552,7 +4552,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4601,13 +4601,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4626,7 +4626,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4700,13 +4700,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4725,7 +4725,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4795,13 +4795,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4820,7 +4820,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4863,7 +4863,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4876,10 +4876,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4889,7 +4889,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4931,13 +4931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4947,7 +4947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4986,13 +4986,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5011,7 +5011,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5064,13 +5064,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5080,7 +5080,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5574,7 +5574,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5592,7 +5592,16 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + "$ref": "types.json#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -5660,7 +5669,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5678,7 +5687,16 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + "$ref": "types.json#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -5922,13 +5940,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -5977,13 +6004,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -6165,13 +6201,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -6285,13 +6330,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -6424,13 +6478,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -6487,13 +6550,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -6570,13 +6642,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/Datastore" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -7013,13 +7094,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -7125,13 +7215,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -7361,13 +7460,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/JobBase" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -7852,13 +7960,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelContainer" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -7940,13 +8057,22 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelVersion" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -8101,7 +8227,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8119,7 +8245,16 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + "$ref": "types.json#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -8189,7 +8324,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8207,7 +8342,16 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" + "$ref": "types.json#/definitions/Sku" + }, + "systemData": { + "description": "System data associated with resource provider", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true } }, "additionalProperties": false @@ -8938,7 +9082,7 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" + "$ref": "types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9516,7 +9660,7 @@ "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", "default": "Basic", - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" + "$ref": "types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9845,4 +9989,4 @@ "description": "Azure Active Directory OAuth2 Flow." } } -} +} \ No newline at end of file diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json new file mode 100644 index 000000000000..e66c77899eb2 --- /dev/null +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json @@ -0,0 +1,64 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure Machine Learning Workspaces", + "version": "2021-10-01" + }, + "paths": {}, + "definitions": { + "Sku": { + "description": "The resource model definition representing SKU", + "required": [ + "name" + ], + "type": "object", + "properties": { + "capacity": { + "format": "int32", + "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", + "type": "integer" + }, + "family": { + "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", + "type": "string" + }, + "name": { + "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", + "type": "string" + }, + "size": { + "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", + "type": "string" + }, + "tier": { + "$ref": "#/definitions/SkuTier" + } + } + }, + "SkuTier": { + "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ], + "type": "string", + "x-ms-enum": { + "name": "SkuTier", + "modelAsString": false + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + }, + "description": "Azure Active Directory OAuth2 Flow." + } + } +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json index b7aa83a88525..ef634feb6960 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -29,13 +29,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -51,7 +51,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index c87627604c33..5eb3a4384e8e 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -36,6 +36,7 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10-01' input-file: + - Microsoft.MachineLearningServices/stable/2021-10-01/types.json - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json From 0884541fa0ce80382e72f5637a9648a301f9b07e Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Tue, 26 Oct 2021 07:48:40 -0700 Subject: [PATCH 161/211] make patch workspace a long running operation --- .../stable/2021-10-01/examples/Workspace/update.json | 3 ++- .../stable/2021-10-01/machineLearningServices.json | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json index 684e2da70975..24cded063408 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json @@ -35,6 +35,7 @@ "publicNetworkAccess": "Disabled" } } - } + }, + "202": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 3035a921b0e5..f204142fef52 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -209,6 +209,7 @@ ], "description": "Updates a machine learning workspace with the specified parameters.", "operationId": "Workspaces_Update", + "x-ms-long-running-operation": true, "x-ms-examples": { "Update Workspace": { "$ref": "./examples/Workspace/update.json" @@ -244,6 +245,9 @@ "$ref": "#/definitions/Workspace" } }, + "202": { + "description": "The request was successful; the request was well-formed and received properly." + }, "default": { "description": "Error response describing why the operation failed", "schema": { From 2a93ea280ffab2f4ca16078efe44964411e62174 Mon Sep 17 00:00:00 2001 From: zhaomuzhi Date: Mon, 22 Nov 2021 16:03:07 -0800 Subject: [PATCH 162/211] allow update applicationInsights and containerRegistry --- .../stable/2021-10-01/machineLearningServices.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index f204142fef52..3874fe54d097 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2054,11 +2054,11 @@ "type": "string" }, "applicationInsights": { - "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created", + "description": "ARM id of the application insights associated with this workspace.", "type": "string" }, "containerRegistry": { - "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created", + "description": "ARM id of the container registry associated with this workspace.", "type": "string", "x-nullable": true }, @@ -2233,6 +2233,14 @@ "modelAsString": true, "name": "PublicNetworkAccess" } + }, + "applicationInsights": { + "description": "ARM id of the application insights associated with this workspace.", + "type": "string" + }, + "containerRegistry": { + "description": "ARM id of the container registry associated with this workspace.", + "type": "string" } } }, From 09b6c0c96b4dfa47cf0a5eefe9e09e653de7e683 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:45:40 -0500 Subject: [PATCH 163/211] bump to v3 --- .../2021-10-01/machineLearningServices.json | 338 ++++---- .../stable/2021-10-01/mfe.json | 798 +++++++----------- .../stable/2021-10-01/types.json | 64 -- .../stable/2021-10-01/workspaceFeatures.json | 8 +- .../resource-manager/readme.md | 1 - 5 files changed, 492 insertions(+), 717 deletions(-) delete mode 100644 specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 3874fe54d097..6161da4be1fb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -43,7 +43,7 @@ "operationId": "Operations_List", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -56,7 +56,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -79,13 +79,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -101,7 +101,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -120,13 +120,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -154,7 +154,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -173,13 +173,13 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -198,7 +198,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -217,13 +217,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -251,7 +251,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -271,13 +271,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -293,7 +293,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -317,16 +317,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "body", @@ -363,7 +363,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -392,13 +392,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -414,7 +414,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -435,13 +435,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -457,7 +457,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -472,10 +472,10 @@ "description": "Gets the current usage information as well as limits for AML resources for given subscription and location.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -521,10 +521,10 @@ "pattern": "^[-\\w\\._]+$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -568,10 +568,10 @@ "description": "Quota update parameters." }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -584,7 +584,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -604,10 +604,10 @@ "description": "Gets the currently assigned Workspace Quotas based on VMFamily.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "name": "location", @@ -628,7 +628,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -656,10 +656,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -675,7 +675,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -702,16 +702,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/PaginationParameter" @@ -727,7 +727,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -757,10 +757,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -769,7 +769,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -782,7 +782,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -823,10 +823,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -835,7 +835,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/ComputeDefinitionParameter" @@ -863,7 +863,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -883,10 +883,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -895,7 +895,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -917,7 +917,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -937,10 +937,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -949,7 +949,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/UnderlyingResourceActionParameter" @@ -975,7 +975,7 @@ "default": { "description": "Error response describing why the request failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -990,10 +990,10 @@ "description": "Get the details (e.g IP address, port etc) of all the compute nodes in the compute.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1002,7 +1002,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1015,7 +1015,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1044,13 +1044,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1066,7 +1066,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1087,10 +1087,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1099,7 +1099,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1112,7 +1112,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1134,10 +1134,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1146,7 +1146,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1156,7 +1156,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1178,10 +1178,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1190,7 +1190,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1200,7 +1200,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1222,10 +1222,10 @@ "x-ms-long-running-operation": true, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1234,7 +1234,7 @@ "$ref": "#/parameters/ComputeNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1244,7 +1244,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1264,16 +1264,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" } ], "responses": { @@ -1286,7 +1286,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1309,10 +1309,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1321,7 +1321,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1334,7 +1334,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1352,10 +1352,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1364,7 +1364,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "properties", @@ -1386,7 +1386,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1404,10 +1404,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1416,7 +1416,7 @@ "$ref": "#/parameters/PrivateEndpointConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1429,7 +1429,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1449,16 +1449,16 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1489,13 +1489,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1514,7 +1514,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1534,13 +1534,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1556,7 +1556,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1576,13 +1576,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1598,7 +1598,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1621,16 +1621,16 @@ "description": "List all connections under a AML workspace.", "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "#/parameters/TargetParameter" @@ -1649,7 +1649,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1669,10 +1669,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1681,7 +1681,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "name": "parameters", @@ -1703,7 +1703,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1721,10 +1721,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1733,7 +1733,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1746,7 +1746,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1764,10 +1764,10 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" @@ -1776,7 +1776,7 @@ "$ref": "#/parameters/ConnectionName" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1789,7 +1789,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } } @@ -1807,16 +1807,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/WorkspaceNameParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -1829,7 +1829,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, @@ -1998,7 +1998,7 @@ "description": "An object that represents a machine learning workspace.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { @@ -2008,7 +2008,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -2023,12 +2023,8 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -2185,11 +2181,11 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "properties": { @@ -2884,7 +2880,7 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "Identity": { + "TempIdentityName": { "properties": { "principalId": { "readOnly": true, @@ -2906,7 +2902,7 @@ "None" ], "x-ms-enum": { - "name": "ResourceIdentityType", + "name": "TempEnumName", "modelAsString": false } }, @@ -3078,7 +3074,7 @@ "description": "Machine Learning compute object wrapped into ARM resource envelope.", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" }, { "type": "object", @@ -3092,7 +3088,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -3107,12 +3103,8 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } } }, @@ -3171,7 +3163,7 @@ "type": "array", "description": "Errors during provisioning", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" }, "readOnly": true }, @@ -3433,7 +3425,7 @@ "description": "Collection of errors encountered by various compute nodes during node setup.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "currentNodeCount": { @@ -3543,7 +3535,7 @@ "description": "Collection of errors encountered on this ComputeInstance.", "type": "array", "items": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "state": { @@ -4233,7 +4225,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -4248,17 +4240,13 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "description": "The Private Endpoint Connection resource." @@ -4365,7 +4353,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/Identity", + "$ref": "#/definitions/TempIdentityName", "description": "The identity of the resource." }, "location": { @@ -4380,17 +4368,13 @@ } }, "sku": { - "$ref": "types.json#/definitions/Sku", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku", "description": "The sku of the workspace." - }, - "systemData": { - "description": "System data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" } }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "description": "A private link resource" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 9e5b4ae5926a..8e1c1e436c84 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -21,7 +21,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -34,10 +34,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -47,7 +47,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -86,13 +86,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -102,7 +102,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -161,13 +161,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -177,7 +177,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -215,13 +215,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -240,7 +240,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -303,13 +303,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -328,7 +328,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -385,7 +385,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -404,10 +404,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -417,7 +417,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -463,13 +463,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -479,7 +479,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "202": { @@ -545,13 +545,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -561,7 +561,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -607,13 +607,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -632,7 +632,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -703,13 +703,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -728,7 +728,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -785,13 +785,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -801,7 +801,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -830,16 +830,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -849,7 +849,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -888,13 +888,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -904,7 +904,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -938,13 +938,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -954,7 +954,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -992,13 +992,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1017,7 +1017,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1059,7 +1059,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1078,10 +1078,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1091,7 +1091,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1137,13 +1137,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1153,7 +1153,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1194,13 +1194,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1210,7 +1210,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1255,13 +1255,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1280,7 +1280,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1315,16 +1315,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1334,7 +1334,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1373,13 +1373,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1389,7 +1389,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1423,13 +1423,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1439,7 +1439,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1477,13 +1477,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1502,7 +1502,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1544,7 +1544,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -1563,10 +1563,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1576,7 +1576,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1622,13 +1622,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1638,7 +1638,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1679,13 +1679,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1695,7 +1695,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1740,13 +1740,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1765,7 +1765,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1800,16 +1800,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1819,7 +1819,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1858,13 +1858,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1874,7 +1874,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1908,13 +1908,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1924,7 +1924,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -1962,13 +1962,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -1987,7 +1987,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2029,7 +2029,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2054,10 +2054,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2067,7 +2067,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2113,13 +2113,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2129,7 +2129,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2170,13 +2170,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2186,7 +2186,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2231,13 +2231,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2256,7 +2256,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2291,7 +2291,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -2339,10 +2339,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2352,7 +2352,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2391,13 +2391,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2407,7 +2407,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2441,13 +2441,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2457,7 +2457,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2495,7 +2495,7 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2505,10 +2505,10 @@ "default": false }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2527,7 +2527,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2578,13 +2578,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2594,7 +2594,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2624,16 +2624,16 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2643,7 +2643,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2682,13 +2682,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2698,7 +2698,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2732,13 +2732,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2748,7 +2748,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2786,13 +2786,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2811,7 +2811,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2853,7 +2853,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -2872,10 +2872,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2885,7 +2885,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2931,13 +2931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -2947,7 +2947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -2988,13 +2988,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3004,7 +3004,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3049,13 +3049,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3074,7 +3074,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3109,7 +3109,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3127,10 +3127,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3140,7 +3140,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3185,13 +3185,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3201,7 +3201,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3260,13 +3260,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3276,7 +3276,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3320,13 +3320,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3345,7 +3345,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3393,13 +3393,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3409,7 +3409,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3435,7 +3435,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3448,10 +3448,10 @@ "format": "int32" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3461,7 +3461,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3500,13 +3500,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3516,7 +3516,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3550,13 +3550,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3566,7 +3566,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3604,13 +3604,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3629,7 +3629,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3671,7 +3671,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" @@ -3727,10 +3727,10 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3740,7 +3740,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3786,13 +3786,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3802,7 +3802,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3843,13 +3843,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3859,7 +3859,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3904,13 +3904,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -3929,7 +3929,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -3964,7 +3964,7 @@ ], "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4026,10 +4026,10 @@ } }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4039,7 +4039,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4078,13 +4078,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4094,7 +4094,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "204": { @@ -4153,13 +4153,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4169,7 +4169,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4206,13 +4206,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4231,7 +4231,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4294,13 +4294,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4319,7 +4319,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4376,7 +4376,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4395,10 +4395,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4408,7 +4408,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4454,13 +4454,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4470,7 +4470,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4536,13 +4536,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4552,7 +4552,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4601,13 +4601,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4626,7 +4626,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4700,13 +4700,13 @@ "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_]{0,254}$" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4725,7 +4725,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4795,13 +4795,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4820,7 +4820,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4863,7 +4863,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "in": "query", @@ -4876,10 +4876,10 @@ "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4889,7 +4889,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4931,13 +4931,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -4947,7 +4947,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -4986,13 +4986,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5011,7 +5011,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5064,13 +5064,13 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -5080,7 +5080,7 @@ "default": { "description": "Error", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } }, "200": { @@ -5574,7 +5574,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5592,16 +5592,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -5669,7 +5660,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -5687,16 +5678,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -5940,22 +5922,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6004,22 +5977,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/CodeVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6201,22 +6165,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6330,22 +6285,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ComponentVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6478,22 +6424,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6550,22 +6487,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/DatasetVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -6642,22 +6570,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/Datastore" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7094,22 +7013,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7215,22 +7125,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/EnvironmentVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7460,22 +7361,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/JobBase" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -7960,22 +7852,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelContainer" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -8057,22 +7940,13 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" } ], "properties": { "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/ModelVersion" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true } }, "additionalProperties": false @@ -8227,7 +8101,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8245,16 +8119,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -8324,7 +8189,7 @@ "type": "object", "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource" } ], "properties": { @@ -8342,16 +8207,7 @@ }, "sku": { "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "types.json#/definitions/Sku" - }, - "systemData": { - "description": "System data associated with resource provider", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, "additionalProperties": false @@ -9082,7 +8938,7 @@ }, "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "$ref": "types.json#/definitions/SkuTier" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9660,7 +9516,7 @@ "tier": { "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", "default": "Basic", - "$ref": "types.json#/definitions/SkuTier" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/SkuTier" } }, "additionalProperties": false @@ -9989,4 +9845,4 @@ "description": "Azure Active Directory OAuth2 Flow." } } -} \ No newline at end of file +} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json deleted file mode 100644 index e66c77899eb2..000000000000 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/types.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Machine Learning Workspaces", - "version": "2021-10-01" - }, - "paths": {}, - "definitions": { - "Sku": { - "description": "The resource model definition representing SKU", - "required": [ - "name" - ], - "type": "object", - "properties": { - "capacity": { - "format": "int32", - "description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.", - "type": "integer" - }, - "family": { - "description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.", - "type": "string" - }, - "name": { - "description": "The name of the SKU. Ex - P3. It is typically a letter+number code", - "type": "string" - }, - "size": { - "description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ", - "type": "string" - }, - "tier": { - "$ref": "#/definitions/SkuTier" - } - } - }, - "SkuTier": { - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ], - "type": "string", - "x-ms-enum": { - "name": "SkuTier", - "modelAsString": false - } - } - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "flow": "implicit", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow." - } - } -} diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json index ef634feb6960..b7aa83a88525 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -29,13 +29,13 @@ }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "machineLearningServices.json#/parameters/WorkspaceNameParameter" @@ -51,7 +51,7 @@ "default": { "description": "Error response describing why the operation failed", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 5eb3a4384e8e..c87627604c33 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -36,7 +36,6 @@ These settings apply only when `--tag=package-2021-10` is specified on the comma ```yaml $(tag) == 'package-2021-10-01' input-file: - - Microsoft.MachineLearningServices/stable/2021-10-01/types.json - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json From 74cbf033e034df559fd8828f7fb027f0debf34e6 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:47:40 -0500 Subject: [PATCH 164/211] update descriptions + add example --- .../stable/2021-10-01/mfe.json | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 8e1c1e436c84..e49cc7d8ef46 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6148,7 +6148,7 @@ "additionalProperties": false }, "ComponentContainer": { - "description": "Component container definition.", + "description": "Component container definition.\r\n", "type": "object", "allOf": [ { @@ -6266,8 +6266,17 @@ ], "properties": { "componentSpec": { - "description": "Defines Component definition details.", + "description": "Defines Component definition details.\r\n", "type": "object", + "example": { + "name": "Hello_Python_World", + "display_name": "Hello_Python_World", + "version": 1, + "type": "command", + "code": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/codes/mycode/versions/1", + "environment": "azureml:/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace/environments/AzureML-Tutorial/versions/1", + "command": "python hello.py" + }, "x-ms-mutability": [ "create", "read" From 27cbabc9bfd7c085d2b514d4d1424829675ce7ca Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:48:19 -0500 Subject: [PATCH 165/211] add new Default --- .../Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e49cc7d8ef46..c8ee3c6408df 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7318,6 +7318,7 @@ }, "experimentName": { "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment.", + "default": "Default", "type": "string", "x-ms-mutability": [ "create", From 9607821be960294ec73713bf42e553680bce61f3 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:50:18 -0500 Subject: [PATCH 166/211] thin out PartialOnlineDeployment --- .../stable/2021-10-01/mfe.json | 190 ------------------ 1 file changed, 190 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index c8ee3c6408df..51514678f053 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8563,47 +8563,6 @@ }, "additionalProperties": false }, - "PartialContainerResourceRequirements": { - "description": "Resource requirements for each container instance within an online deployment.", - "type": "object", - "properties": { - "containerResourceLimits": { - "description": "Container resource limit info:", - "$ref": "#/definitions/PartialContainerResourceSettings", - "x-nullable": true - }, - "containerResourceRequests": { - "description": "Container resource request info:", - "$ref": "#/definitions/PartialContainerResourceSettings", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialContainerResourceSettings": { - "type": "object", - "properties": { - "cpu": { - "description": "Number of vCPUs request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "1", - "x-nullable": true - }, - "gpu": { - "description": "Number of Nvidia GPU cards request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "1", - "x-nullable": true - }, - "memory": { - "description": "Memory size request/limit for container. More info:\r\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/", - "type": "string", - "example": "2Gi", - "x-nullable": true - } - }, - "additionalProperties": false - }, "PartialDataPathAssetReference": { "description": "Reference to an asset via its path in a datastore.", "type": "object", @@ -8627,16 +8586,6 @@ "x-ms-discriminator-value": "DataPath", "additionalProperties": false }, - "PartialDefaultScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineScaleSettings" - } - ], - "x-ms-discriminator-value": "Default", - "additionalProperties": false - }, "PartialIdAssetReference": { "description": "Reference to an asset via its ARM resource ID.", "type": "object", @@ -8662,13 +8611,6 @@ "$ref": "#/definitions/PartialOnlineDeployment" } ], - "properties": { - "containerResourceRequirements": { - "description": "The resource requirements for the container (cpu and memory).", - "$ref": "#/definitions/PartialContainerResourceRequirements", - "x-nullable": true - } - }, "x-ms-discriminator-value": "Kubernetes", "additionalProperties": false }, @@ -8680,13 +8622,6 @@ "$ref": "#/definitions/PartialOnlineDeployment" } ], - "properties": { - "modelMountPath": { - "description": "The path to mount the model in custom container.", - "type": "string", - "x-nullable": true - } - }, "x-ms-discriminator-value": "Managed", "additionalProperties": false }, @@ -8697,33 +8632,9 @@ ], "type": "object", "properties": { - "appInsightsEnabled": { - "description": "If true, enables Application Insights logging.", - "type": "boolean" - }, "endpointComputeType": { "description": "The compute type of the endpoint.", "$ref": "#/definitions/EndpointComputeType" - }, - "livenessProbe": { - "description": "Liveness probe monitors the health of the container regularly.", - "$ref": "#/definitions/PartialProbeSettings", - "x-nullable": true - }, - "readinessProbe": { - "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", - "$ref": "#/definitions/PartialProbeSettings", - "x-nullable": true - }, - "requestSettings": { - "description": "Request settings for the deployment.", - "$ref": "#/definitions/PartialOnlineRequestSettings", - "x-nullable": true - }, - "scaleSettings": { - "description": "Scale settings for the deployment.", - "$ref": "#/definitions/PartialOnlineScaleSettings", - "x-nullable": true } }, "discriminator": "endpointComputeType" @@ -8814,42 +8725,6 @@ }, "additionalProperties": false }, - "PartialOnlineRequestSettings": { - "description": "Online deployment scoring requests configuration.", - "type": "object", - "properties": { - "maxConcurrentRequestsPerInstance": { - "format": "int32", - "description": "The number of maximum concurrent requests per node allowed per deployment. Defaults to 1.", - "type": "integer" - }, - "maxQueueWait": { - "format": "duration", - "description": "The maximum amount of time a request will stay in the queue in ISO 8601 format.\r\nDefaults to 500ms.", - "type": "string" - }, - "requestTimeout": { - "format": "duration", - "description": "The scoring timeout in ISO 8601 format.\r\nDefaults to 5000ms.", - "type": "string" - } - }, - "additionalProperties": false - }, - "PartialOnlineScaleSettings": { - "description": "Online deployment scaling configuration.", - "required": [ - "scaleType" - ], - "type": "object", - "properties": { - "scaleType": { - "description": "Type of deployment scaling algorithm", - "$ref": "#/definitions/ScaleType" - } - }, - "discriminator": "scaleType" - }, "PartialOutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", "type": "object", @@ -8873,39 +8748,6 @@ "x-ms-discriminator-value": "OutputPath", "additionalProperties": false }, - "PartialProbeSettings": { - "description": "Deployment container liveness/readiness probe configuration.", - "type": "object", - "properties": { - "failureThreshold": { - "format": "int32", - "description": "The number of failures to allow before returning an unhealthy status.", - "type": "integer" - }, - "initialDelay": { - "format": "duration", - "description": "The delay before the first probe in ISO 8601 format.", - "type": "string", - "x-nullable": true - }, - "period": { - "format": "duration", - "description": "The length of time between probes in ISO 8601 format.", - "type": "string" - }, - "successThreshold": { - "format": "int32", - "description": "The number of successful probes before returning a healthy status.", - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "The probe timeout in ISO 8601 format.", - "type": "string" - } - }, - "additionalProperties": false - }, "PartialResourceIdentity": { "description": "Strictly used in update requests.", "type": "object", @@ -8953,38 +8795,6 @@ }, "additionalProperties": false }, - "PartialTargetUtilizationScaleSettings": { - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineScaleSettings" - } - ], - "properties": { - "maxInstances": { - "format": "int32", - "description": "The maximum number of instances that the deployment can scale to. The quota will be reserved for max_instances.", - "type": "integer" - }, - "minInstances": { - "format": "int32", - "description": "The minimum number of instances to always be present.", - "type": "integer" - }, - "pollingInterval": { - "format": "duration", - "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds.", - "type": "string" - }, - "targetUtilizationPercentage": { - "format": "int32", - "description": "Target CPU usage for the autoscaler.", - "type": "integer" - } - }, - "x-ms-discriminator-value": "TargetUtilization", - "additionalProperties": false - }, "PartialUserAssignedIdentityMeta": { "description": "Strictly used in update requests.", "type": "object", From 7a25d2319f16018b06f0b61c0098ed9ce72d3f19 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:52:54 -0500 Subject: [PATCH 167/211] update x-nullable for some properties --- .../stable/2021-10-01/mfe.json | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 51514678f053..c66007f30893 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -8760,8 +8760,7 @@ "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/PartialUserAssignedIdentityMeta", - "x-nullable": true + "$ref": "#/definitions/PartialUserAssignedIdentityMeta" } } }, @@ -8801,13 +8800,11 @@ "properties": { "clientId": { "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", - "type": "string", - "x-nullable": true + "type": "string" }, "principalId": { "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", - "type": "string", - "x-nullable": true + "type": "string" } }, "additionalProperties": false @@ -9054,8 +9051,7 @@ "readOnly": true, "x-ms-mutability": [ "read" - ], - "x-nullable": true + ] }, "tenantId": { "description": "AAD Tenant where this identity lives.", @@ -9063,8 +9059,7 @@ "readOnly": true, "x-ms-mutability": [ "read" - ], - "x-nullable": true + ] }, "type": { "description": "The type of the ResourceIdentity", @@ -9074,8 +9069,7 @@ "description": "Dictionary of the user assigned identities, key is ARM resource ID of the UAI.", "type": "object", "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityMeta", - "x-nullable": true + "$ref": "#/definitions/UserAssignedIdentityMeta" } } }, @@ -9642,13 +9636,11 @@ "properties": { "clientId": { "description": "Aka application ID, a unique identifier generated by Azure AD that is tied to an application and service principal during its initial provisioning.", - "type": "string", - "x-nullable": true + "type": "string" }, "principalId": { "description": "The object ID of the service principal object for your managed identity that is used to grant role-based access to an Azure resource.", - "type": "string", - "x-nullable": true + "type": "string" } }, "additionalProperties": false From d9dfad6bc15e1fcd006a71694cab8ec49a8b8ce0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:56:08 -0500 Subject: [PATCH 168/211] rename mls resources to non-conflicting names --- .../stable/2021-10-01/machineLearningServices.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 6161da4be1fb..091f993ceb4c 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -50,7 +50,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/OperationListResult" + "$ref": "#/definitions/AmlOperationListResult" } }, "default": { @@ -1950,7 +1950,7 @@ } }, "definitions": { - "Operation": { + "AmlOperation": { "description": "Azure Machine Learning workspace REST API operation", "type": "object", "properties": { @@ -1981,13 +1981,13 @@ } } }, - "OperationListResult": { + "AmlOperationListResult": { "description": "An array of operations supported by the resource provider.", "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/Operation" + "$ref": "#/definitions/AmlOperation" }, "description": "List of AML workspace operations supported by the AML workspace resource provider." } @@ -4457,7 +4457,7 @@ "description": "The identity that will be used to access the key vault for encryption at rest." }, "keyVaultProperties": { - "$ref": "#/definitions/KeyVaultProperties", + "$ref": "#/definitions/EncryptionKeyVaultProperties", "description": "Customer Key vault properties." } }, @@ -4467,7 +4467,7 @@ ], "type": "object" }, - "KeyVaultProperties": { + "EncryptionKeyVaultProperties": { "properties": { "keyVaultArmId": { "description": "The ArmId of the keyVault where the customer owned encryption key is present.", From c396a175d315590bba69b5aafa1921987f2285c5 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 14:58:49 -0500 Subject: [PATCH 169/211] move mls to mfe's ResourceIdentity dependency --- .../2021-10-01/machineLearningServices.json | 70 ++----------------- 1 file changed, 5 insertions(+), 65 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 091f993ceb4c..2a80be932300 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -2008,7 +2008,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "mfe.json#/definitions/ResourceIdentity", "description": "The identity of the resource." }, "location": { @@ -2185,7 +2185,7 @@ "description": "The sku of the workspace." }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "mfe.json#/definitions/ResourceIdentity", "description": "The identity of the resource." }, "properties": { @@ -2880,66 +2880,6 @@ }, "description": "The List WorkspaceQuotasByVMFamily operation response." }, - "TempIdentityName": { - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of resource identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of resource." - }, - "type": { - "type": "string", - "description": "The identity type.", - "enum": [ - "SystemAssigned", - "SystemAssigned,UserAssigned", - "UserAssigned", - "None" - ], - "x-ms-enum": { - "name": "TempEnumName", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "$ref": "#/definitions/UserAssignedIdentities", - "description": "The user assigned identities associated with the resource." - } - }, - "description": "Identity for the resource." - }, - "UserAssignedIdentities": { - "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - } - }, - "UserAssignedIdentity": { - "description": "User Assigned Identity", - "properties": { - "principalId": { - "readOnly": true, - "type": "string", - "description": "The principal ID of the user assigned identity." - }, - "tenantId": { - "readOnly": true, - "type": "string", - "description": "The tenant ID of the user assigned identity." - }, - "clientId": { - "readOnly": true, - "type": "string", - "description": "The clientId(aka appId) of the user assigned identity." - } - } - }, "ResourceId": { "properties": { "id": { @@ -3088,7 +3028,7 @@ ], "properties": { "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "mfe.json#/definitions/ResourceIdentity", "description": "The identity of the resource." }, "location": { @@ -4225,7 +4165,7 @@ "description": "Resource properties." }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "mfe.json#/definitions/ResourceIdentity", "description": "The identity of the resource." }, "location": { @@ -4353,7 +4293,7 @@ "x-ms-client-flatten": true }, "identity": { - "$ref": "#/definitions/TempIdentityName", + "$ref": "mfe.json#/definitions/ResourceIdentity", "description": "The identity of the resource." }, "location": { From 8d9b6a0d3040feaf8ccaf18e5cabceb0820767bd Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 1 Dec 2021 15:06:13 -0500 Subject: [PATCH 170/211] update examples with thinned PartialOnlineDeployment --- .../KubernetesOnlineDeployment/update.json | 30 +------------------ .../ManagedOnlineDeployment/update.json | 26 +--------------- 2 files changed, 2 insertions(+), 54 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json index 1edb98b5b75c..6d17406a6e9a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json @@ -8,35 +8,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "endpointComputeType": "Kubernetes", - "containerResourceRequirements": { - "containerResourceRequests": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - }, - "containerResourceLimits": { - "cpu": "\"1\"", - "memory": "\"2Gi\"", - "gpu": "\"1\"" - } - } + "endpointComputeType": "Kubernetes" }, "tags": {}, "location": "string", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json index e87bbad3894c..33f022ea2375 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json @@ -8,31 +8,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "scaleSettings": { - "scaleType": "Default" - }, - "requestSettings": { - "maxQueueWait": "PT5M", - "requestTimeout": "PT5M", - "maxConcurrentRequestsPerInstance": 1 - }, - "appInsightsEnabled": false, - "livenessProbe": { - "failureThreshold": 1, - "successThreshold": 1, - "timeout": "PT5M", - "period": "PT5M", - "initialDelay": "PT5M" - }, - "endpointComputeType": "Managed", - "modelMountPath": "string", - "readinessProbe": { - "failureThreshold": 30, - "successThreshold": 1, - "timeout": "PT2S", - "period": "PT10S", - "initialDelay": "string" - } + "endpointComputeType": "Managed" }, "tags": {}, "location": "string", From 06de33bae97f661c5dd829ac7014e79184fd4f64 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 8 Dec 2021 16:52:20 -0500 Subject: [PATCH 171/211] decorate resource models with x-ms-client-name --- .../stable/2021-10-01/mfe.json | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index c66007f30893..e017e31de3eb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5564,6 +5564,7 @@ "x-nullable": true } }, + "x-ms-client-name": "BatchDeploymentDetails", "additionalProperties": false }, "BatchDeploymentTrackedResource": { @@ -5595,6 +5596,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "BatchDeploymentData", "additionalProperties": false }, "BatchDeploymentTrackedResourceArmPaginatedResult": { @@ -5638,6 +5640,7 @@ ] } }, + "x-ms-client-name": "BatchEndpointDetails", "additionalProperties": false }, "BatchEndpointDefaults": { @@ -5681,6 +5684,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "BatchEndpointData", "additionalProperties": false }, "BatchEndpointTrackedResourceArmPaginatedResult": { @@ -5912,6 +5916,7 @@ "$ref": "#/definitions/AssetContainer" } ], + "x-ms-client-name": "CodeContainerDetails", "additionalProperties": false }, "CodeContainerResource": { @@ -5931,6 +5936,7 @@ "$ref": "#/definitions/CodeContainer" } }, + "x-ms-client-name": "CodeContainerData", "additionalProperties": false }, "CodeContainerResourceArmPaginatedResult": { @@ -5967,6 +5973,7 @@ "x-nullable": true } }, + "x-ms-client-name": "CodeVersionDetails", "additionalProperties": false }, "CodeVersionResource": { @@ -5986,6 +5993,7 @@ "$ref": "#/definitions/CodeVersion" } }, + "x-ms-client-name": "CodeVersionData", "additionalProperties": false }, "CodeVersionResourceArmPaginatedResult": { @@ -6155,6 +6163,7 @@ "$ref": "#/definitions/AssetContainer" } ], + "x-ms-client-name": "ComponentContainerDetails", "additionalProperties": false }, "ComponentContainerResource": { @@ -6174,6 +6183,7 @@ "$ref": "#/definitions/ComponentContainer" } }, + "x-ms-client-name": "ComponentContainerData", "additionalProperties": false }, "ComponentContainerResourceArmPaginatedResult": { @@ -6284,6 +6294,7 @@ "x-nullable": true } }, + "x-ms-client-name": "ComponentVersionDetails", "additionalProperties": false }, "ComponentVersionResource": { @@ -6303,6 +6314,7 @@ "$ref": "#/definitions/ComponentVersion" } }, + "x-ms-client-name": "ComponentVersionData", "additionalProperties": false }, "ComponentVersionResourceArmPaginatedResult": { @@ -6423,6 +6435,7 @@ "$ref": "#/definitions/AssetContainer" } ], + "x-ms-client-name": "DatasetContainerDetails", "additionalProperties": false }, "DatasetContainerResource": { @@ -6442,6 +6455,7 @@ "$ref": "#/definitions/DatasetContainer" } }, + "x-ms-client-name": "DatasetContainerData", "additionalProperties": false }, "DatasetContainerResourceArmPaginatedResult": { @@ -6486,6 +6500,7 @@ ] } }, + "x-ms-client-name": "DatasetVersionDetails", "additionalProperties": false }, "DatasetVersionResource": { @@ -6505,6 +6520,7 @@ "$ref": "#/definitions/DatasetVersion" } }, + "x-ms-client-name": "DatasetVersionData", "additionalProperties": false }, "DatasetVersionResourceArmPaginatedResult": { @@ -6555,7 +6571,8 @@ ] } }, - "discriminator": "datastoreType" + "discriminator": "datastoreType", + "x-ms-client-name": "DatastoreDetails" }, "DatastoreCredentials": { "description": "Base definition for datastore credentials.", @@ -6588,6 +6605,7 @@ "$ref": "#/definitions/Datastore" } }, + "x-ms-client-name": "DatastoreData", "additionalProperties": false }, "DatastoreResourceArmPaginatedResult": { @@ -7012,6 +7030,7 @@ "$ref": "#/definitions/AssetContainer" } ], + "x-ms-client-name": "EnvironmentContainerDetails", "additionalProperties": false }, "EnvironmentContainerResource": { @@ -7031,6 +7050,7 @@ "$ref": "#/definitions/EnvironmentContainer" } }, + "x-ms-client-name": "EnvironmentContainerData", "additionalProperties": false }, "EnvironmentContainerResourceArmPaginatedResult": { @@ -7124,6 +7144,7 @@ ] } }, + "x-ms-client-name": "EnvironmentVersionDetails", "additionalProperties": false }, "EnvironmentVersionResource": { @@ -7143,6 +7164,7 @@ "$ref": "#/definitions/EnvironmentVersion" } }, + "x-ms-client-name": "EnvironmentVersionData", "additionalProperties": false }, "EnvironmentVersionResourceArmPaginatedResult": { @@ -7361,7 +7383,8 @@ ] } }, - "discriminator": "jobType" + "discriminator": "jobType", + "x-ms-client-name": "JobBaseDetails" }, "JobBaseResource": { "description": "Azure Resource Manager resource envelope.", @@ -7380,6 +7403,7 @@ "$ref": "#/definitions/JobBase" } }, + "x-ms-client-name": "JobBaseData", "additionalProperties": false }, "JobBaseResourceArmPaginatedResult": { @@ -7852,6 +7876,7 @@ "$ref": "#/definitions/AssetContainer" } ], + "x-ms-client-name": "ModelContainerDetails", "additionalProperties": false }, "ModelContainerResource": { @@ -7871,6 +7896,7 @@ "$ref": "#/definitions/ModelContainer" } }, + "x-ms-client-name": "ModelContainerData", "additionalProperties": false }, "ModelContainerResourceArmPaginatedResult": { @@ -7940,6 +7966,7 @@ "x-nullable": true } }, + "x-ms-client-name": "ModelVersionDetails", "additionalProperties": false }, "ModelVersionResource": { @@ -7959,6 +7986,7 @@ "$ref": "#/definitions/ModelVersion" } }, + "x-ms-client-name": "ModelVersionData", "additionalProperties": false }, "ModelVersionResourceArmPaginatedResult": { @@ -8101,7 +8129,8 @@ "x-nullable": true } }, - "discriminator": "endpointComputeType" + "discriminator": "endpointComputeType", + "x-ms-client-name": "OnlineDeploymentDetails" }, "OnlineDeploymentTrackedResource": { "required": [ @@ -8132,6 +8161,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "OnlineDeploymentData", "additionalProperties": false }, "OnlineDeploymentTrackedResourceArmPaginatedResult": { @@ -8189,6 +8219,7 @@ "x-nullable": true } }, + "x-ms-client-name": "OnlineEndpointDetails", "additionalProperties": false }, "OnlineEndpointTrackedResource": { @@ -8220,6 +8251,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Sku" } }, + "x-ms-client-name": "OnlineEndpointData", "additionalProperties": false }, "OnlineEndpointTrackedResourceArmPaginatedResult": { From 80a960ee0e47d931281b8d93c28bb46295651943 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 8 Dec 2021 16:53:57 -0500 Subject: [PATCH 172/211] default instanceCount to 1 and ResourceConfiguration to default obj --- .../stable/2021-10-01/mfe.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index e017e31de3eb..4eae984dbdf4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6133,6 +6133,7 @@ }, "resources": { "description": "Compute Resource configuration for the job.", + "default": "{}", "$ref": "#/definitions/ResourceConfiguration", "x-ms-mutability": [ "create", @@ -9041,12 +9042,12 @@ "instanceCount": { "format": "int32", "description": "Optional number of instances or nodes used by the compute target.", + "default": 1, "type": "integer", "x-ms-mutability": [ "create", "read" - ], - "x-nullable": true + ] }, "instanceType": { "description": "Optional type of VM used as supported by the compute target.", @@ -9608,6 +9609,7 @@ }, "resources": { "description": "Compute Resource configuration for the job.", + "default": "{}", "$ref": "#/definitions/ResourceConfiguration", "x-ms-mutability": [ "create", From 71321d524185c03d8dd49ac9c40dfffd60288399 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 8 Dec 2021 16:54:40 -0500 Subject: [PATCH 173/211] make environmentId and Trial required --- .../stable/2021-10-01/mfe.json | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 4eae984dbdf4..203826eedd19 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6017,7 +6017,8 @@ "CommandJob": { "description": "Command job definition.", "required": [ - "command" + "command", + "environmentId" ], "type": "object", "allOf": [ @@ -6056,12 +6057,12 @@ }, "environmentId": { "description": "The ARM resource ID of the Environment specification for the job.", + "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ "create", "read" - ], - "x-nullable": true + ] }, "environmentVariables": { "description": "Environment variables included in the job.", @@ -9373,7 +9374,8 @@ "required": [ "objective", "samplingAlgorithm", - "searchSpace" + "searchSpace", + "trial" ], "type": "object", "allOf": [ @@ -9447,8 +9449,7 @@ }, "trial": { "description": "Trial component definition.", - "$ref": "#/definitions/TrialComponent", - "x-nullable": true + "$ref": "#/definitions/TrialComponent" } }, "x-ms-discriminator-value": "Sweep", @@ -9557,7 +9558,8 @@ "TrialComponent": { "description": "Trial component definition.", "required": [ - "command" + "command", + "environmentId" ], "type": "object", "properties": { @@ -9591,8 +9593,8 @@ }, "environmentId": { "description": "The ARM resource ID of the Environment specification for the job.", - "type": "string", - "x-nullable": true + "pattern": "[a-zA-Z0-9_]", + "type": "string" }, "environmentVariables": { "description": "Environment variables included in the job.", From a4a4dd3d7c885abc4662d3bb3ec7e434bbe530a7 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 8 Dec 2021 20:09:39 -0500 Subject: [PATCH 174/211] example modelValidation fix --- .../stable/2021-10-01/examples/Workspace/create.json | 3 +-- .../stable/2021-10-01/examples/Workspace/get.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json index fe7433ca89dd..b7bc6cca5cbd 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json @@ -59,8 +59,7 @@ "userAssignedIdentities": { "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" + "clientId": "00000000-1111-2222-3333-444444444444" } } }, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json index ed94769dd072..a6f335283231 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json @@ -19,8 +19,7 @@ "userAssignedIdentities": { "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testuai": { "principalId": "00000000-1111-2222-3333-444444444444", - "clientId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" + "clientId": "00000000-1111-2222-3333-444444444444" } } }, From d234d379c53ba0c9fc5c06d76c22c2e54a9448b1 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 8 Dec 2021 20:10:26 -0500 Subject: [PATCH 175/211] description updates --- .../stable/2021-10-01/mfe.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 203826eedd19..3a66d18eb956 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -6958,7 +6958,7 @@ "type": "object", "properties": { "authMode": { - "description": "Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication.\r\n'Key' doesn't expire but 'AMLToken' does.", + "description": "Use 'Key' for key based authentication and 'AMLToken' for Azure Machine Learning token-based authentication. 'Key' doesn't expire but 'AMLToken' does.", "$ref": "#/definitions/EndpointAuthMode" }, "description": { @@ -7559,7 +7559,7 @@ "type": "object", "properties": { "jobLimitsType": { - "description": "Joblimit type.", + "description": "JobLimit type.", "$ref": "#/definitions/JobLimitsType" }, "timeout": { From 69b50d354773016d4627d94d2fc7be0b3f538fca Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 9 Dec 2021 15:43:12 -0500 Subject: [PATCH 176/211] rename /skus api models --- .../stable/2021-10-01/mfe.json | 90 +++++++++---------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 3a66d18eb956..5f6f5e3dfa33 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -4895,7 +4895,7 @@ "200": { "description": "Success", "schema": { - "$ref": "#/definitions/DeploymentSkuResourceTypeArmPaginatedResult" + "$ref": "#/definitions/SkuResourceArmPaginatedResult" } } }, @@ -6713,50 +6713,6 @@ }, "additionalProperties": false }, - "DeploymentSkuResourceType": { - "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", - "type": "object", - "properties": { - "capacity": { - "description": "Gets or sets the Sku Capacity.", - "$ref": "#/definitions/SkuCapacity", - "x-nullable": true - }, - "resourceType": { - "description": "Gets or sets the resource type name.", - "type": "string", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], - "x-nullable": true - }, - "sku": { - "description": "Gets or sets the Sku.", - "$ref": "#/definitions/SkuSetting", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "DeploymentSkuResourceTypeArmPaginatedResult": { - "description": "A paginated list of DeploymentSkuResourceType entities.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link to the next page of DeploymentSkuResourceType objects. If null, there are no additional pages.", - "type": "string" - }, - "value": { - "description": "An array of objects of type DeploymentSkuResourceType.", - "type": "array", - "items": { - "$ref": "#/definitions/DeploymentSkuResourceType" - } - } - }, - "additionalProperties": false - }, "DistributionConfiguration": { "description": "Base definition for job distribution configuration.", "required": [ @@ -9335,6 +9291,50 @@ }, "additionalProperties": false }, + "SkuResource": { + "description": "Fulfills ARM Contract requirement to list all available SKUS for a resource.", + "type": "object", + "properties": { + "capacity": { + "description": "Gets or sets the Sku Capacity.", + "$ref": "#/definitions/SkuCapacity", + "x-nullable": true + }, + "resourceType": { + "description": "The resource type name.", + "type": "string", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], + "x-nullable": true + }, + "sku": { + "description": "Gets or sets the Sku.", + "$ref": "#/definitions/SkuSetting", + "x-nullable": true + } + }, + "additionalProperties": false + }, + "SkuResourceArmPaginatedResult": { + "description": "A paginated list of SkuResource entities.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link to the next page of SkuResource objects. If null, there are no additional pages.", + "type": "string" + }, + "value": { + "description": "An array of objects of type SkuResource.", + "type": "array", + "items": { + "$ref": "#/definitions/SkuResource" + } + } + }, + "additionalProperties": false + }, "SkuScaleType": { "description": "TODO - SKU scale type", "enum": [ From 27f6ccf4bd7b2338bc25541a79fa1c3ab8d6ef10 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Wed, 22 Dec 2021 11:07:07 +0800 Subject: [PATCH 177/211] add nullable for subnet of AmlComputeProperties --- .../stable/2021-10-01/machineLearningServices.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 2a80be932300..906d874657cf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3321,7 +3321,8 @@ "subnet": { "title": "Subnet.", "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" + "$ref": "#/definitions/ResourceId", + "x-nullable": true }, "remoteLoginPortPublicAccess": { "type": "string", From 7ae196d7fe9eada78bb2ce35900bed819f9460d0 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Fri, 24 Dec 2021 14:17:45 +0800 Subject: [PATCH 178/211] fix some missing type error of mlc --- .../2021-10-01/machineLearningServices.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 2a80be932300..8b1e30f89230 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -972,6 +972,9 @@ } } }, + "204": { + "description": "No content; The target compute does not exist." + }, "default": { "description": "Error response describing why the request failed.", "schema": { @@ -1960,6 +1963,7 @@ }, "display": { "description": "Display name of operation", + "type": "object", "properties": { "provider": { "description": "The resource provider name: Microsoft.MachineLearningExperimentation", @@ -1982,6 +1986,7 @@ } }, "AmlOperationListResult": { + "type": "object", "description": "An array of operations supported by the resource provider.", "properties": { "value": { @@ -2171,6 +2176,7 @@ } }, "WorkspaceUpdateParameters": { + "type": "object", "description": "The parameters for updating a machine learning workspace.", "properties": { "tags": { @@ -2196,6 +2202,7 @@ } }, "WorkspacePropertiesUpdateParameters": { + "type": "object", "description": "The parameters for updating the properties of a machine learning workspace.", "properties": { "description": { @@ -2241,6 +2248,7 @@ } }, "UsageName": { + "type": "object", "properties": { "value": { "readOnly": true, @@ -2306,6 +2314,7 @@ "description": "Describes AML Resource Usage." }, "ListUsagesResult": { + "type": "object", "properties": { "value": { "readOnly": true, @@ -2324,6 +2333,7 @@ "description": "The List Usages operation response." }, "VirtualMachineSize": { + "type": "object", "properties": { "name": { "type": "string", @@ -2401,6 +2411,7 @@ "description": "Describes the properties of a VM size." }, "EstimatedVMPrices": { + "type": "object", "properties": { "billingCurrency": { "type": "string", @@ -2487,6 +2498,7 @@ "description": "The estimated price info for using a VM of a particular OS type, tier, etc." }, "VirtualMachineSizeListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -2499,6 +2511,7 @@ "description": "The List Virtual Machine size operation response." }, "WorkspaceListResult": { + "type": "object", "description": "The result of a request to list machine learning workspaces.", "properties": { "value": { @@ -2515,6 +2528,7 @@ } }, "QuotaBaseProperties": { + "type": "object", "properties": { "id": { "type": "string", @@ -2545,6 +2559,7 @@ "description": "The properties for Quota update or retrieval." }, "QuotaUpdateParameters": { + "type": "object", "properties": { "value": { "description": "The list for update quota.", @@ -2733,6 +2748,7 @@ } }, "UpdateWorkspaceQuotasResult": { + "type": "object", "properties": { "value": { "description": "The list of workspace quota update result.", @@ -2751,6 +2767,7 @@ "description": "The result of update workspace quota." }, "UpdateWorkspaceQuotas": { + "type": "object", "properties": { "id": { "readOnly": true, @@ -2804,6 +2821,7 @@ "description": "The properties for update Quota response." }, "ResourceName": { + "type": "object", "properties": { "value": { "readOnly": true, @@ -2819,6 +2837,7 @@ "description": "The Resource Name." }, "ResourceQuota": { + "type": "object", "properties": { "id": { "readOnly": true, @@ -2863,6 +2882,7 @@ "description": "The quota assigned to a resource." }, "ListWorkspaceQuotas": { + "type": "object", "properties": { "value": { "description": "The list of Workspace Quotas by VM Family", @@ -2881,6 +2901,7 @@ "description": "The List WorkspaceQuotasByVMFamily operation response." }, "ResourceId": { + "type": "object", "properties": { "id": { "type": "string", @@ -3810,6 +3831,7 @@ } }, "UserAccountCredentials": { + "type": "object", "properties": { "adminUserName": { "type": "string", @@ -3871,6 +3893,7 @@ ] }, "NodeStateCounts": { + "type": "object", "properties": { "idleNodeCount": { "readOnly": true, @@ -3928,6 +3951,7 @@ "description": "Desired scale settings for the amlCompute." }, "ClusterUpdateProperties": { + "type": "object", "properties": { "properties": { "description": "Properties of ClusterUpdate", @@ -3937,6 +3961,7 @@ "description": "The properties of a amlCompute that need to be updated." }, "ClusterUpdateParameters": { + "type": "object", "properties": { "properties": { "x-ms-client-flatten": true, @@ -3966,6 +3991,7 @@ } }, "AmlComputeNodeInformation": { + "type": "object", "description": "Compute node information related to a AmlCompute.", "properties": { "nodeId": { @@ -4158,6 +4184,7 @@ "description": "List of private endpoint connection associated with the specified workspace" }, "PrivateEndpointConnection": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", @@ -4192,6 +4219,7 @@ "description": "The Private Endpoint Connection resource." }, "PrivateEndpointConnectionProperties": { + "type": "object", "properties": { "privateEndpoint": { "$ref": "#/definitions/PrivateEndpoint", @@ -4212,6 +4240,7 @@ "description": "Properties of the PrivateEndpointConnectProperties." }, "PrivateEndpoint": { + "type": "object", "properties": { "id": { "readOnly": true, @@ -4227,6 +4256,7 @@ "description": "The Private Endpoint resource." }, "PrivateLinkServiceConnectionState": { + "type": "object", "properties": { "status": { "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", @@ -4274,6 +4304,7 @@ } }, "PrivateLinkResourceListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -4286,6 +4317,7 @@ "description": "A list of private link resources" }, "PrivateLinkResource": { + "type": "object", "properties": { "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", @@ -4320,6 +4352,7 @@ "description": "A private link resource" }, "PrivateLinkResourceProperties": { + "type": "object", "properties": { "groupId": { "description": "The private link resource group id.", @@ -4345,6 +4378,7 @@ "description": "Properties of a private link resource." }, "SharedPrivateLinkResource": { + "type": "object", "properties": { "name": { "description": "Unique name of the private link.", @@ -4358,6 +4392,7 @@ } }, "SharedPrivateLinkResourceProperty": { + "type": "object", "properties": { "privateLinkResourceId": { "description": "The resource id that private link links to.", From e61e745a10ab320b588e406dc480e2ec91c305be Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Thu, 6 Jan 2022 15:32:21 +0800 Subject: [PATCH 179/211] add nullable for subnet of AmlComputeProperties --- .../stable/2021-10-01/machineLearningServices.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 2a80be932300..906d874657cf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3321,7 +3321,8 @@ "subnet": { "title": "Subnet.", "description": "Virtual network subnet resource ID the compute nodes belong to.", - "$ref": "#/definitions/ResourceId" + "$ref": "#/definitions/ResourceId", + "x-nullable": true }, "remoteLoginPortPublicAccess": { "type": "string", From bcad7268f663309f21f6ceef1aad5838dfbce55e Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 7 Jan 2022 18:49:36 -0500 Subject: [PATCH 180/211] accountName & containerName for AzureBlobDatastore no longer required --- .../stable/2021-10-01/mfe.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 5f6f5e3dfa33..ce9f754f7132 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5218,10 +5218,6 @@ }, "AzureBlobDatastore": { "description": "Azure Blob datastore configuration.", - "required": [ - "accountName", - "containerName" - ], "type": "object", "allOf": [ { @@ -5231,21 +5227,21 @@ "properties": { "accountName": { "description": "Storage account name.", - "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "containerName": { "description": "Storage account container name.", - "pattern": "[a-zA-Z0-9_]", "type": "string", "x-ms-mutability": [ "create", "read" - ] + ], + "x-nullable": true }, "endpoint": { "description": "Azure cloud endpoint for the storage account.", From 0ebb06fa1cd40ca506a9e0c9d32a130702e83452 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Mon, 10 Jan 2022 16:50:45 +0800 Subject: [PATCH 181/211] [MLC] Fix swagger Bugs/Errors of MLC --- .../2021-10-01/machineLearningServices.json | 395 +++++++++++++++++- 1 file changed, 394 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 2a80be932300..e5ed2eba664f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3059,7 +3059,8 @@ }, "computeLocation": { "description": "Location for the underlying compute", - "type": "string" + "type": "string", + "readOnly": true }, "provisioningState": { "type": "string", @@ -3509,6 +3510,43 @@ "description": "The last operation on ComputeInstance.", "$ref": "#/definitions/ComputeInstanceLastOperation", "readOnly": true + }, + "schedules": { + "description": "The list of schedules to be applied on the computes.", + "$ref": "#/definitions/ComputeInstanceSchedules", + "readOnly": true + }, + "enableNodePublicIp": { + "type": "boolean", + "title": "Enable node public IP.", + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + }, + "containers": { + "type": "array", + "description": "Describes informations of containers on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceContainer" + } + }, + "dataDisks": { + "type": "array", + "readOnly": true, + "description": "Describes informations of dataDisks on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceDataDisk" + } + }, + "dataMounts": { + "type": "array", + "description": "Describes informations of dataMounts on this ComputeInstance.", + "items": { + "$ref": "#/definitions/ComputeInstanceDataMount" + } + }, + "versions": { + "description": "ComputeInstance version.", + "$ref": "#/definitions/ComputeInstanceVersion", + "readOnly": true } } }, @@ -3552,6 +3590,11 @@ "type": "integer", "format": "int32" }, + "notebookServerPort": { + "description": "Notebook server port open for ssh connections.", + "type": "integer", + "format": "int32" + }, "address": { "description": "Public IP address of the virtual machine.", "type": "string" @@ -4540,6 +4583,356 @@ "name": "OperationStatus", "modelAsString": true } + }, + "operationTrigger": { + "type": "string", + "description": "Trigger of operation.", + "enum": [ + "User", + "Schedule", + "IdleShutdown" + ], + "x-ms-enum": { + "name": "operationTrigger", + "modelAsString": true + } + } + } + }, + "ComputeInstanceVersion": { + "type": "object", + "description": "Version of computeInstance.", + "properties": { + "runtime": { + "type": "string", + "description": "Runtime of compute instance." + } + } + }, + "ComputeInstanceSchedules": { + "type": "object", + "description": "The list of schedules to be applied on the computes.", + "properties": { + "computeStartStop": { + "type": "array", + "description": "The list of compute start stop schedules to be applied.", + "items": { + "$ref": "#/definitions/ComputeInstanceStartStopSchedule" + } + } + } + }, + "ComputeInstanceStartStopSchedule": { + "type": "object", + "description": "Compute start stop schedule properties", + "properties": { + "triggerType": { + "type": "string", + "description": "The schedule trigger type.", + "enum": [ + "Recurrence", + "Cron" + ], + "x-ms-enum": { + "name": "triggerType", + "modelAsString": true + } + }, + "recurrence": { + "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", + "$ref": "#/definitions/ComputeInstanceScheduleRecurrence" + }, + "cron": { + "description": "The workflow trigger cron for ComputeStartStop schedule type.", + "$ref": "#/definitions/ComputeInstanceScheduleCron" + }, + "action": { + "type": "string", + "description": "The compute power action.", + "enum": [ + "Start", + "Stop" + ], + "x-ms-enum": { + "name": "action", + "modelAsString": true + } + } + } + }, + "ComputeInstanceDataMount": { + "type": "object", + "description": "Defines an Aml Instance DataMount.", + "properties": { + "source": { + "type": "string", + "description": "Source of the ComputeInstance data mount." + }, + "sourceType": { + "description": "Data source type.", + "type": "string", + "enum": [ + "Dataset", + "Datastore", + "URI" + ], + "x-ms-enum": { + "name": "sourceType", + "modelAsString": true + } + }, + "mountName": { + "type": "string", + "description": "name of the ComputeInstance data mount." + }, + "mountAction": { + "description": "Mount Action.", + "type": "string", + "enum": [ + "Mount", + "Unmount" + ], + "x-ms-enum": { + "name": "mountAction", + "modelAsString": true + } + }, + "createdBy": { + "type": "string", + "description": "who this data mount created by." + }, + "mountPath": { + "type": "string", + "description": "Path of this data mount." + }, + "mountState": { + "description": "Mount state.", + "type": "string", + "enum": [ + "MountRequested", + "Mounted", + "MountFailed", + "UnmountRequested", + "UnmountFailed", + "Unmounted" + ], + "x-ms-enum": { + "name": "mountState", + "modelAsString": true + } + }, + "mountedOn": { + "type": "string", + "format": "date-time", + "title": "Mounted time.", + "description": "The time when the disk mounted." + }, + "error": { + "type": "string", + "description": "Error of this data mount." + } + } + }, + "ComputeInstanceScheduleCron": { + "type": "object", + "description": "The workflow trigger cron for ComputeStartStop schedule type.", + "properties": { + "expression": { + "type": "string", + "description": "Expression of cron." + }, + "startTime": { + "type": "string", + "description": "Start time of cron." + }, + "timeZone": { + "type": "string", + "description": "Time zone of cron." + } + } + }, + "ComputeInstanceScheduleRecurrence": { + "type": "object", + "description": "The workflow trigger recurrence for ComputeStartStop schedule type.", + "properties": { + "frequency": { + "description": "Frequency of this schedule.", + "type": "string", + "enum": [ + "Month", + "Week", + "Day", + "Hour", + "Minute" + ], + "x-ms-enum": { + "name": "frequency", + "modelAsString": true + } + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The interval." + }, + "startTime": { + "type": "string", + "description": "The start time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + }, + "schedule": { + "description": "The recurrence schedule.", + "$ref": "#/definitions/ComputeInstanceRecurrenceSchedule" + } + } + }, + "ComputeInstanceRecurrenceSchedule": { + "type": "object", + "description": "The recurrence schedule.", + "properties": { + "hours": { + "description": "hours of recurrence schedule.", + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "minutes": { + "description": "minutes of recurrence schedule.", + "type": "array", + "items": { + "type": "integer", + "format": "int32" + } + }, + "weekDays": { + "description": "The days of the week.", + "type": "array", + "items": { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday" + ] + } + } + } + }, + "ComputeInstanceDataDisk": { + "type": "object", + "description": "Defines an Aml Instance DataDisk.", + "properties": { + "caching": { + "description": "Caching type of Data Disk.", + "type": "string", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "caching", + "modelAsString": true + } + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "title": "The initial disk size in gigabytes.", + "description": "The initial disk size in gigabytes." + }, + "lun": { + "type": "integer", + "format": "int32", + "title": "The logical unit number.", + "description": "The lun is used to uniquely identify each data disk. If attaching multiple disks, each should have a distinct lun." + }, + "storageAccountType": { + "description": "type of this storage account.", + "type": "string", + "default": "Standard_LRS", + "enum": [ + "Standard_LRS", + "Premium_LRS" + ], + "x-ms-enum": { + "name": "storageAccountType", + "modelAsString": true + } + } + } + }, + "ComputeInstanceContainer": { + "type": "object", + "description": "Defines an Aml Instance container.", + "properties": { + "name": { + "type": "string", + "description": "Name of the ComputeInstance container." + }, + "autosave": { + "description": "Auto save settings.", + "type": "string", + "enum": [ + "None", + "Local", + "Remote" + ], + "x-ms-enum": { + "name": "autosave", + "modelAsString": true + } + }, + "gpu": { + "type": "string", + "description": "Information of GPU." + }, + "network": { + "description": "network of this container.", + "type": "string", + "enum": [ + "Bridge", + "Host" + ], + "x-ms-enum": { + "name": "network", + "modelAsString": true + } + }, + "environment": { + "description": "Enviroment information of this container.", + "$ref": "#/definitions/ComputeInstanceEnviromentInfo" + }, + "services": { + "type": "array", + "readOnly": true, + "description": "services of this containers.", + "items": { + "type": "object" + } + } + } + }, + "ComputeInstanceEnviromentInfo": { + "type": "object", + "description": "Enviroment infomation", + "properties": { + "name": { + "description": "name of enviroment.", + "type": "string" + }, + "version": { + "description": "version of enviroment.", + "type": "string" } } }, From ed284fd315e1bfd68fca342b50f8cfaf4cb44f96 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:25:57 -0800 Subject: [PATCH 182/211] resolve SystemData error adding ref to Resource to resolve the RequiredReadOnlySystemData error --- .../stable/2021-10-01/machineLearningServices.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 6e00e3ab6cdf..ad6c7e7ebea9 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4754,6 +4754,11 @@ "WorkspaceConnection": { "x-ms-azure-resource": true, "description": "Workspace connection.", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ], "type": "object", "properties": { "id": { From a3b483046d7a8cc366a1f3797bb8843e41606aaf Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:29:55 -0800 Subject: [PATCH 183/211] Resolve missing default response --- .../stable/2021-10-01/machineLearningServices.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index ad6c7e7ebea9..abbc363c6dac 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -492,6 +492,12 @@ "schema": { "$ref": "#/definitions/ListUsagesResult" } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } }, "x-ms-pageable": { @@ -1470,6 +1476,12 @@ "schema": { "$ref": "#/definitions/PrivateLinkResourceListResult" } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" + } } } } From 06a3faca656e7a55ca7a23af20b843a6163afd20 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:42:48 -0800 Subject: [PATCH 184/211] Resolve wrong response schema --- .../stable/2021-10-01/machineLearningServices.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index abbc363c6dac..c4c804f033fc 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -1994,6 +1994,10 @@ "type": "string" } } + }, + "isDataAction": { + "description": "Indicates whether the operation applies to data-plane", + "type": "boolean" } } }, From 1caf28be80628a4372438e0f8438a4a236a61399 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 11 Jan 2022 20:44:05 -0800 Subject: [PATCH 185/211] Add missing Object type --- .../stable/2021-10-01/workspaceFeatures.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json index b7aa83a88525..d2edfbb0d4fe 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json @@ -81,6 +81,7 @@ } }, "ListAmlUserFeatureResult": { + "type": "object", "properties": { "value": { "readOnly": true, From 8d70c234be37fd459153848d1a695fb04f753840 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Wed, 12 Jan 2022 18:10:25 +0800 Subject: [PATCH 186/211] Fix swagger lint issue in machineLearningService.json --- .../2021-10-01/machineLearningServices.json | 338 ++++++++++-------- 1 file changed, 186 insertions(+), 152 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index e5ed2eba664f..8f1082f26e77 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3017,13 +3017,7 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" }, { - "type": "object", - "properties": { - "properties": { - "description": "Compute properties", - "$ref": "#/definitions/Compute" - } - } + "$ref": "#/definitions/ComputeResourceSchema" } ], "properties": { @@ -3048,6 +3042,15 @@ } } }, + "ComputeResourceSchema": { + "type": "object", + "properties": { + "properties": { + "description": "Compute properties", + "$ref": "#/definitions/Compute" + } + } + }, "Compute": { "type": "object", "description": "Machine Learning compute object.", @@ -3129,79 +3132,82 @@ "$ref": "#/definitions/Compute" }, { + "$ref": "#/definitions/AKSSchema" + } + ], + "x-ms-discriminator-value": "AKS" + }, + "AKSSchema": { + "type": "object", + "properties": { + "properties": { "type": "object", + "description": "AKS properties", "properties": { - "properties": { - "type": "object", - "description": "AKS properties", - "properties": { - "clusterFqdn": { - "description": "Cluster full qualified domain name", - "type": "string" - }, - "systemServices": { - "type": "array", - "description": "System services", - "items": { - "$ref": "#/definitions/SystemService" - }, - "readOnly": true - }, - "agentCount": { - "description": "Number of agents", - "type": "integer", - "format": "int32", - "minimum": 0 - }, - "agentVmSize": { - "description": "Agent virtual machine size", - "type": "string" - }, - "clusterPurpose": { - "description": "Intended usage of the cluster", - "type": "string", - "default": "FastProd", - "enum": [ - "FastProd", - "DenseProd", - "DevTest" - ], - "x-ms-enum": { - "name": "ClusterPurpose", - "modelAsString": true - } - }, - "sslConfiguration": { - "description": "SSL configuration", - "$ref": "#/definitions/SslConfiguration" - }, - "aksNetworkingConfiguration": { - "description": "AKS networking configuration for vnet", - "$ref": "#/definitions/AksNetworkingConfiguration" - }, - "loadBalancerType": { - "description": "Load Balancer Type", - "type": "string", - "default": "PublicIp", - "enum": [ - "PublicIp", - "InternalLoadBalancer" - ], - "x-ms-enum": { - "name": "LoadBalancerType", - "modelAsString": true - } - }, - "loadBalancerSubnet": { - "description": "Load Balancer Subnet", - "type": "string" - } + "clusterFqdn": { + "description": "Cluster full qualified domain name", + "type": "string" + }, + "systemServices": { + "type": "array", + "description": "System services", + "items": { + "$ref": "#/definitions/SystemService" + }, + "readOnly": true + }, + "agentCount": { + "description": "Number of agents", + "type": "integer", + "format": "int32", + "minimum": 0 + }, + "agentVmSize": { + "description": "Agent virtual machine size", + "type": "string" + }, + "clusterPurpose": { + "description": "Intended usage of the cluster", + "type": "string", + "default": "FastProd", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ], + "x-ms-enum": { + "name": "ClusterPurpose", + "modelAsString": true + } + }, + "sslConfiguration": { + "description": "SSL configuration", + "$ref": "#/definitions/SslConfiguration" + }, + "aksNetworkingConfiguration": { + "description": "AKS networking configuration for vnet", + "$ref": "#/definitions/AksNetworkingConfiguration" + }, + "loadBalancerType": { + "description": "Load Balancer Type", + "type": "string", + "default": "PublicIp", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ], + "x-ms-enum": { + "name": "LoadBalancerType", + "modelAsString": true } + }, + "loadBalancerSubnet": { + "description": "Load Balancer Subnet", + "type": "string" } } } - ], - "x-ms-discriminator-value": "AKS" + } }, "Kubernetes": { "description": "A Machine Learning compute based on Kubernetes Compute.", @@ -3409,23 +3415,27 @@ "$ref": "#/definitions/Compute" }, { - "type": "object", - "description": "Properties(top level) of AmlCompute", - "properties": { - "properties": { - "description": "Properties of AmlCompute", - "$ref": "#/definitions/AmlComputeProperties" - } - } + "$ref": "#/definitions/AmlComputeSchema" } ], "x-ms-discriminator-value": "AmlCompute" }, + "AmlComputeSchema": { + "type": "object", + "description": "Properties(top level) of AmlCompute", + "properties": { + "properties": { + "description": "Properties of AmlCompute", + "$ref": "#/definitions/AmlComputeProperties" + } + } + }, "ComputeInstanceProperties": { "description": "Compute Instance properties", "type": "object", "properties": { "vmSize": { + "readOnly": true, "description": "Virtual Machine Size", "type": "string" }, @@ -3523,6 +3533,7 @@ }, "containers": { "type": "array", + "readOnly": true, "description": "Describes informations of containers on this ComputeInstance.", "items": { "$ref": "#/definitions/ComputeInstanceContainer" @@ -3538,6 +3549,7 @@ }, "dataMounts": { "type": "array", + "readOnly": true, "description": "Describes informations of dataMounts on this ComputeInstance.", "items": { "$ref": "#/definitions/ComputeInstanceDataMount" @@ -3557,18 +3569,21 @@ "$ref": "#/definitions/Compute" }, { - "type": "object", - "description": "Properties(top level) of ComputeInstance", - "properties": { - "properties": { - "description": "Properties of ComputeInstance", - "$ref": "#/definitions/ComputeInstanceProperties" - } - } + "$ref": "#/definitions/ComputeInstanceSchema" } ], "x-ms-discriminator-value": "ComputeInstance" }, + "ComputeInstanceSchema": { + "type": "object", + "description": "Properties(top level) of ComputeInstance", + "properties": { + "properties": { + "description": "Properties of ComputeInstance", + "$ref": "#/definitions/ComputeInstanceProperties" + } + } + }, "VirtualMachine": { "description": "A Machine Learning compute based on Azure Virtual Machines.", "allOf": [ @@ -3576,43 +3591,46 @@ "$ref": "#/definitions/Compute" }, { + "$ref": "#/definitions/VirtualMachineSchema" + } + ], + "x-ms-discriminator-value": "VirtualMachine" + }, + "VirtualMachineSchema": { + "type": "object", + "properties": { + "properties": { "type": "object", "properties": { - "properties": { - "type": "object", - "properties": { - "virtualMachineSize": { - "description": "Virtual Machine size", - "type": "string" - }, - "sshPort": { - "description": "Port open for ssh connections.", - "type": "integer", - "format": "int32" - }, - "notebookServerPort": { - "description": "Notebook server port open for ssh connections.", - "type": "integer", - "format": "int32" - }, - "address": { - "description": "Public IP address of the virtual machine.", - "type": "string" - }, - "administratorAccount": { - "description": "Admin credentials for virtual machine", - "$ref": "#/definitions/VirtualMachineSshCredentials" - }, - "isNotebookInstanceCompute": { - "description": "Indicates whether this compute will be used for running notebooks.", - "type": "boolean" - } - } + "virtualMachineSize": { + "description": "Virtual Machine size", + "type": "string" + }, + "sshPort": { + "description": "Port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "notebookServerPort": { + "description": "Notebook server port open for ssh connections.", + "type": "integer", + "format": "int32" + }, + "address": { + "description": "Public IP address of the virtual machine.", + "type": "string" + }, + "administratorAccount": { + "description": "Admin credentials for virtual machine", + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + "isNotebookInstanceCompute": { + "description": "Indicates whether this compute will be used for running notebooks.", + "type": "boolean" } } } - ], - "x-ms-discriminator-value": "VirtualMachine" + } }, "HDInsightProperties": { "type": "object", @@ -3640,16 +3658,19 @@ "$ref": "#/definitions/Compute" }, { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/HDInsightProperties" - } - } + "$ref": "#/definitions/HDInsightSchema" } ], "x-ms-discriminator-value": "HDInsight" }, + "HDInsightSchema": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/HDInsightProperties" + } + } + }, "DataFactory": { "description": "A DataFactory compute.", "allOf": [ @@ -3680,16 +3701,19 @@ "$ref": "#/definitions/Compute" }, { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/DatabricksProperties" - } - } + "$ref": "#/definitions/DatabricksSchema" } ], "x-ms-discriminator-value": "Databricks" }, + "DatabricksSchema": { + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/DatabricksProperties" + } + } + }, "DataLakeAnalytics": { "description": "A DataLakeAnalytics compute.", "allOf": [ @@ -3697,21 +3721,24 @@ "$ref": "#/definitions/Compute" }, { + "$ref": "#/definitions/DataLakeAnalyticsSchema" + } + ], + "x-ms-discriminator-value": "DataLakeAnalytics" + }, + "DataLakeAnalyticsSchema": { + "type": "object", + "properties": { + "properties": { "type": "object", "properties": { - "properties": { - "type": "object", - "properties": { - "dataLakeStoreAccountName": { - "description": "DataLake Store Account Name", - "type": "string" - } - } + "dataLakeStoreAccountName": { + "description": "DataLake Store Account Name", + "type": "string" } } } - ], - "x-ms-discriminator-value": "DataLakeAnalytics" + } }, "SynapseSpark": { "type": "object", @@ -4134,17 +4161,20 @@ "$ref": "#/definitions/ComputeSecrets" }, { - "type": "object", - "properties": { - "administratorAccount": { - "description": "Admin credentials for virtual machine.", - "$ref": "#/definitions/VirtualMachineSshCredentials" - } - } + "$ref": "#/definitions/VirtualMachineSecretsSchema" } ], "x-ms-discriminator-value": "VirtualMachine" }, + "VirtualMachineSecretsSchema": { + "type": "object", + "properties": { + "administratorAccount": { + "description": "Admin credentials for virtual machine.", + "$ref": "#/definitions/VirtualMachineSshCredentials" + } + } + }, "DatabricksComputeSecretsProperties": { "type": "object", "description": "Properties of Databricks Compute Secrets", @@ -4822,7 +4852,11 @@ "Friday", "Saturday", "Sunday" - ] + ], + "x-ms-enum": { + "name": "DaysOfWeek", + "modelAsString": true + } } } } From 75d21795ab3187167858777841b9849f189299d9 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Wed, 12 Jan 2022 10:44:25 -0800 Subject: [PATCH 187/211] Remove duplicate properties after using AllOf keyword --- .../2021-10-01/machineLearningServices.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index c4c804f033fc..f549a279800b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -4777,21 +4777,6 @@ ], "type": "object", "properties": { - "id": { - "type": "string", - "description": "ResourceId of the workspace connection.", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Friendly name of the workspace connection.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Resource type of workspace connection.", - "readOnly": true - }, "properties": { "type": "object", "description": "Properties of workspace connection.", From 089eda18dc779f586b5cac8bf742ac106d47d9a9 Mon Sep 17 00:00:00 2001 From: Teddy Date: Fri, 14 Jan 2022 11:49:57 -0500 Subject: [PATCH 188/211] description change to trigger test rerun --- .../stable/2021-10-01/mfe.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index ce9f754f7132..2b54ce1abbeb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7311,7 +7311,7 @@ ] }, "parentJobName": { - "description": "TODO - Parent job name.", + "description": "TODO- Parent job name.", "type": "string", "readOnly": true, "x-ms-mutability": [ From 4f5f6d31fd704d79011f706e27c60bc02c493074 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Fri, 14 Jan 2022 10:31:19 -0800 Subject: [PATCH 189/211] Adding missing example and small fix --- .../stable/2021-10-01/examples/Compute/delete.json | 3 ++- .../stable/2021-10-01/machineLearningServices.json | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json index 89d2a2d4d19c..7315283521a2 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json @@ -14,6 +14,7 @@ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...", "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..." } - } + }, + "204": {} } } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index f549a279800b..0e88d9c10b4b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -539,6 +539,12 @@ "schema": { "$ref": "#/definitions/VirtualMachineSizeListResult" } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } } }, "x-ms-examples": { From 6c9f5411096df4e2a488b8e49db45b0144dbac22 Mon Sep 17 00:00:00 2001 From: Bingchen Li Date: Tue, 18 Jan 2022 13:57:16 +0800 Subject: [PATCH 190/211] [MLC] fix ModelValidation Errors of MLC --- .../examples/Compute/createOrUpdate/AmlCompute.json | 4 +++- .../examples/Compute/createOrUpdate/ComputeInstance.json | 4 +++- .../stable/2021-10-01/examples/Compute/get/AmlCompute.json | 4 +++- .../2021-10-01/examples/Compute/get/ComputeInstance.json | 4 +++- .../stable/2021-10-01/machineLearningServices.json | 1 - 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json index 0639cb85b3c3..9187938c6faf 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json @@ -39,7 +39,9 @@ "osType": "Windows", "virtualMachineImage": null, "isolatedNetwork": false, - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "scaleSettings": { "maxNodeCount": 1, "minNodeCount": 0, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json index 92d9146090b6..6b0bdf503802 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json @@ -11,7 +11,9 @@ "computeType": "ComputeInstance", "properties": { "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "applicationSharingPolicy": "Personal", "sshSettings": { "sshPublicAccess": "Disabled" diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json index 3b4283aceffb..d9fd7095236d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json @@ -25,7 +25,9 @@ "osType": "Windows", "virtualMachineImage": null, "isolatedNetwork": false, - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "scaleSettings": { "maxNodeCount": 1, "minNodeCount": 0, diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json index 1cb7a9a31900..9f17a3d05481 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json @@ -21,7 +21,9 @@ "provisioningState": "Succeeded", "properties": { "vmSize": "STANDARD_NC6", - "subnet": "test-subnet-resource-id", + "subnet": { + "id": "test-subnet-resource-id" + }, "applicationSharingPolicy": "Shared", "sshSettings": { "sshPublicAccess": "Enabled", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json index 08ac7d7f87c1..63c251b539f7 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json @@ -3479,7 +3479,6 @@ "type": "object", "properties": { "vmSize": { - "readOnly": true, "description": "Virtual Machine Size", "type": "string" }, From d4aa7a04d1ddef525c3b49bc141b3959e44105dc Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Wed, 19 Jan 2022 10:44:39 -0800 Subject: [PATCH 191/211] try to fix mutability error --- .../stable/2021-10-01/mfe.json | 82 +++++++++---------- 1 file changed, 37 insertions(+), 45 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 2b54ce1abbeb..78366a0fe982 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5543,11 +5543,7 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/DeploymentProvisioningState" }, "resources": { "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", @@ -5629,11 +5625,7 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/EndpointProvisioningState" } }, "x-ms-client-name": "BatchEndpointDetails", @@ -6707,7 +6699,11 @@ "name": "DeploymentProvisioningState", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "DistributionConfiguration": { "description": "Base definition for job distribution configuration.", @@ -6974,7 +6970,11 @@ "name": "EndpointProvisioningState", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "EnvironmentContainer": { "description": "Container for environment specification versions.", @@ -7036,7 +7036,11 @@ "name": "EnvironmentType", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "EnvironmentVersion": { "description": "Environment version details.", @@ -7065,11 +7069,7 @@ }, "environmentType": { "description": "Environment type is either user managed or curated by the Azure ML service\r\n", - "$ref": "#/definitions/EnvironmentType", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/EnvironmentType" }, "image": { "description": "Name of the image that will be used for the environment.\r\n", @@ -7330,11 +7330,7 @@ }, "status": { "description": "Status of the job.", - "$ref": "#/definitions/JobStatus", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/JobStatus" } }, "discriminator": "jobType", @@ -7608,19 +7604,11 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/OutputDataDeliveryMode" }, "uri": { "description": "Uri path.", "$ref": "#/definitions/UriReference", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], "x-nullable": true } }, @@ -7712,7 +7700,11 @@ "name": "JobStatus", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "JobType": { "description": "Enum to determine the type of job.", @@ -8061,11 +8053,7 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/DeploymentProvisioningState" }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", @@ -8157,11 +8145,7 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/EndpointProvisioningState" }, "traffic": { "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", @@ -8303,7 +8287,11 @@ "name": "OutputDataDeliveryMode", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "OutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", @@ -9660,7 +9648,11 @@ "x-nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "UserAssignedIdentityMeta": { "description": "User assigned identities associated with a resource.", From 86f79106953cd22673afb359482665d3faa54644 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Wed, 19 Jan 2022 10:59:55 -0800 Subject: [PATCH 192/211] fix mutability issue again --- .../stable/2021-10-01/mfe.json | 30 +++++++------------ 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 78366a0fe982..19a22e9fdfe8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7604,11 +7604,19 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode" + "$ref": "#/definitions/OutputDataDeliveryMode", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "uri": { "description": "Uri path.", "$ref": "#/definitions/UriReference", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true } }, @@ -8287,11 +8295,7 @@ "name": "OutputDataDeliveryMode", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "OutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", @@ -9632,27 +9636,15 @@ "file": { "description": "Single file uri path", "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], "x-nullable": true }, "folder": { "description": "Folder uri path", "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], "x-nullable": true } }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "UserAssignedIdentityMeta": { "description": "User assigned identities associated with a resource.", From 52083e42107a50b9e4c1a1d9e5fb7ffd50bed9b0 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Wed, 19 Jan 2022 11:16:12 -0800 Subject: [PATCH 193/211] try fix mutability error --- .../stable/2021-10-01/mfe.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 19a22e9fdfe8..42224eb5490a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7570,7 +7570,11 @@ "mode": { "description": "Output Delivery Mode.", "default": "ReadWriteMount", - "$ref": "#/definitions/OutputDataDeliveryMode", + "allOf":[ + { + "$ref": "#/definitions/OutputDataDeliveryMode" + } + ], "x-ms-mutability": [ "create", "read" @@ -7604,7 +7608,11 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode", + "allOf":[ + { + "$ref": "#/definitions/OutputDataDeliveryMode" + } + ], "readOnly": true, "x-ms-mutability": [ "read" @@ -7612,7 +7620,11 @@ }, "uri": { "description": "Uri path.", - "$ref": "#/definitions/UriReference", + "allOf":[ + { + "$ref": "#/definitions/UriReference" + } + ], "readOnly": true, "x-ms-mutability": [ "read" From 6035a5b4f864482dc90f8b4db3526e0bda475a24 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Wed, 19 Jan 2022 11:25:38 -0800 Subject: [PATCH 194/211] suppress wrong error for pageable itemName override --- .../machinelearningservices/resource-manager/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 8ce1825d227f..eb1789b5afad 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -41,6 +41,15 @@ input-file: - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json ``` +## Suppression + +``` yaml +directive: + - suppress: R3008 + from: machineLearningServices.json + reason: The pageable itemName override is not considered by the LintDiff check correctly. +``` + ### Tag: package-2022-01-01-preview These settings apply only when `--tag=package-2022-01-01-preview` is specified on the command line. From 5464fc194b3740f671a259bc74aa357bf2078351 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 11:59:11 -0800 Subject: [PATCH 195/211] fix 3011 error --- .../Job/CommandJob/createOrUpdate.json | 18 +++++------ .../examples/Job/CommandJob/get.json | 6 ++-- .../examples/Job/CommandJob/list.json | 6 ++-- .../Job/PipelineJob/createOrUpdate.json | 30 +++++++++---------- .../examples/Job/PipelineJob/get.json | 10 +++---- .../examples/Job/PipelineJob/list.json | 10 +++---- .../examples/ModelVersion/list.json | 4 +-- 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json index e7547471333a..f2441ca2581f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -7,7 +7,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -42,7 +42,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -50,7 +50,7 @@ }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } @@ -81,7 +81,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -120,7 +120,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -128,7 +128,7 @@ }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } @@ -169,7 +169,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -208,7 +208,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -216,7 +216,7 @@ }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json index 270ebaa04b97..f5ad3ca6e2b4 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -14,7 +14,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -53,7 +53,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -61,7 +61,7 @@ }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json index b42845c45058..e7e99387ce92 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -18,7 +18,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -57,7 +57,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -65,7 +65,7 @@ }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json index 51df8c7a565f..2661e42a8644 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json @@ -7,7 +7,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -35,14 +35,14 @@ "componentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -52,14 +52,14 @@ }, "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -82,7 +82,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -114,14 +114,14 @@ "componentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -131,14 +131,14 @@ }, "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -168,7 +168,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -200,14 +200,14 @@ "componentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -217,14 +217,14 @@ }, "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json index c378bdebcb1f..73bb5fc1ac36 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json @@ -14,7 +14,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -46,14 +46,14 @@ "componentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -63,14 +63,14 @@ }, "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json index f6cf8eebc18e..4dd6dfdb7201 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json @@ -18,7 +18,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, @@ -50,14 +50,14 @@ "componentId": "string", "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -67,14 +67,14 @@ }, "inputs": { "string": { - "description": "string", + "description": "a string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "string", + "description": "a string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json index 4840fabcb6d0..54e1bf466e89 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json @@ -9,7 +9,7 @@ "$orderBy": "string", "$top": 1, "version": "string", - "description": "string", + "description": "a string", "offset": 1, "tags": "string", "properties": "string" @@ -24,7 +24,7 @@ "name": "string", "type": "string", "properties": { - "description": "string", + "description": "a string", "tags": { "string": "string" }, From a3eec377183633acfab3dd428b81fce4f4e60ca6 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:43:19 -0800 Subject: [PATCH 196/211] Revert "fix 3011 error" This reverts commit 5464fc194b3740f671a259bc74aa357bf2078351. --- .../Job/CommandJob/createOrUpdate.json | 18 +++++------ .../examples/Job/CommandJob/get.json | 6 ++-- .../examples/Job/CommandJob/list.json | 6 ++-- .../Job/PipelineJob/createOrUpdate.json | 30 +++++++++---------- .../examples/Job/PipelineJob/get.json | 10 +++---- .../examples/Job/PipelineJob/list.json | 10 +++---- .../examples/ModelVersion/list.json | 4 +-- 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json index f2441ca2581f..e7547471333a 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json @@ -7,7 +7,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -42,7 +42,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -50,7 +50,7 @@ }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } @@ -81,7 +81,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -120,7 +120,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -128,7 +128,7 @@ }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } @@ -169,7 +169,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -208,7 +208,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -216,7 +216,7 @@ }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json index f5ad3ca6e2b4..270ebaa04b97 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json @@ -14,7 +14,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -53,7 +53,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -61,7 +61,7 @@ }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json index e7e99387ce92..b42845c45058 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json @@ -18,7 +18,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -57,7 +57,7 @@ "environmentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Dataset", "datasetId": "string", "mode": "ReadOnlyMount" @@ -65,7 +65,7 @@ }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "ReadWriteMount" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json index 2661e42a8644..51df8c7a565f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json @@ -7,7 +7,7 @@ "api-version": "2021-10-01", "body": { "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -35,14 +35,14 @@ "componentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -52,14 +52,14 @@ }, "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -82,7 +82,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -114,14 +114,14 @@ "componentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -131,14 +131,14 @@ }, "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -168,7 +168,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -200,14 +200,14 @@ "componentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -217,14 +217,14 @@ }, "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json index 73bb5fc1ac36..c378bdebcb1f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json @@ -14,7 +14,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -46,14 +46,14 @@ "componentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -63,14 +63,14 @@ }, "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json index 4dd6dfdb7201..f6cf8eebc18e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json @@ -18,7 +18,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, @@ -50,14 +50,14 @@ "componentId": "string", "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } @@ -67,14 +67,14 @@ }, "inputs": { "string": { - "description": "a string", + "description": "string", "jobInputType": "Literal", "value": "string" } }, "outputs": { "string": { - "description": "a string", + "description": "string", "jobOutputType": "Dataset", "mode": "Upload" } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json index 54e1bf466e89..4840fabcb6d0 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json @@ -9,7 +9,7 @@ "$orderBy": "string", "$top": 1, "version": "string", - "description": "a string", + "description": "string", "offset": 1, "tags": "string", "properties": "string" @@ -24,7 +24,7 @@ "name": "string", "type": "string", "properties": { - "description": "a string", + "description": "string", "tags": { "string": "string" }, From 28acbb8c08b90be91f8a973152ea1e6e77687ddd Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:43:27 -0800 Subject: [PATCH 197/211] Revert "try fix mutability error" This reverts commit 52083e42107a50b9e4c1a1d9e5fb7ffd50bed9b0. --- .../stable/2021-10-01/mfe.json | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 42224eb5490a..19a22e9fdfe8 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7570,11 +7570,7 @@ "mode": { "description": "Output Delivery Mode.", "default": "ReadWriteMount", - "allOf":[ - { - "$ref": "#/definitions/OutputDataDeliveryMode" - } - ], + "$ref": "#/definitions/OutputDataDeliveryMode", "x-ms-mutability": [ "create", "read" @@ -7608,11 +7604,7 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "allOf":[ - { - "$ref": "#/definitions/OutputDataDeliveryMode" - } - ], + "$ref": "#/definitions/OutputDataDeliveryMode", "readOnly": true, "x-ms-mutability": [ "read" @@ -7620,11 +7612,7 @@ }, "uri": { "description": "Uri path.", - "allOf":[ - { - "$ref": "#/definitions/UriReference" - } - ], + "$ref": "#/definitions/UriReference", "readOnly": true, "x-ms-mutability": [ "read" From b3a5416e8e827eccd664d4f672aa9a252da4efa0 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:43:33 -0800 Subject: [PATCH 198/211] Revert "fix mutability issue again" This reverts commit 86f79106953cd22673afb359482665d3faa54644. --- .../stable/2021-10-01/mfe.json | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 19a22e9fdfe8..78366a0fe982 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -7604,19 +7604,11 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode", - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "$ref": "#/definitions/OutputDataDeliveryMode" }, "uri": { "description": "Uri path.", "$ref": "#/definitions/UriReference", - "readOnly": true, - "x-ms-mutability": [ - "read" - ], "x-nullable": true } }, @@ -8295,7 +8287,11 @@ "name": "OutputDataDeliveryMode", "modelAsString": true }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "OutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", @@ -9636,15 +9632,27 @@ "file": { "description": "Single file uri path", "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], "x-nullable": true }, "folder": { "description": "Folder uri path", "type": "string", + "x-ms-mutability": [ + "create", + "read" + ], "x-nullable": true } }, - "additionalProperties": false + "additionalProperties": false, + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "UserAssignedIdentityMeta": { "description": "User assigned identities associated with a resource.", From f17342ab97c10b26243d66f983f540f46e671a59 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:43:37 -0800 Subject: [PATCH 199/211] Revert "try to fix mutability error" This reverts commit d4aa7a04d1ddef525c3b49bc141b3959e44105dc. --- .../stable/2021-10-01/mfe.json | 82 ++++++++++--------- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 78366a0fe982..2b54ce1abbeb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5543,7 +5543,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState" + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "resources": { "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", @@ -5625,7 +5629,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState" + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "x-ms-client-name": "BatchEndpointDetails", @@ -6699,11 +6707,7 @@ "name": "DeploymentProvisioningState", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "DistributionConfiguration": { "description": "Base definition for job distribution configuration.", @@ -6970,11 +6974,7 @@ "name": "EndpointProvisioningState", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "EnvironmentContainer": { "description": "Container for environment specification versions.", @@ -7036,11 +7036,7 @@ "name": "EnvironmentType", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "EnvironmentVersion": { "description": "Environment version details.", @@ -7069,7 +7065,11 @@ }, "environmentType": { "description": "Environment type is either user managed or curated by the Azure ML service\r\n", - "$ref": "#/definitions/EnvironmentType" + "$ref": "#/definitions/EnvironmentType", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "image": { "description": "Name of the image that will be used for the environment.\r\n", @@ -7330,7 +7330,11 @@ }, "status": { "description": "Status of the job.", - "$ref": "#/definitions/JobStatus" + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "discriminator": "jobType", @@ -7604,11 +7608,19 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode" + "$ref": "#/definitions/OutputDataDeliveryMode", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "uri": { "description": "Uri path.", "$ref": "#/definitions/UriReference", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true } }, @@ -7700,11 +7712,7 @@ "name": "JobStatus", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "JobType": { "description": "Enum to determine the type of job.", @@ -8053,7 +8061,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState" + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", @@ -8145,7 +8157,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState" + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "traffic": { "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", @@ -8287,11 +8303,7 @@ "name": "OutputDataDeliveryMode", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "OutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", @@ -9648,11 +9660,7 @@ "x-nullable": true } }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "UserAssignedIdentityMeta": { "description": "User assigned identities associated with a resource.", From 1b95e7e420ceb60084ec2f329d0a24fe5b5f1528 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 25 Jan 2022 11:26:05 -0800 Subject: [PATCH 200/211] move 1001 folder to machinelearning --- .../BatchDeployment/createOrUpdate.json | 0 .../examples/BatchDeployment/delete.json | 0 .../examples/BatchDeployment/get.json | 0 .../examples/BatchDeployment/list.json | 0 .../examples/BatchDeployment/update.json | 0 .../BatchEndpoint/createOrUpdate.json | 0 .../examples/BatchEndpoint/delete.json | 0 .../examples/BatchEndpoint/get.json | 0 .../examples/BatchEndpoint/list.json | 0 .../examples/BatchEndpoint/listKeys.json | 0 .../examples/BatchEndpoint/update.json | 0 .../CodeContainer/createOrUpdate.json | 0 .../examples/CodeContainer/delete.json | 0 .../examples/CodeContainer/get.json | 0 .../examples/CodeContainer/list.json | 0 .../examples/CodeVersion/createOrUpdate.json | 0 .../examples/CodeVersion/delete.json | 0 .../2021-10-01/examples/CodeVersion/get.json | 0 .../2021-10-01/examples/CodeVersion/list.json | 0 .../ComponentContainer/createOrUpdate.json | 0 .../examples/ComponentContainer/delete.json | 0 .../examples/ComponentContainer/get.json | 0 .../examples/ComponentContainer/list.json | 0 .../ComponentVersion/createOrUpdate.json | 0 .../examples/ComponentVersion/delete.json | 0 .../examples/ComponentVersion/get.json | 0 .../examples/ComponentVersion/list.json | 0 .../Compute/createOrUpdate/AKSCompute.json | 0 .../Compute/createOrUpdate/AmlCompute.json | 0 .../createOrUpdate/BasicAKSCompute.json | 0 .../createOrUpdate/BasicAmlCompute.json | 0 .../BasicDataFactoryCompute.json | 0 .../createOrUpdate/ComputeInstance.json | 0 .../ComputeInstanceMinimal.json | 0 .../createOrUpdate/KubernetesCompute.json | 0 .../2021-10-01/examples/Compute/delete.json | 0 .../examples/Compute/get/AKSCompute.json | 0 .../examples/Compute/get/AmlCompute.json | 0 .../examples/Compute/get/ComputeInstance.json | 0 .../Compute/get/KubernetesCompute.json | 0 .../2021-10-01/examples/Compute/list.json | 0 .../2021-10-01/examples/Compute/listKeys.json | 0 .../examples/Compute/listNodes.json | 0 .../2021-10-01/examples/Compute/patch.json | 0 .../2021-10-01/examples/Compute/restart.json | 0 .../2021-10-01/examples/Compute/start.json | 0 .../2021-10-01/examples/Compute/stop.json | 0 .../DatasetContainer/createOrUpdate.json | 0 .../examples/DatasetContainer/delete.json | 0 .../examples/DatasetContainer/get.json | 0 .../examples/DatasetContainer/list.json | 0 .../DatasetVersion/createOrUpdate.json | 0 .../examples/DatasetVersion/delete.json | 0 .../examples/DatasetVersion/get.json | 0 .../examples/DatasetVersion/list.json | 0 .../AzureBlobWAccountKey/createOrUpdate.json | 0 .../createOrUpdate.json | 0 .../createOrUpdate.json | 0 .../AzureFileWAccountKey/createOrUpdate.json | 0 .../2021-10-01/examples/Datastore/delete.json | 0 .../2021-10-01/examples/Datastore/get.json | 0 .../2021-10-01/examples/Datastore/list.json | 0 .../examples/Datastore/listSecrets.json | 0 .../EnvironmentContainer/createOrUpdate.json | 0 .../examples/EnvironmentContainer/delete.json | 0 .../examples/EnvironmentContainer/get.json | 0 .../examples/EnvironmentContainer/list.json | 0 .../EnvironmentVersion/createOrUpdate.json | 0 .../examples/EnvironmentVersion/delete.json | 0 .../examples/EnvironmentVersion/get.json | 0 .../examples/EnvironmentVersion/list.json | 0 .../2021-10-01/examples/ExternalFQDN/get.json | 0 .../Job/CommandJob/createOrUpdate.json | 0 .../examples/Job/CommandJob/get.json | 0 .../examples/Job/CommandJob/list.json | 0 .../Job/PipelineJob/createOrUpdate.json | 0 .../examples/Job/PipelineJob/get.json | 0 .../examples/Job/PipelineJob/list.json | 0 .../examples/Job/SweepJob/createOrUpdate.json | 0 .../2021-10-01/examples/Job/SweepJob/get.json | 0 .../examples/Job/SweepJob/list.json | 0 .../2021-10-01/examples/Job/cancel.json | 0 .../2021-10-01/examples/Job/delete.json | 0 .../ModelContainer/createOrUpdate.json | 0 .../examples/ModelContainer/delete.json | 0 .../examples/ModelContainer/get.json | 0 .../examples/ModelContainer/list.json | 0 .../examples/ModelVersion/createOrUpdate.json | 0 .../examples/ModelVersion/delete.json | 0 .../2021-10-01/examples/ModelVersion/get.json | 0 .../examples/ModelVersion/list.json | 0 .../examples/Notebook/listKeys.json | 0 .../2021-10-01/examples/Notebook/prepare.json | 0 .../createOrUpdate.json | 0 .../KubernetesOnlineDeployment/get.json | 0 .../KubernetesOnlineDeployment/listSkus.json | 0 .../KubernetesOnlineDeployment/update.json | 0 .../createOrUpdate.json | 0 .../ManagedOnlineDeployment/get.json | 0 .../ManagedOnlineDeployment/listSkus.json | 0 .../ManagedOnlineDeployment/update.json | 0 .../examples/OnlineDeployment/delete.json | 0 .../examples/OnlineDeployment/getLogs.json | 0 .../examples/OnlineDeployment/list.json | 0 .../OnlineEndpoint/createOrUpdate.json | 0 .../examples/OnlineEndpoint/delete.json | 0 .../examples/OnlineEndpoint/get.json | 0 .../examples/OnlineEndpoint/getToken.json | 0 .../examples/OnlineEndpoint/list.json | 0 .../examples/OnlineEndpoint/listKeys.json | 0 .../OnlineEndpoint/regenerateKeys.json | 0 .../examples/OnlineEndpoint/update.json | 0 .../createOrUpdate.json | 0 .../PrivateEndpointConnection/delete.json | 0 .../PrivateEndpointConnection/get.json | 0 .../PrivateEndpointConnection/list.json | 0 .../examples/PrivateLinkResource/list.json | 0 .../2021-10-01/examples/Quota/list.json | 0 .../2021-10-01/examples/Quota/update.json | 0 .../2021-10-01/examples/Usage/list.json | 0 .../examples/VirtualMachineSize/list.json | 0 .../2021-10-01/examples/Workspace/create.json | 0 .../2021-10-01/examples/Workspace/delete.json | 0 .../examples/Workspace/diagnose.json | 0 .../2021-10-01/examples/Workspace/get.json | 0 .../Workspace/listByResourceGroup.json | 0 .../Workspace/listBySubscription.json | 0 .../examples/Workspace/listKeys.json | 0 .../Workspace/listNotebookAccessToken.json | 0 .../Workspace/listStorageAccountKeys.json | 0 .../examples/Workspace/resyncKeys.json | 0 .../2021-10-01/examples/Workspace/update.json | 0 .../examples/WorkspaceConnection/create.json | 0 .../examples/WorkspaceConnection/delete.json | 0 .../examples/WorkspaceConnection/get.json | 0 .../examples/WorkspaceConnection/list.json | 0 .../examples/WorkspaceFeature/list.json | 0 .../2021-10-01/machineLearningServices.json | 0 .../stable/2021-10-01/mfe.json | 0 .../stable/2021-10-01/workspaceFeatures.json | 0 .../resource-manager/readme.md | 21 +++++++++++++++++++ 141 files changed, 21 insertions(+) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchDeployment/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchDeployment/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchDeployment/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchDeployment/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/listKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/BatchEndpoint/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeContainer/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeContainer/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeContainer/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeVersion/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeVersion/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/CodeVersion/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentContainer/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentContainer/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentContainer/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentVersion/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentVersion/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ComponentVersion/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/get/AKSCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/get/AmlCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/get/ComputeInstance.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/listKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/listNodes.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/patch.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/restart.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/start.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Compute/stop.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetContainer/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetContainer/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetContainer/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetVersion/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetVersion/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/DatasetVersion/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Datastore/listSecrets.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentContainer/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentContainer/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentContainer/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentVersion/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentVersion/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/EnvironmentVersion/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ExternalFQDN/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/CommandJob/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/CommandJob/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/PipelineJob/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/PipelineJob/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/SweepJob/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/SweepJob/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/cancel.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Job/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelContainer/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelContainer/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelContainer/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelVersion/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelVersion/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/ModelVersion/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Notebook/listKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Notebook/prepare.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/getLogs.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineDeployment/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/getToken.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/OnlineEndpoint/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/PrivateEndpointConnection/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/PrivateEndpointConnection/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/PrivateLinkResource/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Quota/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Quota/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Usage/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/VirtualMachineSize/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/create.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/diagnose.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/listByResourceGroup.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/listBySubscription.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/listKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/resyncKeys.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/Workspace/update.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/WorkspaceConnection/create.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/WorkspaceConnection/delete.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/WorkspaceConnection/get.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/WorkspaceConnection/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/examples/WorkspaceFeature/list.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/machineLearningServices.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/mfe.json (100%) rename specification/{machinelearningservices/resource-manager/Microsoft.MachineLearningServices => machinelearning/resource-manager/Microsoft.MachineLearning}/stable/2021-10-01/workspaceFeatures.json (100%) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchDeployment/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchDeployment/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/listKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/listKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/listKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/BatchEndpoint/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/BatchEndpoint/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeContainer/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeContainer/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/CodeVersion/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/CodeVersion/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentContainer/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentContainer/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ComponentVersion/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ComponentVersion/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/AKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/AmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicAmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/BasicDataFactoryCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstance.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/ComputeInstanceMinimal.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/createOrUpdate/KubernetesCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/AKSCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AKSCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/AKSCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/AmlCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/AmlCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/AmlCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/ComputeInstance.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/ComputeInstance.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/ComputeInstance.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/get/KubernetesCompute.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/listKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/listKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/listNodes.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/listNodes.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/listNodes.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/patch.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/patch.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/patch.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/restart.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/restart.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/restart.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/start.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/start.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/start.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/stop.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Compute/stop.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Compute/stop.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetContainer/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetContainer/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/DatasetVersion/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/DatasetVersion/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureBlobWAccountKey/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureDataLakeGen1WServicePrincipal/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureDataLakeGen2WServicePrincipal/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/AzureFileWAccountKey/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/listSecrets.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Datastore/listSecrets.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Datastore/listSecrets.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentContainer/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentContainer/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/EnvironmentVersion/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/EnvironmentVersion/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ExternalFQDN/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ExternalFQDN/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ExternalFQDN/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/CommandJob/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/CommandJob/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/PipelineJob/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/PipelineJob/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/SweepJob/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/SweepJob/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/cancel.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/cancel.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/cancel.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Job/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Job/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelContainer/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelContainer/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/ModelVersion/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/ModelVersion/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Notebook/listKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/listKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Notebook/listKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Notebook/prepare.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Notebook/prepare.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Notebook/prepare.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/listSkus.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/KubernetesOnlineDeployment/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/listSkus.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/ManagedOnlineDeployment/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/getLogs.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/getLogs.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/getLogs.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineDeployment/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineDeployment/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/getToken.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/getToken.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/getToken.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/listKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/regenerateKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/OnlineEndpoint/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/createOrUpdate.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateEndpointConnection/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateEndpointConnection/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateLinkResource/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/PrivateLinkResource/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/PrivateLinkResource/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Quota/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Quota/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Quota/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Quota/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Quota/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Usage/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Usage/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Usage/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/VirtualMachineSize/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/VirtualMachineSize/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/VirtualMachineSize/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/create.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/create.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/create.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/diagnose.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/diagnose.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/diagnose.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listByResourceGroup.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listByResourceGroup.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listByResourceGroup.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listBySubscription.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listBySubscription.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listBySubscription.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listNotebookAccessToken.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/listStorageAccountKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/resyncKeys.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/resyncKeys.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/resyncKeys.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/update.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/Workspace/update.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/Workspace/update.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/create.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/create.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/create.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/delete.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/delete.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/delete.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/get.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/get.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/get.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceConnection/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceConnection/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceFeature/list.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/examples/WorkspaceFeature/list.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/WorkspaceFeature/list.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/workspaceFeatures.json similarity index 100% rename from specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json rename to specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/workspaceFeatures.json diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 152f7ade7fe8..47635da4c9a5 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -26,6 +26,7 @@ These are the global settings for the MachineLearning API. ``` yaml openapi-type: arm +tag: package-2021-10-01 ``` ``` yaml $(package-webservices) @@ -44,6 +45,26 @@ tag: package-workspaces-2016-04 tag: package-workspaces-2019-10 ``` +### Tag: package-2021-10-01 + +These settings apply only when `--tag=package-2021-10` is specified on the command line. + +```yaml $(tag) == 'package-2021-10-01' +input-file: + - Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json + - Microsoft.MachineLearning/stable/2021-10-01/mfe.json + - Microsoft.MachineLearning/stable/2021-10-01/workspaceFeatures.json +``` + +## Suppression + +``` yaml +directive: + - suppress: R3008 + from: machineLearningServices.json + reason: The pageable itemName override is not considered by the LintDiff check correctly. +``` + ### Tag: package-webservices-2017-01 These settings apply only when `--tag=package-webservices-2017-01` is specified on the command line. From e02c31073dc8e3e8d4e03af087efb08bf7f22bd7 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 25 Jan 2022 12:11:24 -0800 Subject: [PATCH 201/211] remove old README and update suppression --- .../resource-manager/readme.md | 1 + .../resource-manager/readme.md | 22 +------------------ 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 47635da4c9a5..f58ebd77283c 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -62,6 +62,7 @@ input-file: directive: - suppress: R3008 from: machineLearningServices.json + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes"].post reason: The pageable itemName override is not considered by the LintDiff check correctly. ``` diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index eb1789b5afad..8f7987201c4a 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -27,27 +27,7 @@ These are the global settings for the Machine Learning Services API. ``` yaml openapi-type: arm -tag: package-2021-10-01 -``` - -### Tag: package-2021-10-01 - -These settings apply only when `--tag=package-2021-10` is specified on the command line. - -```yaml $(tag) == 'package-2021-10-01' -input-file: - - Microsoft.MachineLearningServices/stable/2021-10-01/machineLearningServices.json - - Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json - - Microsoft.MachineLearningServices/stable/2021-10-01/workspaceFeatures.json -``` - -## Suppression - -``` yaml -directive: - - suppress: R3008 - from: machineLearningServices.json - reason: The pageable itemName override is not considered by the LintDiff check correctly. +tag: package-2021-07-01 ``` ### Tag: package-2022-01-01-preview From d51ba8653106b6f91c27f6d9e53572aa30eb8441 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 25 Jan 2022 12:16:46 -0800 Subject: [PATCH 202/211] update suppression --- specification/machinelearning/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index f58ebd77283c..1859f02be90b 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -62,7 +62,7 @@ input-file: directive: - suppress: R3008 from: machineLearningServices.json - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes"].post + where: $.definitions.AmlComputeNodesInformation reason: The pageable itemName override is not considered by the LintDiff check correctly. ``` From b99c699c06bdf41f0f1192bd2d38369ec2434f86 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 25 Jan 2022 12:22:25 -0800 Subject: [PATCH 203/211] fix --- specification/machinelearning/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 1859f02be90b..4bd8d2f19922 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -62,7 +62,7 @@ input-file: directive: - suppress: R3008 from: machineLearningServices.json - where: $.definitions.AmlComputeNodesInformation + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes"] reason: The pageable itemName override is not considered by the LintDiff check correctly. ``` From 0c91391d3e80f8572f7991b5f3effa7e234ddf9e Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Tue, 25 Jan 2022 12:28:27 -0800 Subject: [PATCH 204/211] fix --- specification/machinelearning/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index 4bd8d2f19922..7d303ca7e9db 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -62,7 +62,7 @@ input-file: directive: - suppress: R3008 from: machineLearningServices.json - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes"] + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/listNodes"].post.responses["200"].schema reason: The pageable itemName override is not considered by the LintDiff check correctly. ``` From ac719743bf10e311f3f11feaafe2edc3bf5f8900 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 26 Jan 2022 13:16:19 -0500 Subject: [PATCH 205/211] remove allowPublicAccess property --- .../Microsoft.MachineLearning/stable/2021-10-01/mfe.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json index 2b54ce1abbeb..e6d94eea924a 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json @@ -8145,11 +8145,6 @@ } ], "properties": { - "allowPublicAccess": { - "description": "Set to true for endpoints that should allow public access when Private Link is enabled.", - "default": true, - "type": "boolean" - }, "compute": { "description": "ARM resource ID of the compute if it exists.\r\noptional", "type": "string", From 81f65b0ba55d0fb783b69ec62c1135da3ea3fb9b Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 26 Jan 2022 13:16:50 -0500 Subject: [PATCH 206/211] add ListViewType and isArchived --- .../stable/2021-10-01/mfe.json | 199 +++++++++++++++++- 1 file changed, 193 insertions(+), 6 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json index e6d94eea924a..fb24719adc54 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json @@ -1308,7 +1308,7 @@ "tags": [ "ComponentContainer" ], - "summary": "List containers.", + "summary": "List component containers.", "operationId": "ComponentContainers_List", "produces": [ "application/json" @@ -1320,6 +1320,22 @@ { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -1530,7 +1546,7 @@ "tags": [ "ComponentVersion" ], - "summary": "List versions.", + "summary": "List component versions.", "operationId": "ComponentVersions_List", "produces": [ "application/json" @@ -1539,7 +1555,7 @@ { "in": "path", "name": "name", - "description": "Container name.", + "description": "Component name.", "required": true, "type": "string" }, @@ -1562,6 +1578,22 @@ { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -1793,7 +1825,7 @@ "tags": [ "DatasetContainer" ], - "summary": "List containers.", + "summary": "List dataset containers.", "operationId": "DatasetContainers_List", "produces": [ "application/json" @@ -1805,6 +1837,22 @@ { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -2053,6 +2101,22 @@ "description": "Comma-separated list of tag names (and optionally values). Example: tag1,tag2=value2", "type": "string" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -2617,7 +2681,7 @@ "tags": [ "EnvironmentContainer" ], - "summary": "List containers.", + "summary": "List environment containers.", "operationId": "EnvironmentContainers_List", "produces": [ "application/json" @@ -2629,6 +2693,22 @@ { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -2871,6 +2951,22 @@ { "$ref": "machineLearningServices.json#/parameters/PaginationParameter" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -3126,6 +3222,22 @@ "description": "Jobs returned will have this tag key.", "type": "string" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -3447,6 +3559,22 @@ "type": "integer", "format": "int32" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -3726,6 +3854,22 @@ "description": "Name of the feed.", "type": "string" }, + { + "in": "query", + "name": "listViewType", + "description": "View type for including/excluding (for example) archived entities.", + "type": "string", + "default": "ActiveOnly", + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + } + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -5169,6 +5313,16 @@ "create", "read" ] + }, + "isArchived": { + "description": "Is the asset archived?", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] } }, "additionalProperties": false @@ -5181,6 +5335,16 @@ } ], "properties": { + "isArchived": { + "description": "Is the asset archived?", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, "latestVersion": { "description": "The latest version inside this container.", "type": "string", @@ -7302,6 +7466,16 @@ ], "x-nullable": true }, + "isArchived": { + "description": "Is the asset archived?", + "default": false, + "type": "boolean", + "x-ms-mutability": [ + "create", + "read", + "update" + ] + }, "jobType": { "description": "Specifies the type of job.", "$ref": "#/definitions/JobType", @@ -7311,7 +7485,7 @@ ] }, "parentJobName": { - "description": "TODO- Parent job name.", + "description": "TODO - Parent job name.", "type": "string", "readOnly": true, "x-ms-mutability": [ @@ -7759,6 +7933,19 @@ "x-ms-discriminator-value": "Kubernetes", "additionalProperties": false }, + "ListViewType": { + "enum": [ + "ActiveOnly", + "ArchivedOnly", + "All" + ], + "type": "string", + "x-ms-enum": { + "name": "ListViewType", + "modelAsString": true + }, + "additionalProperties": false + }, "ManagedIdentity": { "description": "Managed identity configuration.", "type": "object", From 4621309d6164131be5a66b22462703fb469d74b8 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 27 Jan 2022 14:26:53 -0500 Subject: [PATCH 207/211] fix stray /v2 common-types reference --- .../stable/2021-10-01/machineLearningServices.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json index 63c251b539f7..3d367f6ebe37 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json @@ -543,7 +543,7 @@ "default": { "description": "Error response describing why the operation failed.", "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse" } } }, From bd779c64ecc6f3f0a4c5405cc84c377b9d62a001 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 27 Jan 2022 16:51:22 -0500 Subject: [PATCH 208/211] remove allowPublicAccess usage from examples --- .../2021-10-01/examples/OnlineEndpoint/createOrUpdate.json | 3 --- .../stable/2021-10-01/examples/OnlineEndpoint/get.json | 1 - .../stable/2021-10-01/examples/OnlineEndpoint/list.json | 1 - .../stable/2021-10-01/examples/OnlineEndpoint/update.json | 1 - 4 files changed, 6 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json index 129c790cd2a5..90bbcf40955b 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/createOrUpdate.json @@ -13,7 +13,6 @@ }, "authMode": "AMLToken", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } @@ -56,7 +55,6 @@ "authMode": "AMLToken", "provisioningState": "Creating", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } @@ -108,7 +106,6 @@ "authMode": "AMLToken", "provisioningState": "Creating", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json index 8933aab6baaa..61872e6ef19e 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/get.json @@ -23,7 +23,6 @@ "authMode": "AMLToken", "provisioningState": "Creating", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json index 1d20d6ed26aa..cb0a95c5e106 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/list.json @@ -31,7 +31,6 @@ "authMode": "AMLToken", "provisioningState": "Creating", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json index 00b628fc609d..66f39db39f48 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/examples/OnlineEndpoint/update.json @@ -49,7 +49,6 @@ "authMode": "AMLToken", "provisioningState": "Creating", "compute": "string", - "allowPublicAccess": false, "traffic": { "string": 1 } From e16ea0e8a8241c1b2124f1a2a029292ef0f03fb0 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 27 Jan 2022 16:54:34 -0500 Subject: [PATCH 209/211] typo fixes --- .../stable/2021-10-01/machineLearningServices.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json index 3d367f6ebe37..4889c5b94ec6 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/machineLearningServices.json @@ -5000,8 +5000,8 @@ } }, "environment": { - "description": "Enviroment information of this container.", - "$ref": "#/definitions/ComputeInstanceEnviromentInfo" + "description": "Environment information of this container.", + "$ref": "#/definitions/ComputeInstanceEnvironmentInfo" }, "services": { "type": "array", @@ -5013,16 +5013,16 @@ } } }, - "ComputeInstanceEnviromentInfo": { + "ComputeInstanceEnvironmentInfo": { "type": "object", - "description": "Enviroment infomation", + "description": "Environment information", "properties": { "name": { - "description": "name of enviroment.", + "description": "name of environment.", "type": "string" }, "version": { - "description": "version of enviroment.", + "description": "version of environment.", "type": "string" } } From 09689bca5fb5e1bc7b1566eecc06b0c72d0591d9 Mon Sep 17 00:00:00 2001 From: Teddy Date: Thu, 27 Jan 2022 16:57:01 -0500 Subject: [PATCH 210/211] add autosave and unmount to custom-words --- custom-words.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom-words.txt b/custom-words.txt index ef87b11dd63d..9bc3b9d4506a 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -181,6 +181,7 @@ automations autopatching autopool autorest +autosave autoscale autoscaler autoscalesettings @@ -2176,6 +2177,7 @@ unleased unlocalized unmanaged unmonitored +Unmount UNOA UNOB UNOC From 34b28ae8e1daf1062ff67b6d391a21d32a36b20d Mon Sep 17 00:00:00 2001 From: Erik Johnson Date: Fri, 11 Feb 2022 16:13:35 -0600 Subject: [PATCH 211/211] Removed x-ms-long-running-operation-options from MFE spec Removed from 2021-10-01 api version. Only removed for non-POST LRO operations. Non-breaking change to fix autogenerated REST clients. --- .../stable/2021-10-01/mfe.json | 65 ++++--------------- 1 file changed, 13 insertions(+), 52 deletions(-) diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json index fb24719adc54..bc9d09d5cbab 100644 --- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json +++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2021-10-01/mfe.json @@ -138,10 +138,7 @@ "$ref": "./examples/BatchEndpoint/delete.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -276,10 +273,7 @@ "$ref": "./examples/BatchEndpoint/update.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "put": { "tags": [ @@ -360,10 +354,7 @@ "$ref": "./examples/BatchEndpoint/createOrUpdate.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments": { @@ -515,10 +506,7 @@ "$ref": "./examples/BatchDeployment/delete.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -668,10 +656,7 @@ "$ref": "./examples/BatchDeployment/update.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "put": { "tags": [ @@ -760,10 +745,7 @@ "$ref": "./examples/BatchDeployment/createOrUpdate.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/listkeys": { @@ -3349,10 +3331,7 @@ "$ref": "./examples/Job/delete.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -4274,10 +4253,7 @@ "$ref": "./examples/OnlineEndpoint/delete.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -4411,10 +4387,7 @@ "$ref": "./examples/OnlineEndpoint/update.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "put": { "tags": [ @@ -4495,10 +4468,7 @@ "$ref": "./examples/OnlineEndpoint/createOrUpdate.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments": { @@ -4650,10 +4620,7 @@ "$ref": "./examples/OnlineDeployment/delete.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "get": { "tags": [ @@ -4809,10 +4776,7 @@ "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/update.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } + "x-ms-long-running-operation": true }, "put": { "tags": [ @@ -4904,10 +4868,7 @@ "$ref": "./examples/OnlineDeployment/KubernetesOnlineDeployment/createOrUpdate.json" } }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } + "x-ms-long-running-operation": true } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}/getLogs": {